Function at 0x4fa7b0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1e
push 0
push 0
dec ecx
jne 0x4fa7b8
push ebx
push esi
push edi
mov esi, eax
lea eax, [ebp - 0x44]
mov edx, dword [0x40e840]
call fcn.0040923c
mov edi, dword [ebp + 8]
add edi, 0xfffffff8
lea ebx, [ebp - 0x4a]
xor eax, eax
push ebp
push 0x4fb5d3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
call fcn.00407c28
mov byte [ebp - 0x52], 0
mov byte [ebp - 0x53], 2
movzx eax, byte [0x4fb5e4]
mov byte [ebp - 0x54], al
movzx eax, word [0x4fb5e4]
mov word [ebp - 0x56], ax
movzx eax, word [0x4fb5e4]
mov word [ebp - 0x58], ax
movzx eax, word [0x4fb5e4]
mov word [ebp - 0x5a], ax
movzx eax, byte [0x4fb5e4]
mov byte [ebp - 0x5b], al
mov eax, dword [0x4fb5e8]
mov dword [ebp - 6], eax
mov ax, word [0x4fb5ec]
mov word [ebp - 2], ax
movzx eax, byte [0x4fb5e4]
mov byte [ebp - 0x5c], al
movzx eax, byte [0x4fb5e4]
mov byte [ebp - 0x5d], al
mov edx, ebx
mov ecx, 1
mov eax, esi
call fcn.00466cb4
cmp byte [ebx], 0
setne dl
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050878c
mov edx, ebx
mov ecx, 1
mov eax, esi
call fcn.00466cb4
cmp byte [ebx], 0
setne dl
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050874c
lea edx, [ebp - 0x54]
mov ecx, 1
mov eax, esi
call fcn.00466cb4
cmp dword [edi], 0x1f4
jae 0x4fa8d5
lea edx, [ebp - 0x49]
mov ecx, 1
mov eax, esi
call fcn.00466cb4
cmp dword [edi], 0x1c2
jae 0x4fa8cb
movzx eax, byte [ebp - 0x49]
xor al, 1
mov byte [ebp - 0x49], al
cmp byte [ebp - 0x49], 0
jne 0x4fa8d5
mov byte [ebp - 0x53], 0
mov edx, ebx
mov ecx, 1
mov eax, esi
call fcn.00466cb4
cmp byte [ebx], 0
setne dl
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005087c8
cmp dword [edi], 0x1c2
jb 0x4fa9b1
cmp dword [edi], 0x1f4
jae 0x4fa9b1
lea edx, [ebp - 0x49]
mov ecx, 1
mov eax, esi
call fcn.00466cb4
cmp byte [ebp - 0x49], 0
je 0x4fa932
movzx eax, word [0x4fb5f0]
or ax, word [ebp - 0x56]
mov word [ebp - 0x56], ax
jmp 0x4fa943
movzx eax, word [0x4fb5f0]
not eax
and ax, word [ebp - 0x56]
mov word [ebp - 0x56], ax
lea edx, [ebp - 0x49]
mov ecx, 1
mov eax, esi
call fcn.00466cb4
cmp byte [ebp - 0x49], 0
je 0x4fa969
movzx eax, word [0x4fb5f4]
or ax, word [ebp - 0x56]
mov word [ebp - 0x56], ax
jmp 0x4fa97a
movzx eax, word [0x4fb5f4]
not eax
and ax, word [ebp - 0x56]
mov word [ebp - 0x56], ax
lea edx, [ebp - 0x49]
mov ecx, 1
mov eax, esi
call fcn.00466cb4
cmp byte [ebp - 0x49], 0
je 0x4fa9a0
movzx eax, word [0x4fb5f8]
or ax, word [ebp - 0x56]
mov word [ebp - 0x56], ax
jmp 0x4fa9b1
movzx eax, word [0x4fb5f8]
not eax
and ax, word [ebp - 0x56]
mov word [ebp - 0x56], ax
cmp dword [edi], 0x191
jb 0x4faa18
mov edx, ebx
mov ecx, 1
mov eax, esi
call fcn.00466cb4
cmp byte [ebx], 0
setne dl
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00509d7c
mov edx, ebx
mov ecx, 1
mov eax, esi
call fcn.00466cb4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
movzx edx, byte [ebx]
call fcn.00508d50
cmp dword [edi], 0x1770
jae 0x4faa18
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004ff530
cmp al, 3
jne 0x4faa18
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dl, 5
call fcn.00508d50
cmp dword [edi], 0x193
jb 0x4faa5f
cmp dword [edi], 0x1f4
jae 0x4faa5f
lea edx, [ebp - 0x49]
mov ecx, 1
mov eax, esi
call fcn.00466cb4
cmp byte [ebp - 0x49], 0
je 0x4faa4e
movzx eax, word [0x4fb5fc]
or ax, word [ebp - 0x58]
mov word [ebp - 0x58], ax
jmp 0x4faa5f
movzx eax, word [0x4fb5fc]
not eax
and ax, word [ebp - 0x58]
mov word [ebp - 0x58], ax
cmp dword [edi], 0x1a4
jb 0x4fab19
mov edx, ebx
mov ecx, 1
mov eax, esi
call fcn.00466cb4
cmp byte [ebx], 0
setne dl
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea edx, [ebp - 0x50]
mov ecx, 4
mov eax, esi
call fcn.00466cb4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x50]
call fcn.00508e20
cmp dword [edi], 0x1a6
jae 0x4faacf
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004ff608
mov ecx, 0x3e8
cdq
idiv ecx
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00508e20
cmp dword [edi], 0x1770
jae 0x4faae1
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.004fa6b8
cmp dword [edi], 0x1c2
jb 0x4fab01
lea edx, [ebp - 0x64]
mov eax, esi
call fcn.004fa6b8
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050cf24
lea edx, [ebp - 0x68]
mov eax, esi
call fcn.004fa6b8
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050cf58
cmp dword [edi], 0x1c2
jb 0x4fab3f
lea edx, [ebp - 0x4c]
mov ecx, 2
mov eax, esi
call fcn.00466cb4
movzx edx, word [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050cfc8
cmp dword [edi], 0x1a5
jb 0x4fab93
lea edx, [ebp - 0x6c]
mov eax, esi
call fcn.004fa6b8
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050d040
lea edx, [ebp - 0x70]
mov eax, esi
call fcn.004fa6b8
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050cf8c
mov edx, ebx
mov ecx, 1
mov eax, esi
call fcn.00466cb4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
movzx edx, byte [ebx]
call fcn.0050e0e8
cmp dword [edi], 0x1770
jae 0x4fabbd
lea edx, [ebp - 0x49]
mov ecx, 1
mov eax, esi
call fcn.00466cb4
cmp byte [ebp - 0x49], 0
jne 0x4fabbd
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor edx, edx
call fcn.0050e0e8
lea edx, [ebp - 0x50]
mov ecx, 4
mov eax, esi
call fcn.00466cb4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x50]
call fcn.0050eb6c
lea edx, [ebp - 0x50]
mov ecx, 4
mov eax, esi
call fcn.00466cb4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x50]
call fcn.0050ebbc
lea edx, [ebp - 0x74]
mov eax, esi
call fcn.004fa6b8
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050e178
lea edx, [ebp - 0x78]
mov eax, esi
call fcn.004fa6b8
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050e298
mov edx, ebx
mov ecx, 1
mov eax, esi
call fcn.00466cb4
movzx eax, byte [ebx]
mov byte [ebp - 0x51], al
cmp dword [edi], 0x1c2
jae 0x4fac67
cmp byte [ebp - 0x51], 0
je 0x4fac67
lea edx, [ebp - 0x7c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00504ef8
cmp dword [ebp - 0x7c], 0
je 0x4fac63
mov byte [ebp - 0x51], 2
jmp 0x4fac67
mov byte [ebp - 0x51], 1
cmp dword [edi], 0x1f4
jae 0x4fad1d
lea edx, [ebp - 6]
mov ecx, 4
mov eax, esi
call fcn.00466cb4
lea edx, [ebp - 0x10]
lea eax, [ebp - 6]
call fcn.004fa548
lea edx, [ebp - 0x10]
mov ecx, 5
mov eax, 0x4fb60c
call fcn.00408e3c
lea edx, [ebp - 0x10]
mov ecx, 0xa
mov eax, 0x4fb620
call fcn.00408e3c
lea edx, [ebp - 0x10]
mov ecx, 0xd
mov eax, 0x4fb630
call fcn.00408e3c
lea edx, [ebp - 0x10]
mov ecx, 0x17
mov eax, 0x4fb630
call fcn.00408e3c
lea edx, [ebp - 0x10]
mov ecx, 0x1f
mov eax, 0x4fb648
call fcn.00408e3c
lea edx, [ebp - 0x10]
mov ecx, 0x2a
mov eax, 0x4fb664
call fcn.00408e3c
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 0x10]
call fcn.004fa5e0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 6], eax
mov ax, word [ebp - 0x80]
mov word [ebp - 2], ax
jmp 0x4fadf1
cmp dword [edi], 0x1770
jae 0x4fade2
lea edx, [ebp - 6]
mov ecx, 5
mov eax, esi
call fcn.00466cb4
lea edx, [ebp - 0x10]
lea eax, [ebp - 6]
call fcn.004fa548
lea edx, [ebp - 0x10]
mov ecx, 6
mov eax, 0x4fb620
call fcn.00408e3c
lea edx, [ebp - 0x10]
mov ecx, 0xa
mov eax, 0x4fb620
call fcn.00408e3c
lea edx, [ebp - 0x10]
mov ecx, 0xd
mov eax, 0x4fb630
call fcn.00408e3c
lea edx, [ebp - 0x10]
mov ecx, 0x17
mov eax, 0x4fb630
call fcn.00408e3c
lea edx, [ebp - 0x10]
mov ecx, 0x22
mov eax, 0x4fb680
call fcn.00408e3c
lea edx, [ebp - 0x10]
mov ecx, 0x29
mov eax, 0x4fb620
call fcn.00408e3c
lea edx, [ebp - 0x10]
mov ecx, 0x30
mov eax, 0x4fb620
call fcn.00408e3c
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 0x10]
call fcn.004fa5e0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 6], eax
mov ax, word [ebp - 0x80]
mov word [ebp - 2], ax
jmp 0x4fadf1
lea edx, [ebp - 6]
mov ecx, 6
mov eax, esi
call fcn.00466cb4
cmp dword [edi], 0x1c2
jae 0x4fae07
mov edx, ebx
mov ecx, 1
mov eax, esi
call fcn.00466cb4
lea edx, [ebp - 0x88]
mov eax, esi
call fcn.004fa6b8
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005099a8
cmp dword [edi], 0x1f4
jb 0x4fb1ad
mov edx, ebx
mov ecx, 1
mov eax, esi
call fcn.00466cb4
movzx eax, byte [ebx]
mov byte [ebp - 0x52], al
lea edx, [ebp - 0x8c]
mov eax, esi
call fcn.004fa6b8
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050e604
lea edx, [ebp - 0x90]
mov eax, esi
call fcn.004fa6b8
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050e634
lea edx, [ebp - 0x94]
mov eax, esi
call fcn.004fa6b8
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050e4cc
lea edx, [ebp - 0x50]
mov ecx, 4
mov eax, esi
call fcn.00466cb4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x50]
call fcn.0050e504
lea edx, [ebp - 0x98]
mov eax, esi
call fcn.004fa6b8
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00508834
lea edx, [ebp - 0x56]
mov ecx, 2
mov eax, esi
call fcn.00466cb4
cmp dword [edi], 0x1770
jae 0x4faf02
movzx eax, word [0x4fb688]
not eax
and ax, word [ebp - 0x56]
mov word [ebp - 0x56], ax
cmp dword [edi], 0x1770
jb 0x4faf1b
lea edx, [ebp - 0x58]
mov ecx, 2
mov eax, esi
call fcn.00466cb4
jmp 0x4faf2a
lea edx, [ebp - 0x58]
mov ecx, 1
mov eax, esi
call fcn.00466cb4
lea edx, [ebp - 0x50]
mov ecx, 4
mov eax, esi
call fcn.00466cb4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x50]
call fcn.00508870
lea edx, [ebp - 0x9c]
mov eax, esi
call fcn.004fa6b8
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050e064
lea edx, [ebp - 0xa0]
mov eax, esi
call fcn.004fa6b8
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00508e9c
lea edx, [ebp - 0x5c]
mov ecx, 1
mov eax, esi
call fcn.00466cb4
cmp dword [edi], 0x1770
jae 0x4fafa7
movzx eax, byte [0x4fb5f4]
or al, byte [ebp - 0x5c]
mov byte [ebp - 0x5c], al
cmp dword [edi], 0x1770
jb 0x4fafcf
lea edx, [ebp - 0x5a]
mov ecx, 2
mov eax, esi
call fcn.00466cb4
lea edx, [ebp - 0x5b]
mov ecx, 1
mov eax, esi
call fcn.00466cb4
jmp 0x4fafde
lea edx, [ebp - 0x5a]
mov ecx, 1
mov eax, esi
call fcn.00466cb4
mov edx, ebx
mov ecx, 1
mov eax, esi
call fcn.00466cb4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
movzx edx, byte [ebx]
call fcn.0050893c
lea edx, [ebp - 0x50]
mov ecx, 4
mov eax, esi
call fcn.00466cb4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x50]
call fcn.005088fc
lea edx, [ebp - 0x50]
mov ecx, 4
mov eax, esi
call fcn.00466cb4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x50]
call fcn.005088b8
cmp dword [edi], 0x1770
jb 0x4fb1ad
lea edx, [ebp - 0x5d]
mov ecx, 1
mov eax, esi
call fcn.00466cb4
mov edx, ebx
mov ecx, 1
mov eax, esi
call fcn.00466cb4
movzx eax, byte [ebx]
mov byte [ebp - 0x53], al
lea edx, [ebp - 0xa4]
mov eax, esi
call fcn.004fa6b8
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00509d14
lea edx, [ebp - 0xa8]
mov eax, esi
call fcn.004fa6b8
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00509d48
lea edx, [ebp - 0xac]
mov eax, esi
call fcn.004fa6b8
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00509ca4
lea edx, [ebp - 0x4c]
mov ecx, 2
mov eax, esi
call fcn.00466cb4
movzx edx, word [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00509ce0
lea edx, [ebp - 0xb0]
mov eax, esi
call fcn.004fa6b8
mov edx, dword [ebp - 0xb0]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050e40c
lea edx, [ebp - 0xb4]
mov eax, esi
call fcn.004fa6b8
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050e354
lea edx, [ebp - 0xb8]
mov eax, esi
call fcn.004fa6b8
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050e2d4
lea edx, [ebp - 0xbc]
mov eax, esi
call fcn.004fa6b8
mov edx, dword [ebp - 0xbc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050e394
lea edx, [ebp - 0xc0]
mov eax, esi
call fcn.004fa6b8
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050e314
lea edx, [ebp - 0xc4]
mov eax, esi
call fcn.004fa6b8
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050e3d0
lea edx, [ebp - 0xc8]
mov eax, esi
call fcn.004fa6b8
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050ead0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x364]
call fcn.004f615c
lea edx, [ebp - 0x48]
mov ecx, 4
mov eax, esi
call fcn.00466cb4
mov ebx, dword [ebp - 0x48]
dec ebx
test ebx, ebx
jl 0x4fb3e9
inc ebx
lea eax, [ebp - 0x44]
mov edx, dword [0x40e840]
call fcn.00409474
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x30
call fcn.004052b4
cmp dword [edi], 0x1770
jb 0x4fb210
lea edx, [ebp - 0x44]
mov ecx, 1
mov eax, esi
call fcn.00466cb4
jmp 0x4fb214
mov byte [ebp - 0x44], 1
lea edx, [ebp - 0xcc]
mov eax, esi
call fcn.004fa6b8
mov edx, dword [ebp - 0xcc]
lea eax, [ebp - 0x43]
call fcn.00408050
lea edx, [ebp - 0xd0]
mov eax, esi
call fcn.004fa6b8
mov edx, dword [ebp - 0xd0]
lea eax, [ebp - 0x2a]
call fcn.00408050
cmp dword [edi], 0x1770
jb 0x4fb399
lea edx, [ebp - 0x3f]
mov ecx, 1
mov eax, esi
call fcn.00466cb4
cmp dword [edi], 0x1b58
jb 0x4fb28a
lea edx, [ebp - 0xd4]
mov eax, esi
call fcn.004fa6b8
mov edx, dword [ebp - 0xd4]
lea eax, [ebp - 0x26]
call fcn.00408050
jmp case.default.0x4fb2a2
lea edx, [ebp - 0x5e]
mov ecx, 1
mov eax, esi
call fcn.00466cb4
movzx eax, byte [ebp - 0x5e]
cmp eax, 4
ja case.default.0x4fb2a2
jmp dword [eax*4 + 0x4fb2a9]
lea eax, [ebp - 0x26]
call fcn.00407c28
jmp case.default.0x4fb2a2
lea eax, [ebp - 0x26]
mov edx, 0x4fb698
call fcn.00408050
jmp case.default.0x4fb2a2
lea eax, [ebp - 0x26]
mov edx, 0x4fb6a8
call fcn.00408050
jmp case.default.0x4fb2a2
lea eax, [ebp - 0x26]
mov edx, 0x4fb6d8
call fcn.00408050
jmp case.default.0x4fb2a2
lea eax, [ebp - 0x26]
mov edx, 0x4fb708
call fcn.00408050
lea edx, [ebp - 0x22]
mov ecx, 1
mov eax, esi
call fcn.00466cb4
lea edx, [ebp - 0x21]
mov ecx, 1
mov eax, esi
call fcn.00466cb4
cmp dword [edi], 0x1b58
jb 0x4fb3ce
lea edx, [ebp - 0xd8]
mov eax, esi
call fcn.004fa6b8
mov edx, dword [ebp - 0xd8]
lea eax, [ebp - 0x3e]
call fcn.00408050
lea edx, [ebp - 0xdc]
mov eax, esi
call fcn.004fa6b8
mov edx, dword [ebp - 0xdc]
lea eax, [ebp - 0x3a]
call fcn.00408050
lea edx, [ebp - 0xe0]
mov eax, esi
call fcn.004fa6b8
mov edx, dword [ebp - 0xe0]
lea eax, [ebp - 0x36]
call fcn.00408050
lea edx, [ebp - 0xe4]
mov eax, esi
call fcn.004fa6b8
mov edx, dword [ebp - 0xe4]
lea eax, [ebp - 0x32]
call fcn.00408050
jmp 0x4fb3ce
cmp dword [ebp - 0x2a], 0
jne 0x4fb3b5
mov byte [ebp - 0x3f], 2
lea eax, [ebp - 0x26]
call fcn.00407c28
mov byte [ebp - 0x22], 0
mov byte [ebp - 0x21], 0
jmp 0x4fb3ce
mov byte [ebp - 0x3f], 2
lea eax, [ebp - 0x26]
mov edx, 0x4fb6a8
call fcn.00408050
mov byte [ebp - 0x22], 0
mov byte [ebp - 0x21], 0
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x364]
call fcn.004f5f04
dec ebx
jne 0x4fb1da
lea edx, [ebp - 0xe8]
mov eax, esi
call fcn.004fa6b8
mov edx, dword [ebp - 0xe8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050e1b4
xor ebx, ebx
movzx eax, bl
sub eax, 0x44
jne 0x4fb423
cmp dword [edi], 0x1770
jae 0x4fb423
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.004fa6b8
cmp bl, 0x14
jne 0x4fb434
cmp dword [edi], 0x1a4
jb 0x4fb508
cmp bl, 0x13
jne 0x4fb445
cmp dword [edi], 0x1a5
jb 0x4fb508
mov eax, ebx
add al, 0xf8
cmp al, 0x4f
ja 0x4fb458
and eax, 0x7f
bt word [0x4fb72c], ax
jae 0x4fb466
cmp dword [edi], 0x1c2
jb 0x4fb508
cmp bl, 0x6e
jb 0x4fb477
cmp dword [edi], 0x1c2
jb 0x4fb508
movzx eax, bl
add eax, 0xffffffd1
sub eax, 2
jae 0x4fb48a
cmp dword [edi], 0x1c2
jb 0x4fb508
mov eax, ebx
add al, 0xe8
cmp al, 0x7f
ja 0x4fb49c
movzx eax, al
bt dword [0x4fb738], eax
jae 0x4fb4a6
cmp dword [edi], 0x1f4
jb 0x4fb508
movzx eax, bl
sub eax, 0x29
jne 0x4fb4b6
cmp dword [edi], 0x1770
jb 0x4fb508
mov eax, ebx
add al, 0xef
sub al, 2
jae 0x4fb4ce
cmp dword [edi], 0x1f4
jb 0x4fb4ce
cmp dword [edi], 0x1770
jb 0x4fb508
mov eax, ebx
cmp al, 0x9f
ja 0x4fb4de
movzx eax, al
bt dword [0x4fb748], eax
jae 0x4fb4e8
cmp dword [edi], 0x1770
jb 0x4fb508
lea edx, [ebp - 0xec]
mov eax, esi
call fcn.004fa6b8
mov ecx, dword [ebp - 0xec]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, ebx
call fcn.0050711c
inc ebx
cmp bl, 0x9e
jne 0x4fb409
cmp dword [edi], 0x1770
jb 0x4fb538
lea edx, [ebp - 0xf0]
mov eax, esi
call fcn.004fa6b8
mov edx, dword [ebp - 0xf0]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050e138
cmp dword [ebp - 0x14], 0
je 0x4fb54e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 0x14]
mov dl, 0x9c
call fcn.0050711c
movzx eax, byte [ebp - 0x53]
push eax
movzx eax, byte [ebp - 0x54]
push eax
movzx eax, word [ebp - 0x56]
push eax
movzx eax, word [ebp - 0x58]
push eax
movzx eax, word [ebp - 0x5a]
push eax
movzx eax, byte [ebp - 0x5b]
push eax
lea eax, [ebp - 6]
push eax
movzx eax, byte [ebp - 0x5c]
push eax
movzx eax, byte [ebp - 0x5d]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
movzx ecx, byte [ebp - 0x52]
movzx edx, byte [ebp - 0x51]
call fcn.004f9afc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fb5da
lea eax, [ebp - 0xf0]
mov edx, 0x1b
call fcn.00407c88
lea eax, [ebp - 0x7c]
mov edx, 7
call fcn.00407c88
lea eax, [ebp - 0x44]
mov edx, dword [0x40e840]
call fcn.00409314
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00407c88
ret