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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe8
mov eax, dword [0x5876e0]
xor eax, esp
mov dword [esp + 0xe4], eax
mov eax, ecx
mov dword [esp + 0x2c], 0
push esi
mov esi, edx
mov dword [esp + 0x34], eax
push edi
mov edx, dword [eax]
xor cl, cl
lea eax, [esp + 0x80]
mov dword [esp + 0x44], 1
mov dword [esp + 0x30], edx
mov dword [esp + 0x14], eax
cmp dword [edx + 0xa4], 1
mov edi, dword [edx + 0x5c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x64
mov dword [esp + 0x24], edi
mov word [esp + 0x28], 0
jle 0x480583
mov al, byte [esi]
test al, al
je 0x4805b2
mov edi, esi
inc esi
cmp al, 0xa
je 0x480501
mov al, byte [esi]
test al, al
jne 0x4804f6
mov edx, dword [esp + 0x1c]
add edx, 3
cmp edx, dword [esp + 0x20]
jb 0x480527
push 3
mov edx, 0x56daa4
lea ecx, [esp + 0x14]
call fcn.0045b980
mov edx, dword [esp + 0x20]
add esp, 4
jmp 0x480543
mov ecx, dword [esp + 0x18]
mov ax, word [0x56daa4]
mov dword [esp + 0x1c], edx
mov word [edx + ecx - 3], ax
mov al, byte [0x56daa6]
mov byte [edx + ecx - 1], al
mov eax, esi
sub eax, edi
add edx, eax
push eax
cmp edx, dword [esp + 0x24]
jb 0x480560
mov edx, edi
lea ecx, [esp + 0x14]
call fcn.0045b980
add esp, 4
jmp 0x480574
mov dword [esp + 0x20], edx
sub edx, eax
add edx, dword [esp + 0x1c]
push edi
push edx
call fcn.00511d80
add esp, 0xc
mov al, byte [esi]
test al, al
jne 0x4804f4
jmp 0x4808ba
mov eax, dword [esp + 0x38]
cmp word [eax + 0x44], 0
jne 0x48061a
test esi, esi
jne 0x4805ed
xor ecx, ecx
push ecx
lea eax, [esp + 0x84]
mov dword [esp + 0x20], ecx
push esi
push eax
call fcn.00511d80
mov cl, byte [esp + 0x35]
add esp, 0xc
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov byte [edx + eax], 0
test edi, edi
je 0x480904
test cl, 4
jne 0x480904
lea edi, [edx + 1]
push 0
push edi
test esi, esi
je 0x4808d2
mov ecx, esi
call fcn.0045a000
jmp 0x4808d7
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4805f2
sub ecx, edx
and ecx, 0x3fffffff
cmp ecx, 0x64
jb 0x480598
push ecx
mov edx, esi
lea ecx, [esp + 0x14]
call fcn.0045b980
add esp, 4
jmp 0x4808ba
mov al, byte [esi]
test al, al
je 0x4805b2
xor ecx, ecx
mov edi, esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x3c], ecx
test al, al
je 0x480660
lea edx, [esp + 0x48]
mov ecx, edi
call fcn.004ccd40
cmp dword [esp + 0x48], 0x87
mov ecx, dword [esp + 0x2c]
je 0x48065c
add edi, eax
add ecx, eax
mov dword [esp + 0x2c], ecx
cmp byte [edi], 0
jne 0x480630
mov edi, dword [esp + 0x3c]
jmp 0x480662
mov edi, eax
jmp 0x480662
xor edi, edi
mov edx, dword [esp + 0x1c]
add edx, ecx
push ecx
cmp edx, dword [esp + 0x24]
jb 0x48067f
mov edx, esi
lea ecx, [esp + 0x14]
call fcn.0045b980
add esp, 4
jmp 0x480693
mov dword [esp + 0x20], edx
sub edx, ecx
add edx, dword [esp + 0x1c]
push esi
push edx
call fcn.00511d80
add esp, 0xc
add esi, dword [esp + 0x2c]
test edi, edi
je 0x4808ba
cmp byte [esi], 0x3f
jne 0x4806c1
cmp edi, 1
jle 0x4806bb
lea ecx, [esi + 1]
lea edx, [esp + 0x34]
call fcn.0045d6a0
mov eax, dword [esp + 0x34]
jmp 0x4806d4
mov eax, dword [esp + 0x44]
jmp 0x4806d0
mov ecx, dword [esp + 0x38]
mov edx, esi
push edi
call fcn.004801d0
add esp, 4
mov dword [esp + 0x34], eax
lea ecx, [eax + 1]
add esi, edi
mov dword [esp + 0x44], ecx
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], esi
mov edi, dword [eax + 0x3c]
add edi, 0xffffffd8
movzx eax, word [edi + ecx*8 + 8]
lea edi, [edi + ecx*8]
mov dword [esp + 0x3c], edi
test al, 1
je 0x480736
mov eax, dword [esp + 0x1c]
lea edx, [eax + 4]
cmp edx, dword [esp + 0x20]
jb 0x480723
push 4
mov edx, str.NULL
lea ecx, [esp + 0x14]
call fcn.0045b980
add esp, 4
jmp 0x4808b0
mov eax, dword [esp + 0x18]
mov ecx, dword [str.NULL]
mov dword [edx + eax - 4], ecx
jmp 0x4808ac
test al, 4
je 0x480756
push dword [edi + 4]
lea eax, [esp + 0x14]
push dword [edi]
push str._lld
push eax
call fcn.0045be50
add esp, 0x10
jmp 0x4808b0
test al, 8
je 0x48077d
movsd xmm0, qword [edi]
lea eax, [esp + 0x10]
sub esp, 8
movsd qword [esp], xmm0
push str.__.15g
push eax
call fcn.0045be50
add esp, 0x10
jmp 0x4808b0
test al, 2
je 0x480813
mov ecx, dword [esp + 0x30]
mov al, byte [ecx + 0x42]
mov byte [esp + 0x40], al
cmp al, 1
je 0x4807e2
mov edx, dword [edi + 0x10]
xorps xmm0, xmm0
push 0
push dword [esp + 0x44]
movq qword [esp + 0x78], xmm0
push dword [edi + 0xc]
mov dword [esp + 0x7c], ecx
lea ecx, [esp + 0x5c]
movdqa xmmword [esp + 0x5c], xmm0
movdqa xmmword [esp + 0x6c], xmm0
call fcn.00478640
add esp, 0xc
test byte [esp + 0x58], 2
je 0x4807de
cmp byte [esp + 0x5a], 1
je 0x4807de
mov dl, 1
lea ecx, [esp + 0x50]
call fcn.0045c210
lea edi, [esp + 0x50]
push dword [edi + 0x10]
lea eax, [esp + 0x14]
push dword [edi + 0xc]
push str._.q
push eax
call fcn.0045be50
add esp, 0x10
cmp byte [esp + 0x40], 1
je 0x4808b0
lea ecx, [esp + 0x50]
call fcn.00477f30
jmp 0x4808b0
test eax, 0x4000
je 0x480833
push dword [edi]
lea eax, [esp + 0x14]
push str.zeroblob__d_
push eax
call fcn.0045be50
add esp, 0xc
jmp 0x4808b0
push 2
mov edx, 0x56db30
lea ecx, [esp + 0x14]
call fcn.0045b9c0
mov eax, dword [edi + 0xc]
add esp, 4
xor edi, edi
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x48087c
mov esi, dword [esp + 0x3c]
mov eax, dword [esi + 0x10]
movzx eax, byte [eax + edi]
push eax
lea eax, [esp + 0x14]
push str._02x
push eax
call fcn.0045be50
inc edi
add esp, 0xc
cmp edi, dword [esp + 0x2c]
jl 0x480857
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x1c]
lea edx, [eax + 1]
cmp edx, dword [esp + 0x20]
jb 0x48089e
push 1
mov edx, 0x568afc
lea ecx, [esp + 0x14]
call fcn.0045b980
add esp, 4
jmp 0x4808b0
mov eax, dword [esp + 0x18]
mov cl, byte [0x568afc]
mov byte [edx + eax - 1], cl
mov dword [esp + 0x1c], edx
mov al, byte [esi]
test al, al
jne 0x480620
cmp dword [esp + 0x18], 0
je 0x480904
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
mov cl, byte [esp + 0x29]
jmp 0x4805b6
call fcn.00459930
mov esi, eax
add esp, 8
test esi, esi
je 0x4808ee
push edi
push dword [esp + 0x18]
push esi
call fcn.00511d80
add esp, 0xc
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.0050904e
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xec]
mov eax, dword [esp + 0x18]
pop edi
pop esi
xor ecx, esp
call fcn.0050904e
mov esp, ebp
pop ebp
ret