Function at 0x47f28c
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1e
push 0
push 0
dec ecx
jne 0x47f294
push ebx
push esi
push edi
mov esi, eax
lea eax, [ebp - 0x44]
mov edx, dword [0x4094ec]
call fcn.00405c60
mov edi, dword [ebp + 8]
add edi, 0xfffffff8
lea ebx, [ebp - 0x4a]
xor eax, eax
push ebp
push 0x4800ae
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
call fcn.0040502c
mov byte [ebp - 0x52], 0
mov byte [ebp - 0x53], 2
movzx eax, byte [0x4800bc]
mov byte [ebp - 0x54], al
movzx eax, word [0x4800bc]
mov word [ebp - 0x56], ax
movzx eax, word [0x4800bc]
mov word [ebp - 0x58], ax
movzx eax, word [0x4800bc]
mov word [ebp - 0x5a], ax
movzx eax, byte [0x4800bc]
mov byte [ebp - 0x5b], al
mov eax, dword [0x4800c0]
mov dword [ebp - 6], eax
mov ax, word [0x4800c4]
mov word [ebp - 2], ax
movzx eax, byte [0x4800bc]
mov byte [ebp - 0x5c], al
movzx eax, byte [0x4800bc]
mov byte [ebp - 0x5d], al
mov edx, ebx
mov ecx, 1
mov eax, esi
call fcn.0043e694
cmp byte [ebx], 0
setne dl
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00489a8c
mov edx, ebx
mov ecx, 1
mov eax, esi
call fcn.0043e694
cmp byte [ebx], 0
setne dl
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00489a60
lea edx, [ebp - 0x54]
mov ecx, 1
mov eax, esi
call fcn.0043e694
cmp dword [edi], 0x1f4
jae 0x47f3b1
lea edx, [ebp - 0x49]
mov ecx, 1
mov eax, esi
call fcn.0043e694
cmp dword [edi], 0x1c2
jae 0x47f3a7
movzx eax, byte [ebp - 0x49]
xor al, 1
mov byte [ebp - 0x49], al
cmp byte [ebp - 0x49], 0
jne 0x47f3b1
mov byte [ebp - 0x53], 0
mov edx, ebx
mov ecx, 1
mov eax, esi
call fcn.0043e694
cmp byte [ebx], 0
setne dl
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00489abc
cmp dword [edi], 0x1c2
jb 0x47f48d
cmp dword [edi], 0x1f4
jae 0x47f48d
lea edx, [ebp - 0x49]
mov ecx, 1
mov eax, esi
call fcn.0043e694
cmp byte [ebp - 0x49], 0
je 0x47f40e
movzx eax, word [0x4800c8]
or ax, word [ebp - 0x56]
mov word [ebp - 0x56], ax
jmp 0x47f41f
movzx eax, word [0x4800c8]
not eax
and ax, word [ebp - 0x56]
mov word [ebp - 0x56], ax
lea edx, [ebp - 0x49]
mov ecx, 1
mov eax, esi
call fcn.0043e694
cmp byte [ebp - 0x49], 0
je 0x47f445
movzx eax, word [0x4800cc]
or ax, word [ebp - 0x56]
mov word [ebp - 0x56], ax
jmp 0x47f456
movzx eax, word [0x4800cc]
not eax
and ax, word [ebp - 0x56]
mov word [ebp - 0x56], ax
lea edx, [ebp - 0x49]
mov ecx, 1
mov eax, esi
call fcn.0043e694
cmp byte [ebp - 0x49], 0
je 0x47f47c
movzx eax, word [0x4800d0]
or ax, word [ebp - 0x56]
mov word [ebp - 0x56], ax
jmp 0x47f48d
movzx eax, word [0x4800d0]
not eax
and ax, word [ebp - 0x56]
mov word [ebp - 0x56], ax
cmp dword [edi], 0x191
jb 0x47f4f4
mov edx, ebx
mov ecx, 1
mov eax, esi
call fcn.0043e694
cmp byte [ebx], 0
setne dl
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048a8d8
mov edx, ebx
mov ecx, 1
mov eax, esi
call fcn.0043e694
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
movzx edx, byte [ebx]
call fcn.00489e74
cmp dword [edi], 0x1770
jae 0x47f4f4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004832a0
cmp al, 3
jne 0x47f4f4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dl, 5
call fcn.00489e74
cmp dword [edi], 0x193
jb 0x47f53b
cmp dword [edi], 0x1f4
jae 0x47f53b
lea edx, [ebp - 0x49]
mov ecx, 1
mov eax, esi
call fcn.0043e694
cmp byte [ebp - 0x49], 0
je 0x47f52a
movzx eax, word [0x4800d4]
or ax, word [ebp - 0x58]
mov word [ebp - 0x58], ax
jmp 0x47f53b
movzx eax, word [0x4800d4]
not eax
and ax, word [ebp - 0x58]
mov word [ebp - 0x58], ax
cmp dword [edi], 0x1a4
jb 0x47f5f5
mov edx, ebx
mov ecx, 1
mov eax, esi
call fcn.0043e694
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.0043e694
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x50]
call fcn.00489f00
cmp dword [edi], 0x1a6
jae 0x47f5ab
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00483334
mov ecx, 0x3e8
cdq
idiv ecx
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00489f00
cmp dword [edi], 0x1770
jae 0x47f5bd
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.0047f19c
cmp dword [edi], 0x1c2
jb 0x47f5dd
lea edx, [ebp - 0x64]
mov eax, esi
call fcn.0047f19c
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048ce90
lea edx, [ebp - 0x68]
mov eax, esi
call fcn.0047f19c
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048ceb8
cmp dword [edi], 0x1c2
jb 0x47f61b
lea edx, [ebp - 0x4c]
mov ecx, 2
mov eax, esi
call fcn.0043e694
movzx edx, word [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048cf0c
cmp dword [edi], 0x1a5
jb 0x47f66f
lea edx, [ebp - 0x6c]
mov eax, esi
call fcn.0047f19c
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048cf64
lea edx, [ebp - 0x70]
mov eax, esi
call fcn.0047f19c
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048cee0
mov edx, ebx
mov ecx, 1
mov eax, esi
call fcn.0043e694
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
movzx edx, byte [ebx]
call fcn.0048db48
cmp dword [edi], 0x1770
jae 0x47f699
lea edx, [ebp - 0x49]
mov ecx, 1
mov eax, esi
call fcn.0043e694
cmp byte [ebp - 0x49], 0
jne 0x47f699
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor edx, edx
call fcn.0048db48
lea edx, [ebp - 0x50]
mov ecx, 4
mov eax, esi
call fcn.0043e694
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x50]
call fcn.0048e2a8
lea edx, [ebp - 0x50]
mov ecx, 4
mov eax, esi
call fcn.0043e694
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x50]
call fcn.0048e2e8
lea edx, [ebp - 0x74]
mov eax, esi
call fcn.0047f19c
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048dba8
lea edx, [ebp - 0x78]
mov eax, esi
call fcn.0047f19c
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048dca4
mov edx, ebx
mov ecx, 1
mov eax, esi
call fcn.0043e694
movzx eax, byte [ebx]
mov byte [ebp - 0x51], al
cmp dword [edi], 0x1c2
jae 0x47f743
cmp byte [ebp - 0x51], 0
je 0x47f743
lea edx, [ebp - 0x7c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004872f0
cmp dword [ebp - 0x7c], 0
je 0x47f73f
mov byte [ebp - 0x51], 2
jmp 0x47f743
mov byte [ebp - 0x51], 1
cmp dword [edi], 0x1f4
jae 0x47f7f9
lea edx, [ebp - 6]
mov ecx, 4
mov eax, esi
call fcn.0043e694
lea edx, [ebp - 0x10]
lea eax, [ebp - 6]
call fcn.0047f02c
lea edx, [ebp - 0x10]
mov ecx, 5
mov eax, 0x4800e0
call fcn.004055f4
lea edx, [ebp - 0x10]
mov ecx, 0xa
mov eax, 0x4800ec
call fcn.004055f4
lea edx, [ebp - 0x10]
mov ecx, 0xd
mov eax, 0x4800f8
call fcn.004055f4
lea edx, [ebp - 0x10]
mov ecx, 0x17
mov eax, 0x4800f8
call fcn.004055f4
lea edx, [ebp - 0x10]
mov ecx, 0x1f
mov eax, 0x480108
call fcn.004055f4
lea edx, [ebp - 0x10]
mov ecx, 0x2a
mov eax, 0x480118
call fcn.004055f4
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 0x10]
call fcn.0047f0c4
mov eax, dword [ebp - 0x84]
mov dword [ebp - 6], eax
mov ax, word [ebp - 0x80]
mov word [ebp - 2], ax
jmp 0x47f8cd
cmp dword [edi], 0x1770
jae 0x47f8be
lea edx, [ebp - 6]
mov ecx, 5
mov eax, esi
call fcn.0043e694
lea edx, [ebp - 0x10]
lea eax, [ebp - 6]
call fcn.0047f02c
lea edx, [ebp - 0x10]
mov ecx, 6
mov eax, 0x4800ec
call fcn.004055f4
lea edx, [ebp - 0x10]
mov ecx, 0xa
mov eax, 0x4800ec
call fcn.004055f4
lea edx, [ebp - 0x10]
mov ecx, 0xd
mov eax, 0x4800f8
call fcn.004055f4
lea edx, [ebp - 0x10]
mov ecx, 0x17
mov eax, 0x4800f8
call fcn.004055f4
lea edx, [ebp - 0x10]
mov ecx, 0x22
mov eax, 0x480128
call fcn.004055f4
lea edx, [ebp - 0x10]
mov ecx, 0x29
mov eax, 0x4800ec
call fcn.004055f4
lea edx, [ebp - 0x10]
mov ecx, 0x30
mov eax, 0x4800ec
call fcn.004055f4
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 0x10]
call fcn.0047f0c4
mov eax, dword [ebp - 0x84]
mov dword [ebp - 6], eax
mov ax, word [ebp - 0x80]
mov word [ebp - 2], ax
jmp 0x47f8cd
lea edx, [ebp - 6]
mov ecx, 6
mov eax, esi
call fcn.0043e694
cmp dword [edi], 0x1c2
jae 0x47f8e3
mov edx, ebx
mov ecx, 1
mov eax, esi
call fcn.0043e694
lea edx, [ebp - 0x88]
mov eax, esi
call fcn.0047f19c
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048a6e4
cmp dword [edi], 0x1f4
jb 0x47fc89
mov edx, ebx
mov ecx, 1
mov eax, esi
call fcn.0043e694
movzx eax, byte [ebx]
mov byte [ebp - 0x52], al
lea edx, [ebp - 0x8c]
mov eax, esi
call fcn.0047f19c
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048df44
lea edx, [ebp - 0x90]
mov eax, esi
call fcn.0047f19c
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048df68
lea edx, [ebp - 0x94]
mov eax, esi
call fcn.0047f19c
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048de34
lea edx, [ebp - 0x50]
mov ecx, 4
mov eax, esi
call fcn.0043e694
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x50]
call fcn.0048de5c
lea edx, [ebp - 0x98]
mov eax, esi
call fcn.0047f19c
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00489b0c
lea edx, [ebp - 0x56]
mov ecx, 2
mov eax, esi
call fcn.0043e694
cmp dword [edi], 0x1770
jae 0x47f9de
movzx eax, word [0x48012c]
not eax
and ax, word [ebp - 0x56]
mov word [ebp - 0x56], ax
cmp dword [edi], 0x1770
jb 0x47f9f7
lea edx, [ebp - 0x58]
mov ecx, 2
mov eax, esi
call fcn.0043e694
jmp 0x47fa06
lea edx, [ebp - 0x58]
mov ecx, 1
mov eax, esi
call fcn.0043e694
lea edx, [ebp - 0x50]
mov ecx, 4
mov eax, esi
call fcn.0043e694
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x50]
call fcn.00489b38
lea edx, [ebp - 0x9c]
mov eax, esi
call fcn.0047f19c
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048daec
lea edx, [ebp - 0xa0]
mov eax, esi
call fcn.0047f19c
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00489f58
lea edx, [ebp - 0x5c]
mov ecx, 1
mov eax, esi
call fcn.0043e694
cmp dword [edi], 0x1770
jae 0x47fa83
movzx eax, byte [0x4800cc]
or al, byte [ebp - 0x5c]
mov byte [ebp - 0x5c], al
cmp dword [edi], 0x1770
jb 0x47faab
lea edx, [ebp - 0x5a]
mov ecx, 2
mov eax, esi
call fcn.0043e694
lea edx, [ebp - 0x5b]
mov ecx, 1
mov eax, esi
call fcn.0043e694
jmp 0x47faba
lea edx, [ebp - 0x5a]
mov ecx, 1
mov eax, esi
call fcn.0043e694
mov edx, ebx
mov ecx, 1
mov eax, esi
call fcn.0043e694
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
movzx edx, byte [ebx]
call fcn.00489bc4
lea edx, [ebp - 0x50]
mov ecx, 4
mov eax, esi
call fcn.0043e694
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x50]
call fcn.00489b98
lea edx, [ebp - 0x50]
mov ecx, 4
mov eax, esi
call fcn.0043e694
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x50]
call fcn.00489b68
cmp dword [edi], 0x1770
jb 0x47fc89
lea edx, [ebp - 0x5d]
mov ecx, 1
mov eax, esi
call fcn.0043e694
mov edx, ebx
mov ecx, 1
mov eax, esi
call fcn.0043e694
movzx eax, byte [ebx]
mov byte [ebp - 0x53], al
lea edx, [ebp - 0xa4]
mov eax, esi
call fcn.0047f19c
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048a888
lea edx, [ebp - 0xa8]
mov eax, esi
call fcn.0047f19c
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048a8b0
lea edx, [ebp - 0xac]
mov eax, esi
call fcn.0047f19c
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048a834
lea edx, [ebp - 0x4c]
mov ecx, 2
mov eax, esi
call fcn.0043e694
movzx edx, word [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048a860
lea edx, [ebp - 0xb0]
mov eax, esi
call fcn.0047f19c
mov edx, dword [ebp - 0xb0]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048ddac
lea edx, [ebp - 0xb4]
mov eax, esi
call fcn.0047f19c
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048dd28
lea edx, [ebp - 0xb8]
mov eax, esi
call fcn.0047f19c
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048dcd0
lea edx, [ebp - 0xbc]
mov eax, esi
call fcn.0047f19c
mov edx, dword [ebp - 0xbc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048dd54
lea edx, [ebp - 0xc0]
mov eax, esi
call fcn.0047f19c
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048dcfc
lea edx, [ebp - 0xc4]
mov eax, esi
call fcn.0047f19c
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048dd80
lea edx, [ebp - 0xc8]
mov eax, esi
call fcn.0047f19c
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048e280
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x364]
call fcn.0047bba4
lea edx, [ebp - 0x48]
mov ecx, 4
mov eax, esi
call fcn.0043e694
mov ebx, dword [ebp - 0x48]
dec ebx
test ebx, ebx
jl 0x47fec5
inc ebx
lea eax, [ebp - 0x44]
mov edx, dword [0x4094ec]
call fcn.00405e68
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x30
call fcn.004038b8
cmp dword [edi], 0x1770
jb 0x47fcec
lea edx, [ebp - 0x44]
mov ecx, 1
mov eax, esi
call fcn.0043e694
jmp 0x47fcf0
mov byte [ebp - 0x44], 1
lea edx, [ebp - 0xcc]
mov eax, esi
call fcn.0047f19c
mov edx, dword [ebp - 0xcc]
lea eax, [ebp - 0x43]
call fcn.004050c4
lea edx, [ebp - 0xd0]
mov eax, esi
call fcn.0047f19c
mov edx, dword [ebp - 0xd0]
lea eax, [ebp - 0x2a]
call fcn.004050c4
cmp dword [edi], 0x1770
jb 0x47fe75
lea edx, [ebp - 0x3f]
mov ecx, 1
mov eax, esi
call fcn.0043e694
cmp dword [edi], 0x1b58
jb 0x47fd66
lea edx, [ebp - 0xd4]
mov eax, esi
call fcn.0047f19c
mov edx, dword [ebp - 0xd4]
lea eax, [ebp - 0x26]
call fcn.004050c4
jmp case.default.0x47fd7e
lea edx, [ebp - 0x5e]
mov ecx, 1
mov eax, esi
call fcn.0043e694
movzx eax, byte [ebp - 0x5e]
cmp eax, 4
ja case.default.0x47fd7e
jmp dword [eax*4 + 0x47fd85]
lea eax, [ebp - 0x26]
call fcn.0040502c
jmp case.default.0x47fd7e
lea eax, [ebp - 0x26]
mov edx, 0x480138
call fcn.004050c4
jmp case.default.0x47fd7e
lea eax, [ebp - 0x26]
mov edx, 0x480144
call fcn.004050c4
jmp case.default.0x47fd7e
lea eax, [ebp - 0x26]
mov edx, 0x480160
call fcn.004050c4
jmp case.default.0x47fd7e
lea eax, [ebp - 0x26]
mov edx, 0x48017c
call fcn.004050c4
lea edx, [ebp - 0x22]
mov ecx, 1
mov eax, esi
call fcn.0043e694
lea edx, [ebp - 0x21]
mov ecx, 1
mov eax, esi
call fcn.0043e694
cmp dword [edi], 0x1b58
jb 0x47feaa
lea edx, [ebp - 0xd8]
mov eax, esi
call fcn.0047f19c
mov edx, dword [ebp - 0xd8]
lea eax, [ebp - 0x3e]
call fcn.004050c4
lea edx, [ebp - 0xdc]
mov eax, esi
call fcn.0047f19c
mov edx, dword [ebp - 0xdc]
lea eax, [ebp - 0x3a]
call fcn.004050c4
lea edx, [ebp - 0xe0]
mov eax, esi
call fcn.0047f19c
mov edx, dword [ebp - 0xe0]
lea eax, [ebp - 0x36]
call fcn.004050c4
lea edx, [ebp - 0xe4]
mov eax, esi
call fcn.0047f19c
mov edx, dword [ebp - 0xe4]
lea eax, [ebp - 0x32]
call fcn.004050c4
jmp 0x47feaa
cmp dword [ebp - 0x2a], 0
jne 0x47fe91
mov byte [ebp - 0x3f], 2
lea eax, [ebp - 0x26]
call fcn.0040502c
mov byte [ebp - 0x22], 0
mov byte [ebp - 0x21], 0
jmp 0x47feaa
mov byte [ebp - 0x3f], 2
lea eax, [ebp - 0x26]
mov edx, 0x480144
call fcn.004050c4
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.0047b94c
dec ebx
jne 0x47fcb6
lea edx, [ebp - 0xe8]
mov eax, esi
call fcn.0047f19c
mov edx, dword [ebp - 0xe8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048dbd4
xor ebx, ebx
movzx eax, bl
sub eax, 0x44
jne 0x47feff
cmp dword [edi], 0x1770
jae 0x47feff
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.0047f19c
cmp bl, 0x14
jne 0x47ff10
cmp dword [edi], 0x1a4
jb 0x47ffe3
cmp bl, 0x13
jne 0x47ff21
cmp dword [edi], 0x1a5
jb 0x47ffe3
mov eax, ebx
add al, 0xf8
cmp al, 0x4f
ja 0x47ff33
and eax, 0x7f
bt dword [0x480190], eax
jae 0x47ff41
cmp dword [edi], 0x1c2
jb 0x47ffe3
cmp bl, 0x6e
jb 0x47ff52
cmp dword [edi], 0x1c2
jb 0x47ffe3
movzx eax, bl
add eax, 0xffffffd1
sub eax, 2
jae 0x47ff65
cmp dword [edi], 0x1c2
jb 0x47ffe3
mov eax, ebx
add al, 0xe8
cmp al, 0x7f
ja 0x47ff77
movzx eax, al
bt dword [0x48019c], eax
jae 0x47ff81
cmp dword [edi], 0x1f4
jb 0x47ffe3
movzx eax, bl
sub eax, 0x29
jne 0x47ff91
cmp dword [edi], 0x1770
jb 0x47ffe3
mov eax, ebx
add al, 0xef
sub al, 2
jae 0x47ffa9
cmp dword [edi], 0x1f4
jb 0x47ffa9
cmp dword [edi], 0x1770
jb 0x47ffe3
mov eax, ebx
cmp al, 0x9f
ja 0x47ffb9
movzx eax, al
bt dword [0x4801ac], eax
jae 0x47ffc3
cmp dword [edi], 0x1770
jb 0x47ffe3
lea edx, [ebp - 0xec]
mov eax, esi
call fcn.0047f19c
mov ecx, dword [ebp - 0xec]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, ebx
call fcn.00488b04
inc ebx
cmp bl, 0x9e
jne 0x47fee5
cmp dword [edi], 0x1770
jb 0x480013
lea edx, [ebp - 0xf0]
mov eax, esi
call fcn.0047f19c
mov edx, dword [ebp - 0xf0]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048db7c
cmp dword [ebp - 0x14], 0
je 0x480029
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 0x14]
mov dl, 0x9c
call fcn.00488b04
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.0047e70c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4800b5
lea eax, [ebp - 0xf0]
mov edx, 0x1b
call fcn.00405050
lea eax, [ebp - 0x7c]
mov edx, 7
call fcn.00405050
lea eax, [ebp - 0x44]
mov edx, dword [0x4094ec]
call fcn.00405d30
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00405050
ret