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

Disassembly:
push 0xffffffffffffffff
push 0x562fb8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b7b5c]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov ebp, ecx
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0x80]
mov edi, dword [esp + 0x7c]
xor ecx, ecx
cmp dword [0x5ed700], ecx
je 0x4807cb
mov eax, dword [esp + 0x88]
push 1
push eax
push esi
push ebx
push edi
mov ecx, ebp
call fcn.0047d7b0
xor ecx, ecx
mov dword [ebp + 0x1a0], ebx
mov dword [ebp + 0x190], ebx
mov dword [ebp + 0x198], ebx
mov dword [ebp + 0x1a4], edi
mov dword [ebp + 0x194], edi
mov dword [ebp + 0x19c], edi
cmp ebx, dword [esp + 0x88]
jne 0x480803
cmp edi, esi
jl 0x480803
xor eax, eax
jmp 0x480ec9
cmp dword [ebp + 0x9c], ecx
jne 0x480829
mov eax, dword [ebp + 0x334]
lea edx, [ebx + ebx*8]
mov eax, dword [eax + edx*4 + 0x20]
cmp eax, ecx
je 0x480829
cmp dword [eax + edi*4], ecx
mov dword [esp + 0x24], 1
jl 0x48082d
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], vtable.CLogLine.0
mov dword [esp + 0x74], ecx
cmp dword [ebp + 0x78], ecx
jne 0x48085e
cmp dword [ebp + 0x84], ecx
je 0x480a38
push 0
push ebx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, ebp
call fcn.00472d20
test eax, eax
jne 0x4808e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
push eax
mov ecx, ebp
call fcn.00473590
mov esi, dword [esp + 0x20]
mov edx, dword [ebp + 0x334]
lea ecx, [esi + esi*8]
mov eax, dword [edx + ecx*4 + 0x10]
test eax, eax
jle 0x4808ca
push 1
push eax
push esi
mov ecx, ebp
call fcn.0047aa90
inc esi
mov dword [ebp + 0x198], esi
mov dword [ebp + 0x19c], 0
mov dword [esp + 0x18], 1
push 0
push ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
call fcn.00472d20
jmp 0x48093e
mov eax, dword [ebp + 0x334]
lea edx, [ebx + ebx*8]
mov edi, dword [eax + edx*4 + 0x10]
lea eax, [eax + edx*4]
test edi, edi
jle 0x48093e
cmp dword [esp + 0x88], ebx
jg 0x48092b
mov ecx, dword [eax]
mov esi, dword [eax + 8]
dec ecx
xor eax, eax
test ecx, ecx
jle 0x480925
lea esp, [esp]
movzx edx, word [esi + eax*2]
cmp dx, 0x20
je 0x480920
cmp dx, 9
jne 0x480925
inc eax
cmp eax, ecx
jl 0x480910
cmp eax, dword [esp + 0x7c]
jl 0x48093e
push 1
push edi
push ebx
mov ecx, ebp
call fcn.0047aa90
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x88]
cmp eax, ebx
jle 0x48098e
lea esi, [ebx + 1]
cmp esi, eax
jg 0x48098e
lea edi, [esi + esi*8]
add edi, edi
add edi, edi
jmp 0x480960
mov ecx, dword [ebp + 0x334]
mov eax, dword [ecx + edi + 0x10]
test eax, eax
jle 0x480981
push 1
push eax
push esi
mov ecx, ebp
call fcn.0047aa90
mov dword [esp + 0x18], 1
inc esi
add edi, 0x24
cmp esi, dword [esp + 0x88]
jle 0x480960
mov eax, dword [esp + 0x88]
mov ecx, dword [ebp + 0x334]
lea edx, [eax + eax*8]
mov edx, dword [ecx + edx*4]
dec edx
push edx
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebp
call fcn.00472d20
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
sub esi, edi
push 0xffffffffffffffff
inc esi
push esi
lea ecx, [esp + 0x30]
call fcn.004706a0
xor edx, edx
test esi, esi
jle 0x480a36
mov ecx, dword [esp + 0x2c]
lea edi, [edi + edi*2]
add edi, edi
add edi, edi
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x14]
add eax, edx
js 0x480b40
cmp eax, dword [ebp + 0x184]
jge 0x480b40
test edx, edx
jl 0x480b40
cmp edx, dword [esp + 0x30]
jge 0x480b40
mov eax, dword [ebp + 0x180]
add eax, edi
mov edi, dword [eax]
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [ecx + 4], edi
mov eax, dword [eax + 8]
mov edi, dword [esp + 0x1c]
mov dword [ecx + 8], eax
inc edx
add edi, 0xc
add ecx, 0xc
cmp edx, esi
mov dword [esp + 0x1c], edi
jl 0x4809e1
xor ecx, ecx
cmp dword [esp + 0x8c], ecx
jbe 0x480be0
cmp dword [esp + 0x8c], 2
jne 0x480a5b
lea ecx, [ebp + 0x320]
mov dword [esp + 0x1c], ecx
jmp 0x480a65
lea edx, [ebp + 0x30c]
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x7c]
push 0
push 1
push eax
push ecx
push ebx
push edx
push 0
push 0
mov ecx, ebp
call fcn.0047e3b0
xor ecx, ecx
mov esi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ff95f
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
add esp, 4
xor edi, edi
push edi
push 1
push ecx
mov ecx, dword [esp + 0x88]
push edx
push ebx
push ecx
push esi
push eax
mov ecx, ebp
mov dword [esp + 0x40], eax
call fcn.0047e3b0
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x20]
push edx
push ebx
dec esi
push esi
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], 1
mov dword [esp + 0x4c], edi
mov dword [esp + 0x70], edi
call fcn.004d3370
mov edx, dword [ebp]
mov eax, dword [edx + 0x58]
mov ecx, ebp
call eax
test eax, eax
jne 0x480b35
push 1
mov ecx, ebp
call fcn.00472b50
mov dword [esp + 0x64], 1
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx + 8]
cmp esi, edi
jge 0x480b45
call fcn.00507f95
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
lea edx, [esi + 1]
push edx
call fcn.00470400
mov eax, dword [esp + 0x1c]
lea edi, [esi + esi*2]
shl edi, 4
add edi, dword [eax + 4]
mov ecx, 0xc
lea esi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004ff96a
add esp, 4
cmp dword [esp + 0x8c], 1
jne 0x480be0
cmp dword [ebp + 0x328], 0
je 0x480be0
mov esi, dword [ebp + 0x328]
test esi, esi
je 0x480bb5
xor edi, edi
jmp 0x480ba0
mov ecx, dword [ebp + 0x324]
add ecx, edi
dec esi
add edi, 0x30
call fcn.004d32a0
test esi, esi
jne 0x480ba0
mov eax, dword [ebp + 0x324]
test eax, eax
je 0x480bd2
push eax
call fcn.004ff96a
add esp, 4
mov dword [ebp + 0x324], 0
xor eax, eax
mov dword [ebp + 0x32c], eax
mov dword [ebp + 0x328], eax
mov edx, dword [esp + 0x88]
cmp ebx, edx
jne 0x480bfa
cmp dword [esp + 0x18], 0
jne 0x480bfa
mov eax, dword [ebp + 0x198]
jmp 0x480bfd
or eax, 0xffffffff
mov ecx, dword [ebp + 0x198]
mov dword [ebp + 0x1a0], eax
mov eax, dword [ebp + 0x334]
lea ecx, [ecx + ecx*8]
mov ecx, dword [eax + ecx*4]
lea edi, [ebx + ebx*8]
add edi, edi
mov esi, edx
dec ecx
sub esi, ebx
add edi, edi
mov dword [ebp + 0x1a4], ecx
mov dword [esp + 0x8c], esi
cmp ebx, edx
jne 0x480c4e
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x84]
sub ecx, edx
push ecx
push edx
lea ecx, [eax + edi]
call fcn.004d3740
jmp 0x480cde
mov edx, dword [eax + edi]
lea ecx, [eax + edi]
mov eax, dword [esp + 0x7c]
sub edx, eax
push edx
push eax
call fcn.004d3740
mov esi, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
mov ecx, dword [ebp + 0x334]
lea esi, [esi + esi*8]
add esi, esi
push eax
add esi, esi
push 0
add ecx, esi
call fcn.004d3740
mov eax, dword [ebp + 0x334]
mov ecx, dword [eax + esi]
mov edx, dword [eax + esi + 8]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push ecx
lea ecx, [eax + edi]
call fcn.004d36b0
cmp dword [esp + 0x7c], 0
jne 0x480cc4
cmp dword [esp + 0x84], 0
jne 0x480cc4
mov eax, dword [ebp + 0x334]
mov edx, dword [eax + esi + 0x10]
mov dword [eax + edi + 0x10], edx
mov eax, dword [esp + 0x8c]
push eax
lea ecx, [ebx + 1]
push ecx
mov ecx, ebp
call fcn.00474a70
mov esi, dword [esp + 0x8c]
cmp dword [ebp + 0x84], 0
je 0x480d2d
mov edx, dword [esp + 0x7c]
push edx
lea eax, [esp + 0x8c]
push eax
mov ecx, ebp
mov dword [esp + 0x90], ebx
call fcn.004750f0
test esi, esi
jg 0x480d0a
test eax, eax
je 0x480d2d
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x88]
push ebx
push ecx
push edx
mov ecx, ebp
call fcn.00478580
test eax, eax
je 0x480d2d
mov dword [ebp + 0x19c], 0
cmp dword [ebp + 0x78], 0
jne 0x480d40
cmp dword [ebp + 0x84], 0
je 0x480e8e
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x14]
dec eax
mov dword [esp + 0x7c], eax
test eax, eax
jle 0x480dc6
mov edx, eax
lea ecx, [edx + esi]
test esi, esi
jl 0x480b40
mov eax, dword [ebp + 0x184]
cmp ecx, eax
jg 0x480b40
cmp ecx, esi
jl 0x480b40
cmp ecx, edx
jl 0x480b40
sub eax, ecx
je 0x480dc0
mov edx, dword [ebp + 0x180]
lea ecx, [ecx + ecx*2]
lea ecx, [edx + ecx*4]
lea eax, [eax + eax*2]
mov dword [esp + 0x88], ecx
add eax, eax
add eax, eax
lea ecx, [esi + esi*2]
lea ecx, [edx + ecx*4]
mov edx, dword [esp + 0x88]
push eax
push edx
push eax
push ecx
call fcn.0053fb29
push eax
call fcn.00401290
mov edx, dword [esp + 0x90]
add esp, 0x14
sub dword [ebp + 0x184], edx
mov eax, dword [ebp + 0x334]
mov edi, dword [edi + eax]
xor ecx, ecx
dec edi
test esi, esi
jl 0x480b40
cmp esi, dword [ebp + 0x184]
jge 0x480b40
cmp dword [esp + 0x8c], ecx
mov eax, dword [ebp + 0x180]
lea edx, [esi + esi*2]
lea eax, [eax + edx*4]
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
jle 0x480e8e
mov eax, dword [ebp + 0x184]
lea ecx, [esi + 1]
cmp ecx, eax
mov dword [esp + 0x7c], eax
jge 0x480e7a
lea edx, [ecx + ecx*2]
add edx, edx
add edx, edx
test edx, edx
jl 0x480b40
cmp ecx, dword [ebp + 0x184]
jge 0x480b40
mov eax, dword [ebp + 0x180]
mov esi, dword [eax + edx]
sub esi, dword [esp + 0x8c]
mov edi, dword [eax + edx + 4]
mov ebx, dword [eax + edx + 8]
add eax, edx
cmp ecx, dword [ebp + 0x184]
jge 0x480b40
mov eax, dword [ebp + 0x180]
add eax, edx
mov dword [eax], esi
inc ecx
add edx, 0xc
cmp ecx, dword [esp + 0x7c]
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
jl 0x480e1f
mov ebx, dword [esp + 0x80]
mov dword [ebp + 0x1a0], 0xffffffff
mov dword [ebp + 0x1a4], 0
cmp dword [esp + 0x24], 0
je 0x480e9f
mov dword [ebp + 0x19c], 0
cmp dword [ebp + 0x78], 0
je 0x480eb3
push ebx
push ebx
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebp
call fcn.0047a420
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x480ec4
push eax
call fcn.004ff96a
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x14