Function at 0x484540
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6116a6
mov edx, dword [0x6bb46c]
push eax
mov dword fs:[0], esp
sub esp, 0x34
cmp edx, 9
push ebx
push ebp
push esi
mov esi, dword [esp + 0x50]
push edi
mov edi, ecx
jg 0x484586
test byte [esi + 0x14], 1
je 0x484586
mov eax, dword [edi + 0x88]
mov dword [eax + 8], 1
mov edx, dword [0x6bb46c]
mov eax, dword [esi + 0x14]
not eax
and eax, 1
je 0x4845af
cmp edx, 0x11
jg 0x4845af
mov cx, word [edi + 0x84]
test cx, cx
je 0x4845af
cmp cx, word [edi + 0x80]
mov byte [esp + 0x13], 1
jne 0x4845b4
mov byte [esp + 0x13], 0
or ebx, 0xffffffff
test eax, eax
je 0x48464f
lea ecx, [esp + 0x30]
lea ebp, [edi + 0x70]
call fcn.00403f90
push ebx
push 0
lea ecx, [esp + 0x38]
mov dword [esp + 0x54], 0
mov dword [esp + 0x44], ebx
call fcn.00404540
mov dword [esp + 0x3c], ebx
push ebp
lea ecx, [esp + 0x34]
mov dword [esp + 0x50], 1
call fcn.0043db70
mov cx, word [ebp + 0x10]
mov word [esp + 0x40], cx
mov al, byte [esp + 0x13]
mov dword [esp + 0x4c], 2
test al, al
je 0x48461e
mov dx, word [edi + 0x84]
mov word [esp + 0x40], dx
mov eax, dword [0x6bb46c]
lea ecx, [esp + 0x30]
cmp eax, 0xb
setg al
push eax
push ecx
push esi
call fcn.004018a0
add esp, 0xc
lea ecx, [esp + 0x30]
mov dword [esp + 0x4c], 3
call fcn.0041fc40
mov dword [esp + 0x4c], ebx
jmp 0x484663
cmp edx, 0xb
lea eax, [edi + 0x70]
setg dl
push edx
push eax
push esi
call fcn.004018a0
add esp, 0xc
cmp dword [0x6bb46c], 1
jle 0x485712
mov ecx, dword [edi + 0x88]
add ecx, 0xa0
push ecx
push esi
call fcn.004f6b30
mov edx, dword [esi + 0x14]
add esp, 8
not edx
lea ebp, [edi + 4]
push 4
test dl, 1
push ebp
mov ecx, esi
je 0x48469f
call fcn.005e1975
jmp 0x4846a4
call fcn.005e1866
mov eax, dword [esi + 0x14]
push 4
not eax
test al, 1
je 0x4846bc
lea ecx, [edi + 8]
push ecx
mov ecx, esi
call fcn.005e1975
jmp 0x4846c7
lea edx, [edi + 8]
mov ecx, esi
push edx
call fcn.005e1866
cmp dword [ebp], 0
je 0x4846d5
push esi
mov ecx, edi
call fcn.004f5af0
cmp dword [0x6bb46c], 2
jle 0x485712
push esi
lea ecx, [edi + 0x20]
call fcn.004f5af0
mov eax, dword [esi + 0x14]
push 4
not eax
test al, 1
je 0x484709
mov ecx, dword [edi + 0x88]
add ecx, 0x50
push ecx
mov ecx, esi
call fcn.005e1975
jmp 0x48471a
mov edx, dword [edi + 0x88]
mov ecx, esi
add edx, 0x50
push edx
call fcn.005e1866
mov eax, dword [esi + 0x14]
push 4
not eax
test al, 1
je 0x484738
mov ecx, dword [edi + 0x88]
add ecx, 0x54
push ecx
mov ecx, esi
call fcn.005e1975
jmp 0x484749
mov edx, dword [edi + 0x88]
mov ecx, esi
add edx, 0x54
push edx
call fcn.005e1866
mov eax, dword [edi + 0x88]
add eax, 0xf0
push eax
push esi
call fcn.004f6b30
mov ecx, dword [edi + 0x88]
add ecx, 0xc0
push ecx
push esi
call fcn.004f6b30
mov edx, dword [edi + 0x88]
add edx, 0xcc
push edx
push esi
call fcn.004f6b30
mov eax, dword [0x6bb46c]
mov ebx, 7
add esp, 0x18
cmp eax, ebx
jg 0x484800
mov eax, dword [edi + 0x88]
add eax, 0x118
mov ecx, dword [eax]
mov edx, dword [eax + 4]
or ecx, edx
je 0x4847ad
mov eax, 1
jmp 0x4847af
xor eax, eax
mov edx, dword [esi + 0x14]
and eax, 0xff
not edx
test dl, 1
mov dword [esp + 0x54], eax
push 4
je 0x4847d2
lea eax, [esp + 0x58]
mov ecx, esi
push eax
call fcn.005e1975
jmp 0x4847de
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call fcn.005e1866
test byte [esi + 0x14], 1
je 0x484800
mov eax, dword [edi + 0x88]
mov dword [eax + 0x118], 1
add eax, 0x118
mov dword [eax + 4], 0
cmp dword [0x6bb46c], 0xd
jg 0x48489b
mov eax, dword [edi + 0x88]
mov ecx, dword [esi + 0x14]
not ecx
mov dl, byte [eax + 0xb8]
push 1
mov byte [esp + 0x58], dl
mov al, byte [eax + 0xba]
test cl, 1
mov byte [esp + 0x16], al
je 0x484841
lea edx, [esp + 0x58]
mov ecx, esi
push edx
call fcn.005e1975
jmp 0x48484d
lea eax, [esp + 0x58]
mov ecx, esi
push eax
call fcn.005e1866
mov ecx, dword [esi + 0x14]
push 1
not ecx
test cl, 1
je 0x484867
lea edx, [esp + 0x16]
mov ecx, esi
push edx
call fcn.005e1975
jmp 0x484873
lea eax, [esp + 0x16]
mov ecx, esi
push eax
call fcn.005e1866
movzx cx, byte [esp + 0x54]
mov edx, dword [edi + 0x88]
mov word [edx + 0xb8], cx
mov ecx, dword [edi + 0x88]
movzx ax, byte [esp + 0x12]
mov word [ecx + 0xba], ax
jmp 0x484905
mov edx, dword [esi + 0x14]
push 2
not edx
test dl, 1
je 0x4848bc
mov eax, dword [edi + 0x88]
mov ecx, esi
add eax, 0xb8
push eax
call fcn.005e1975
jmp 0x4848d0
mov ecx, dword [edi + 0x88]
add ecx, 0xb8
push ecx
mov ecx, esi
call fcn.005e1866
mov edx, dword [esi + 0x14]
push 2
not edx
test dl, 1
je 0x4848f1
mov eax, dword [edi + 0x88]
mov ecx, esi
add eax, 0xba
push eax
call fcn.005e1975
jmp 0x484905
mov ecx, dword [edi + 0x88]
add ecx, 0xba
push ecx
mov ecx, esi
call fcn.005e1866
mov eax, dword [0x6bb46c]
mov edx, dword [esi + 0x14]
cmp eax, 0x11
not edx
jg 0x48497b
test dl, 1
push 1
je 0x484929
lea eax, [esp + 0x58]
mov ecx, esi
push eax
call fcn.005e1975
jmp 0x484935
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call fcn.005e1866
mov edx, dword [esi + 0x14]
push 1
not edx
test dl, 1
je 0x48494f
lea eax, [esp + 0x58]
mov ecx, esi
push eax
call fcn.005e1975
jmp 0x48495b
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call fcn.005e1866
mov edx, dword [esi + 0x14]
push 1
not edx
test dl, 1
je 0x484975
lea eax, [esp + 0x58]
mov ecx, esi
push eax
call fcn.005e1975
jmp 0x4849e0
lea ecx, [esp + 0x58]
jmp 0x4849d8
test dl, 1
push 4
je 0x484997
mov eax, dword [edi + 0x88]
mov ecx, esi
add eax, 0x100
push eax
call fcn.005e1975
jmp 0x4849ab
mov ecx, dword [edi + 0x88]
add ecx, 0x100
push ecx
mov ecx, esi
call fcn.005e1866
mov edx, dword [esi + 0x14]
push 4
not edx
test dl, 1
je 0x4849cc
mov eax, dword [edi + 0x88]
mov ecx, esi
add eax, 0x104
push eax
call fcn.005e1975
jmp 0x4849e0
mov ecx, dword [edi + 0x88]
add ecx, 0x104
push ecx
mov ecx, esi
call fcn.005e1866
mov edx, dword [esi + 0x14]
push 1
not edx
test dl, 1
je 0x484a01
mov eax, dword [edi + 0x88]
mov ecx, esi
add eax, 0xfc
push eax
call fcn.005e1975
jmp 0x484a15
mov ecx, dword [edi + 0x88]
add ecx, 0xfc
push ecx
mov ecx, esi
call fcn.005e1866
cmp dword [0x6bb46c], 0x12
jg 0x484a8e
mov edx, dword [esi + 0x14]
mov byte [esp + 0x54], 1
not edx
test dl, 1
push 1
je 0x484a3d
lea eax, [esp + 0x58]
mov ecx, esi
push eax
call fcn.005e1975
jmp 0x484a49
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call fcn.005e1866
test byte [esi + 0x14], 1
je 0x484a8e
mov al, byte [esp + 0x54]
test al, al
jne 0x484a8e
mov ecx, dword [edi + 0x88]
mov dword [esp + 0x14], 0xffffffff
add ecx, 0xc0
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
sub eax, edx
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
lea eax, [esp + 0x18]
jb 0x484a83
lea eax, [esp + 0x14]
mov ebp, edx
add ebp, dword [eax]
push ebp
push edx
call fcn.004045c0
cmp dword [0x6bb46c], 3
jle 0x485712
mov edx, dword [esi + 0x14]
push 4
not edx
test dl, 1
je 0x484ab4
lea eax, [edi + 0x24]
mov ecx, esi
push eax
call fcn.005e1975
jmp 0x484abf
lea ecx, [edi + 0x24]
push ecx
mov ecx, esi
call fcn.005e1866
mov edx, dword [esi + 0x14]
push 8
not edx
test dl, 1
je 0x484ae0
mov eax, dword [edi + 0x88]
mov ecx, esi
add eax, 0x80
push eax
call fcn.005e1975
jmp 0x484af4
mov ecx, dword [edi + 0x88]
add ecx, 0x80
push ecx
mov ecx, esi
call fcn.005e1866
cmp dword [0x6bb46c], ebx
jg 0x484b47
mov eax, dword [edi + 0x88]
add eax, 0x80
mov edx, dword [eax]
mov ecx, dword [eax + 4]
or edx, ecx
je 0x484b17
mov eax, 1
jmp 0x484b19
xor eax, eax
and eax, 0xff
push 4
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x14]
not eax
test al, 1
je 0x484b3b
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call fcn.005e1975
jmp 0x484b47
lea edx, [esp + 0x58]
mov ecx, esi
push edx
call fcn.005e1866
mov eax, dword [edi + 0x88]
add eax, 0x88
push eax
push esi
call fcn.00443480
mov ecx, dword [esi + 0x14]
add esp, 8
not ecx
test cl, 1
mov dword [esp + 0x54], 0
push 4
je 0x484b7e
lea edx, [esp + 0x58]
mov ecx, esi
push edx
call fcn.005e1975
jmp 0x484b8a
lea eax, [esp + 0x58]
mov ecx, esi
push eax
call fcn.005e1866
mov ecx, dword [esi + 0x14]
push 4
not ecx
test cl, 1
je 0x484ba4
lea edx, [esp + 0x58]
mov ecx, esi
push edx
call fcn.005e1975
jmp 0x484bb0
lea eax, [esp + 0x58]
mov ecx, esi
push eax
call fcn.005e1866
mov ecx, dword [esi + 0x14]
push 4
not ecx
test cl, 1
je 0x484bca
lea edx, [esp + 0x58]
mov ecx, esi
push edx
call fcn.005e1975
jmp 0x484bd6
lea eax, [esp + 0x58]
mov ecx, esi
push eax
call fcn.005e1866
mov ecx, dword [esi + 0x14]
push 4
not ecx
test cl, 1
je 0x484bf0
lea edx, [esp + 0x58]
mov ecx, esi
push edx
call fcn.005e1975
jmp 0x484bfc
lea eax, [esp + 0x58]
mov ecx, esi
push eax
call fcn.005e1866
mov ecx, dword [0x6abf00]
mov dword [esp + 0x14], ecx
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x50], 4
call fcn.004f5af0
lea ecx, [esp + 0x14]
mov dword [esp + 0x4c], 0xffffffff
call fcn.005dd1b0
cmp dword [0x6bb46c], 4
jle 0x485712
mov edx, dword [esi + 0x14]
push 8
not edx
test dl, 1
je 0x484c4f
lea eax, [edi + 0x28]
mov ecx, esi
push eax
call fcn.005e1975
jmp 0x484c5a
lea ecx, [edi + 0x28]
push ecx
mov ecx, esi
call fcn.005e1866
mov edx, dword [esi + 0x14]
push 8
not edx
test dl, 1
je 0x484c7b
mov eax, dword [edi + 0x88]
mov ecx, esi
add eax, 0x118
push eax
call fcn.005e1975
jmp 0x484c8f
mov ecx, dword [edi + 0x88]
add ecx, 0x118
push ecx
mov ecx, esi
call fcn.005e1866
mov edx, dword [esi + 0x14]
push 8
not edx
test dl, 1
je 0x484cb0
mov eax, dword [edi + 0x88]
mov ecx, esi
add eax, 0x120
push eax
call fcn.005e1975
jmp 0x484cc4
mov ecx, dword [edi + 0x88]
add ecx, 0x120
push ecx
mov ecx, esi
call fcn.005e1866
mov ecx, dword [edi + 0x88]
push esi
add ecx, 0x128
call fcn.00432440
cmp dword [0x6bb46c], 6
jle 0x485712
mov edx, dword [esi + 0x14]
push 4
not edx
test dl, 1
je 0x484cfc
lea eax, [edi + 0x34]
mov ecx, esi
push eax
call fcn.005e1975
jmp 0x484d07
lea ecx, [edi + 0x34]
push ecx
mov ecx, esi
call fcn.005e1866
mov edx, dword [esi + 0x14]
lea ebp, [edi + 0x38]
not edx
test dl, 1
push 4
push ebp
mov ecx, esi
je 0x484d20
call fcn.005e1975
jmp 0x484d25
call fcn.005e1866
mov eax, dword [esi + 0x14]
push 4
not eax
test al, 1
je 0x484d3d
lea ecx, [edi + 0x54]
push ecx
mov ecx, esi
call fcn.005e1975
jmp 0x484d48
lea edx, [edi + 0x54]
mov ecx, esi
push edx
call fcn.005e1866
cmp dword [ebp], 0
je 0x484d59
push esi
lea ecx, [edi + 0x30]
call fcn.004f5af0
jmp 0x484d8d
cmp dword [0x6bb46c], ebx
jg 0x484d99
mov eax, dword [0x6abf00]
mov dword [esp + 0x54], eax
push esi
lea ecx, [esp + 0x58]
mov dword [esp + 0x50], 5
call fcn.004f5af0
lea ecx, [esp + 0x54]
mov dword [esp + 0x4c], 0xffffffff
call fcn.005dd1b0
cmp dword [0x6bb46c], ebx
jle 0x485712
mov ecx, dword [esi + 0x14]
push 4
not ecx
test cl, 1
je 0x484db2
lea edx, [edi + 0xc]
mov ecx, esi
push edx
call fcn.005e1975
jmp 0x484dbd
lea eax, [edi + 0xc]
mov ecx, esi
push eax
call fcn.005e1866
mov ecx, dword [esi + 0x14]
push 4
not ecx
test cl, 1
je 0x484dd6
lea edx, [edi + 0x58]
mov ecx, esi
push edx
call fcn.005e1975
jmp 0x484de1
lea eax, [edi + 0x58]
mov ecx, esi
push eax
call fcn.005e1866
cmp dword [0x6bb46c], 8
jle 0x485712
mov ecx, dword [esi + 0x14]
lea ebp, [edi + 0x18]
not ecx
test cl, 1
push 4
push ebp
mov ecx, esi
je 0x484e07
call fcn.005e1975
jmp 0x484e0c
call fcn.005e1866
cmp dword [ebp], 0
je 0x484e48
mov edx, dword [esi + 0x14]
push 4
not edx
test dl, 1
je 0x484e2b
lea eax, [edi + 0x1c]
mov ecx, esi
push eax
call fcn.005e1975
jmp 0x484e36
lea ecx, [edi + 0x1c]
push ecx
mov ecx, esi
call fcn.005e1866
push esi
lea ecx, [edi + 0x10]
call fcn.004f5af0
push esi
lea ecx, [edi + 0x14]
call fcn.004f5af0
cmp dword [0x6bb46c], 9
jle 0x485712
mov edx, dword [esi + 0x14]
push 4
not edx
test dl, 1
je 0x484e74
mov eax, dword [edi + 0x88]
mov ecx, esi
add eax, 8
push eax
call fcn.005e1975
jmp 0x484e85
mov ecx, dword [edi + 0x88]
add ecx, 8
push ecx
mov ecx, esi
call fcn.005e1866
mov eax, dword [edi + 0x88]
mov ecx, dword [eax + 8]
test ecx, ecx
jl 0x484e97
cmp ecx, 0x31
jl 0x484e9e
mov dword [eax + 8], 0
cmp dword [0x6bb46c], 0xc
jg 0x484eda
test byte [esi + 0x14], 1
je 0x484eda
push 0
sub esp, 8
mov ecx, esp
mov dword [esp + 0x60], esp
push str.hostport
call fcn.00405b90
mov ecx, dword [edi + 0x88]
add ecx, 0x88
call fcn.00431f60
mov word [edi + 0x84], ax
cmp dword [0x6bb46c], 0xa
jle 0x485712
mov ecx, dword [edi + 0x88]
push esi
add ecx, 0x210
call fcn.00430070
mov eax, dword [0x6bb46c]
cmp eax, 0xb
jle 0x485712
cmp eax, 0xc
jle 0x485712
mov al, byte [esp + 0x13]
test al, al
je 0x484f42
mov eax, dword [esi + 0x14]
mov dx, word [edi + 0x80]
not eax
test al, 1
mov dword [esp + 0x54], edx
push 2
je 0x484f3c
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call fcn.005e1975
jmp 0x484f6b
lea edx, [esp + 0x58]
jmp 0x484f63
mov eax, dword [esi + 0x14]
push 2
not eax
test al, 1
je 0x484f5d
lea ecx, [edi + 0x84]
push ecx
mov ecx, esi
call fcn.005e1975
jmp 0x484f6b
lea edx, [edi + 0x84]
push edx
mov ecx, esi
call fcn.005e1866
cmp dword [0x6bb46c], 0xd
jle 0x485712
mov eax, dword [edi + 0x88]
add eax, 0xe4
push eax
push esi
call fcn.004f6b30
mov eax, dword [0x6bb46c]
add esp, 8
cmp eax, 0xe
jle 0x485712
mov ecx, dword [edi + 0x88]
add ecx, 0xd8
push ecx
push esi
call fcn.004f6b30
mov eax, dword [0x6bb46c]
add esp, 8
cmp eax, 0x10
jle 0x485712
mov edx, dword [esi + 0x14]
push 8
not edx
test dl, 1
je 0x484fde
mov eax, dword [edi + 0x88]
mov ecx, esi
add eax, 0x18
push eax
call fcn.005e1975
jmp 0x484fef
mov ecx, dword [edi + 0x88]
add ecx, 0x18
push ecx
mov ecx, esi
call fcn.005e1866
cmp dword [0x6bb46c], 0x11
jle 0x485712
mov edx, dword [esi + 0x14]
lea ebp, [edi + 0x3c]
not edx
test dl, 1
push 1
push ebp
mov ecx, esi
je 0x485015
call fcn.005e1975
jmp 0x48501a
call fcn.005e1866
cmp byte [ebp], 0
je 0x4850b8
mov eax, dword [edi + 0x48]
lea ebp, [edi + 0x40]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x14]
not eax
test al, 1
push 2
je 0x485047
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call fcn.005e1975
jmp 0x485053
lea edx, [esp + 0x58]
mov ecx, esi
push edx
call fcn.005e1866
mov eax, dword [esi + 0x14]
not eax
test al, 1
je 0x48507e
xor ebx, ebx
cmp word [esp + 0x54], bx
jle 0x4850b8
mov edx, dword [ebp + 4]
push esi
movsx ecx, bx
lea ecx, [edx + ecx*8]
call fcn.00484470
inc ebx
cmp bx, word [esp + 0x54]
jl 0x485065
jmp 0x4850b8
push 0xffffffffffffffff
push 0
mov ecx, ebp
call fcn.0043fa60
movsx eax, word [esp + 0x54]
push 0xffffffffffffffff
push eax
mov ecx, ebp
call fcn.0043fa60
xor ebx, ebx
cmp word [esp + 0x54], bx
jle 0x4850b8
mov edx, dword [ebp + 4]
push esi
movsx ecx, bx
lea ecx, [edx + ecx*8]
call fcn.00484470
inc ebx
cmp bx, word [esp + 0x54]
jl 0x4850a1
mov eax, dword [esi + 0x14]
push 8
not eax
test al, 1
je 0x4850d6
mov ecx, dword [edi + 0x88]
add ecx, 0x58
push ecx
mov ecx, esi
call fcn.005e1975
jmp 0x4850e7
mov edx, dword [edi + 0x88]
mov ecx, esi
add edx, 0x58
push edx
call fcn.005e1866
push esi
lea ecx, [edi + 0x64]
call fcn.004f5af0
cmp dword [0x6bb46c], 0x13
jle 0x485712
mov eax, dword [edi + 0x88]
add eax, 0x94
push eax
push esi
call fcn.00443480
mov eax, dword [0x6bb46c]
add esp, 8
cmp eax, 0x15
jle 0x485712
push esi
lea ecx, [edi + 0x5c]
call fcn.004f5af0
mov ecx, dword [esi + 0x14]
push 2
not ecx
test cl, 1
je 0x485142
lea edx, [edi + 0x60]
mov ecx, esi
push edx
call fcn.005e1975
jmp 0x48514d
lea eax, [edi + 0x60]
mov ecx, esi
push eax
call fcn.005e1866
cmp dword [0x6bb46c], 0x16
jle 0x485712
mov ecx, dword [esi + 0x14]
push 8
not ecx
test cl, 1
je 0x48517c
mov edx, dword [edi + 0x88]
mov ecx, esi
add edx, 0x158
push edx
call fcn.005e1975
jmp 0x48518f
mov eax, dword [edi + 0x88]
mov ecx, esi
add eax, 0x158
push eax
call fcn.005e1866
mov ecx, dword [esi + 0x14]
push 8
not ecx
test cl, 1
je 0x4851b1
mov edx, dword [edi + 0x88]
mov ecx, esi
add edx, 0x138
push edx
call fcn.005e1975
jmp 0x4851c4
mov eax, dword [edi + 0x88]
mov ecx, esi
add eax, 0x138
push eax
call fcn.005e1866
mov ecx, dword [esi + 0x14]
push 8
not ecx
test cl, 1
je 0x4851e6
mov edx, dword [edi + 0x88]
mov ecx, esi
add edx, 0x140
push edx
call fcn.005e1975
jmp 0x4851f9
mov eax, dword [edi + 0x88]
mov ecx, esi
add eax, 0x140
push eax
call fcn.005e1866
mov ecx, dword [esi + 0x14]
push 8
not ecx
test cl, 1
je 0x48521b
mov edx, dword [edi + 0x88]
mov ecx, esi
add edx, 0x148
push edx
call fcn.005e1975
jmp 0x48522e
mov eax, dword [edi + 0x88]
mov ecx, esi
add eax, 0x148
push eax
call fcn.005e1866
mov ecx, dword [esi + 0x14]
push 8
not ecx
test cl, 1
je 0x485250
mov edx, dword [edi + 0x88]
mov ecx, esi
add edx, 0x150
push edx
call fcn.005e1975
jmp 0x485263
mov eax, dword [edi + 0x88]
mov ecx, esi
add eax, 0x150
push eax
call fcn.005e1866
mov ecx, dword [esi + 0x14]
push 2
not ecx
test cl, 1
je 0x485285
mov edx, dword [edi + 0x88]
mov ecx, esi
add edx, 0xbc
push edx
call fcn.005e1975
jmp 0x485298
mov eax, dword [edi + 0x88]
mov ecx, esi
add eax, 0xbc
push eax
call fcn.005e1866
mov ecx, dword [esi + 0x14]
push 2
not ecx
test cl, 1
je 0x4852ba
mov edx, dword [edi + 0x88]
mov ecx, esi
add edx, 0xbe
push edx
call fcn.005e1975
jmp 0x4852cd
mov eax, dword [edi + 0x88]
mov ecx, esi
add eax, 0xbe
push eax
call fcn.005e1866
mov ecx, dword [esi + 0x14]
push 1
not ecx
test cl, 1
je 0x4852ef
mov edx, dword [edi + 0x88]
mov ecx, esi
add edx, 0x108
push edx
call fcn.005e1975
jmp 0x485302
mov eax, dword [edi + 0x88]
mov ecx, esi
add eax, 0x108
push eax
call fcn.005e1866
mov ebp, dword [edi + 0x88]
mov eax, 0x66666667
add ebp, 0x10c
push 2
mov ecx, dword [ebp + 4]
mov edx, dword [ebp]
sub ecx, edx
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov dword [esp + 0x18], edx
mov edx, dword [esi + 0x14]
not edx
test dl, 1
je 0x485345
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.005e1975
jmp 0x485351
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.005e1866
mov edx, dword [esi + 0x14]
not edx
test dl, 1
je 0x48538b
xor ebx, ebx
cmp word [esp + 0x14], bx
jle 0x48549f
mov ecx, dword [ebp]
movsx eax, bx
lea eax, [eax + eax*4]
lea edx, [ecx + eax*8]
push edx
push esi
call fcn.00484490
add esp, 8
inc ebx
cmp bx, word [esp + 0x14]
jl 0x485368
jmp 0x48549f
mov ecx, dword [ebp + 4]
mov eax, 0x66666667
mov edx, ecx
mov ebx, dword [ebp]
sub edx, ecx
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
test edx, edx
jle 0x4853d3
mov eax, ebx
mov dword [esp + 0x54], edx
sub ecx, eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x18]
lea edx, [ebx + ecx]
mov ecx, ebx
push edx
call fcn.00445a30
mov eax, dword [esp + 0x54]
add ebx, 0x28
dec eax
mov dword [esp + 0x54], eax
jne 0x4853b6
mov eax, dword [ebp + 4]
mov dword [esp + 0x54], ebx
cmp ebx, eax
mov dword [esp + 0x18], eax
je 0x4853fe
mov ecx, dword [esp + 0x54]
call fcn.004387f0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x18]
add eax, 0x28
cmp eax, ecx
mov dword [esp + 0x54], eax
jne 0x4853e2
movsx eax, word [esp + 0x14]
sub esp, 0x28
mov dword [ebp + 4], ebx
mov ebx, esp
mov dword [esp + 0x44], eax
mov dword [esp + 0x7c], esp
mov dword [esp + 0x48], ebx
lea ecx, [ebx + 4]
call fcn.004047a0
lea ecx, [ebx + 0x10]
mov dword [esp + 0x74], 6
call fcn.004047a0
add ebx, 0x1c
mov dword [esp + 0x50], ebx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x74], 8
push ecx
mov ecx, ebx
call fcn.00482bc0
push 8
mov byte [esp + 0x78], 0xa
call fcn.00490b90
lea edx, [eax + 8]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
add esp, 4
mov byte [eax], 0
mov eax, dword [esp + 0x44]
mov ecx, ebp
push eax
mov dword [esp + 0x78], 0xffffffff
call fcn.004918b0
xor ebx, ebx
cmp word [esp + 0x14], bx
jle 0x48549f
mov edx, dword [ebp]
movsx eax, bx
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*8]
push eax
push esi
call fcn.00484490
add esp, 8
inc ebx
cmp bx, word [esp + 0x14]
jl 0x485481
cmp dword [0x6bb46c], 0x18
jle 0x485712
mov edi, dword [edi + 0x88]
mov edx, dword [esi + 0x14]
add edi, 0xac
push 2
not edx
mov ecx, dword [edi + 4]
mov ebx, dword [edi]
sub ecx, ebx
sar ecx, 3
test dl, 1
mov dword [esp + 0x18], ecx
je 0x4854e0
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.005e1975
jmp 0x4854ec
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.005e1866
mov edx, dword [esi + 0x14]
not edx
test dl, 1
je 0x485522
xor ebx, ebx
cmp word [esp + 0x14], bx
jle 0x4856ba
mov ecx, dword [edi]
movsx eax, bx
lea edx, [ecx + eax*8]
push edx
push esi
call fcn.00443930
add esp, 8
inc ebx
cmp bx, word [esp + 0x14]
jl 0x485503
jmp 0x4856ba
mov eax, dword [edi + 4]
mov ebp, dword [edi]
mov ecx, eax
sub ecx, eax
sar ecx, 3
test ecx, ecx
jle 0x485546
mov edx, dword [eax]
add eax, 8
mov dword [ebp], edx
mov edx, dword [eax - 4]
mov dword [ebp + 4], edx
add ebp, 8
dec ecx
jne 0x485532
mov edx, dword [edi]
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x28]
xor ebx, ebx
movsx ecx, word [esp + 0x14]
mov dword [esp + 0x20], eax
mov eax, ebp
sub eax, edx
mov dword [edi + 4], ebp
sar eax, 3
cmp ecx, eax
mov dword [esp + 0x24], ebx
jae 0x4855b5
lea eax, [esp + 0x54]
lea ecx, [edx + ecx*8]
mov dl, byte [esp + 0x54]
push ebx
push eax
push ecx
push ebp
push ebp
mov byte [esp + 0x68], dl
call fcn.004a0f80
mov ebp, eax
mov eax, dword [edi + 4]
add esp, 0x14
cmp ebp, eax
mov dword [esp + 0x54], eax
mov ebx, ebp
je 0x4855ad
push ebx
call fcn.0041bea0
mov eax, dword [esp + 0x58]
add ebx, 8
add esp, 4
cmp ebx, eax
jne 0x485599
mov dword [edi + 4], ebp
jmp 0x485697
sub ecx, eax
je 0x485697
mov edx, dword [edi + 8]
sub edx, ebp
sar edx, 3
cmp edx, ecx
jb 0x485682
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], eax
xor eax, eax
cmp eax, ecx
jbe 0x48563e
lea ebx, [ecx*8]
lea ecx, [esp + 0x54]
mov eax, ebp
push ecx
sub eax, ebx
push ebp
push ebp
push eax
mov dword [esp + 0x2c], eax
call fcn.00437320
mov ecx, dword [edi + 4]
mov dl, byte [esp + 0x64]
add ecx, ebx
lea eax, [esp + 0x64]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x2c]
push 0
push eax
push ebp
push ecx
push ebp
mov byte [esp + 0x78], dl
call fcn.00493420
add ebx, ebp
add esp, 0x24
cmp ebp, ebx
je 0x485697
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [ebp], ecx
mov dword [ebp + 4], eax
add ebp, 8
cmp ebp, ebx
jne 0x48562f
jmp 0x485697
mov ebx, ecx
lea edx, [esp + 0x28]
sub ebx, eax
push edx
push ebx
push ebp
call fcn.00492e90
lea eax, [ebx*8]
mov ebx, dword [edi + 4]
add ebx, eax
lea ecx, [esp + 0x60]
mov eax, ebx
push ecx
push eax
push ebp
push ebp
mov dword [edi + 4], ebx
call fcn.00437320
xor eax, eax
add esp, 0x1c
lea edx, [eax*8]
mov eax, dword [edi + 4]
add eax, edx
mov dword [edi + 4], eax
jmp 0x485697
push 0
push ecx
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x28]
push eax
push ecx
push ebp
mov ecx, edi
call fcn.004370a0
xor ebx, ebx
cmp word [esp + 0x14], bx
jle 0x4856ba
mov eax, dword [edi]
movsx edx, bx
lea ecx, [eax + edx*8]
push ecx
push esi
call fcn.00443930
add esp, 8
inc ebx
cmp bx, word [esp + 0x14]
jl 0x4856a0
cmp dword [0x6bb46c], 0x19
jle 0x485712
mov eax, dword [esi + 0x14]
mov edi, 0xcccccccc
test al, 1
mov dword [esp + 0x18], edi
je 0x4856db
mov dword [esp + 0x18], 0
not eax
test al, 1
push 4
je 0x4856f1
lea edx, [esp + 0x1c]
mov ecx, esi
push edx
call fcn.005e1975
jmp 0x4856fd
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.005e1866
test byte [esi + 0x14], 1
je 0x485712
cmp dword [esp + 0x18], edi
je 0x485712
push 0
push 5
call fcn.005e3383
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x40
ret 4