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

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0xbc
mov ebp, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
lea eax, [esp + 0x40]
mov edx, dword [ebp]
call fcn.004859b0
cmp byte [esp + 0x40], 0
jne 0x407500
lea eax, [esp + 0x44]
lea ecx, [ebx + 4]
mov dword [esp], eax
lea ebp, [ebx + 0x28]
call fcn.00433540
mov dword [ebx + 0x20], ebp
sub esp, 4
mov eax, dword [esp + 0x74]
lea esi, [esp + 0x4c]
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x44]
cmp eax, esi
je 0x4077d0
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 0x48]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x60]
lea edx, [ebx + 0x40]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x64]
mov dword [esp + 0x48], 0
mov byte [esp + 0x4c], 0
mov dword [ebx + 0x38], edx
cmp edi, eax
je 0x407950
mov edx, dword [esp + 0x64]
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x40], edx
mov edi, dword [esp + 0x14]
cmp byte [esp + 0x40], 0
mov byte [ebx], 0
mov dword [esp + 0x5c], eax
mov dword [ebx + 0x3c], edi
mov dword [esp + 0x60], 0
mov byte [esp + 0x64], 0
je 0x4074ce
mov edx, dword [esp + 0x64]
mov dword [esp], eax
sub edx, eax
mov dword [esp + 4], edx
call fcn.0054fb40
mov edx, dword [esp + 0x44]
cmp edx, esi
je 0x4074e9
mov eax, dword [esp + 0x4c]
mov dword [esp], edx
add eax, 1
mov dword [esp + 4], eax
call fcn.0054fb40
add esp, 0xbc
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 8
lea eax, [esp + 0x44]
mov dword [esp], ebp
lea ecx, [esp + 0x78]
mov dword [esp + 4], eax
call fcn.0040d750
sub esp, 8
cmp byte [esp + 0x78], 0
je 0x407708
cmp byte [esp + 0xa0], 0
jne 0x407598
mov dword [esp + 0x24], 0
mov byte [esp + 0x20], 1
mov eax, dword [esp + 0xa8]
cmp eax, 0x5ec0c0
je 0x40754f
mov dword [esp], eax
call fcn.004a0a88
cmp byte [esp + 0xa0], 0
jne 0x4079b0
movzx eax, byte [esp + 0x20]
test al, al
je 0x407894
mov eax, dword [esp + 0x24]
cmp byte [esp + 0x40], 0
mov byte [ebx], 1
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x5c]
je 0x4077ac
lea esi, [esp + 0x4c]
test eax, eax
je 0x4074ce
jmp 0x4074bc
mov eax, dword [esp + 0xd4]
test eax, eax
je 0x40783b
mov eax, dword [ebp + 0x38]
mov esi, dword [ebp + 0x34]
mov dword [esp + 0x14], eax
cmp esi, eax
je 0x40783b
mov dword [esp + 0x18], ebx
add esi, 0x18
mov dword [esp + 0xd0], ebp
jmp 0x4075e5
lea eax, [esi + 0x94]
add esi, 0x7c
cmp dword [esp + 0x14], esi
je 0x407830
mov esi, eax
mov eax, dword [esp + 0xd4]
mov ebx, dword [esi - 0x14]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
cmp ebx, eax
jne 0x4075d0
mov eax, dword [esi - 0x18]
test ebx, ebx
je 0x40761d
mov edi, dword [esp + 0xd4]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edi
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x4075d0
cmp byte [esi + 0x24], 0
je 0x4078a0
lea eax, [esp + 0x7c]
cmp esi, eax
je 0x40765e
mov ebp, dword [esi]
lea eax, [esi + 8]
mov ebx, dword [esp + 0x80]
cmp ebp, eax
je 0x407c30
mov edi, dword [esi + 8]
cmp edi, ebx
jb 0x407a88
test ebx, ebx
jne 0x407abe
mov dword [esi + 4], ebx
mov byte [ebp + ebx], 0
lea eax, [esi + 0x18]
lea edi, [esp + 0x94]
cmp edi, eax
je 0x4075d0
mov ecx, dword [esp + 0x98]
mov ebx, dword [esp + 0x94]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov edi, ecx
sub edi, ebx
sub edx, eax
cmp edx, edi
jb 0x407c40
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x1c], edx
sub edx, eax
cmp edx, edi
jae 0x407a60
cmp edx, 4
jle 0x407d58
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msvcrt.dll_memmove
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
mov ecx, dword [esp + 0x98]
mov ebx, dword [esp + 0x94]
mov dword [esp + 0x1c], edx
sub edx, eax
add edx, ebx
sub ecx, edx
cmp ecx, 4
jle 0x407d46
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_memmove
add edi, dword [esi + 0x18]
mov ebp, edi
mov dword [esi + 0x1c], ebp
jmp 0x4075d0
mov eax, dword [esp + 0x7c]
lea esi, [esp + 0x2c]
lea edx, [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x24], esi
cmp eax, edx
je 0x407ae8
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x28], ecx
mov byte [esp + 0x20], 0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x24]
lea ecx, [ebx + 4]
mov dword [esp], eax
call fcn.004717b0
lea edx, [ebx + 0x28]
sub esp, 4
mov dword [ebx + 0x20], edx
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x407b20
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [ebx + 0x28], eax
lea eax, [ebx + 0x40]
cmp byte [esp + 0x40], 0
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x38], eax
mov eax, dword [esp + 0x5c]
mov dword [ebx + 0x3c], 0
mov byte [ebx + 0x40], 0
mov byte [ebx], 0
jne 0x407583
lea edx, [esp + 0x64]
cmp eax, edx
je 0x4077c7
mov edi, dword [esp + 0x64]
mov dword [esp], eax
lea edx, [edi + 1]
mov dword [esp + 4], edx
call fcn.0054fb40
lea esi, [esp + 0x4c]
jmp 0x4074ce
mov eax, dword [esp + 0x48]
lea edx, [eax + 1]
cmp edx, 4
jb 0x407a30
mov ecx, dword [esi]
lea edi, [ebx + 0x2c]
and edi, 0xfffffffc
mov dword [ebx + 0x28], ecx
mov ecx, dword [esi + edx - 4]
mov dword [ebp + edx - 4], ecx
mov ecx, ebp
mov ebp, esi
sub ecx, edi
add edx, ecx
sub ebp, ecx
and edx, 0xfffffffc
cmp edx, 4
jb 0x40745e
mov dword [esp + 0x14], eax
and edx, 0xfffffffc
xor ecx, ecx
mov eax, dword [ebp + ecx]
mov dword [edi + ecx], eax
add ecx, 4
cmp ecx, edx
jb 0x407812
mov eax, dword [esp + 0x14]
jmp 0x40745e
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0xd0]
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x407b60
mov dword [esp + 0x24], eax
mov byte [esp + 0x20], 1
cmp byte [esp + 0x78], 0
jne 0x407539
mov edx, dword [esp + 0x7c]
lea eax, [esp + 0x84]
cmp edx, eax
je 0x40756a
mov eax, dword [esp + 0x84]
mov dword [esp], edx
add eax, 1
mov dword [esp + 4], eax
call fcn.0054fb40
movzx eax, byte [esp + 0x20]
test al, al
jne 0x40756a
lea esi, [esp + 0x2c]
jmp 0x40774d
lea eax, [esi + 8]
mov edx, dword [esp + 0x80]
mov ecx, esi
mov dword [esi], eax
mov eax, dword [esp + 0x7c]
add edx, eax
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00485910
sub esp, 8
mov edi, dword [esp + 0x98]
sub edi, dword [esp + 0x94]
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
je 0x4079f0
cmp edi, 0x7ffffffc
ja 0x407d2e
mov dword [esp], edi
call fcn.0054fb80
mov ebp, dword [esp + 0x98]
mov ebx, eax
mov eax, dword [esp + 0x94]
movd xmm0, ebx
add edi, ebx
punpckldq xmm0, xmm0
sub ebp, eax
mov dword [esi + 0x20], edi
movq qword [esi + 0x18], xmm0
cmp ebp, 4
jle 0x407d37
mov dword [esp + 8], ebp
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.msvcrt.dll_memmove
add ebx, ebp
mov byte [esi + 0x24], 1
mov dword [esi + 0x1c], ebx
jmp 0x4075d0
mov edi, dword [esp + 0x14]
add edi, 1
cmp edi, 4
jb 0x407a00
mov ebp, dword [eax]
mov ecx, eax
mov dword [ebx + 0x40], ebp
mov ebp, dword [eax + edi - 4]
mov dword [edx + edi - 4], ebp
lea ebp, [ebx + 0x44]
and ebp, 0xfffffffc
sub edx, ebp
add edi, edx
sub ecx, edx
and edi, 0xfffffffc
cmp edi, 4
jb 0x40749a
mov dword [esp + 0x18], ebx
and edi, 0xfffffffc
xor edx, edx
mov ebx, dword [ecx + edx]
mov dword [ebp + edx], ebx
add edx, 4
cmp edx, edi
jb 0x407990
mov ebx, dword [esp + 0x18]
jmp 0x40749a
mov eax, dword [esp + 0x94]
mov byte [esp + 0xa0], 0
test eax, eax
je 0x4079d8
mov edx, dword [esp + 0x9c]
mov dword [esp], eax
sub edx, eax
mov dword [esp + 4], edx
call fcn.0054fb40
mov edx, dword [esp + 0x7c]
lea eax, [esp + 0x84]
cmp edx, eax
jne 0x407871
jmp 0x40755d
xor ebp, ebp
xor ebx, ebx
jmp 0x40793d
test edi, edi
je 0x40749a
movzx ecx, byte [eax]
mov byte [ebx + 0x40], cl
test edi, 2
je 0x40749a
movzx ebp, word [eax + edi - 2]
mov word [edx + edi - 2], bp
jmp 0x40749a
test edx, edx
je 0x40745e
movzx ecx, byte [esi]
mov byte [ebx + 0x28], cl
test dl, 2
je 0x40745e
movzx ecx, word [esi + edx - 2]
mov word [ebp + edx - 2], cx
jmp 0x40745e
cmp edi, 4
jle 0x407d67
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msvcrt.dll_memmove
add edi, dword [esi + 0x18]
mov ebp, edi
jmp 0x4076fc
test ebx, ebx
js 0x407d79
add edi, edi
cmp ebx, edi
jae 0x407c15
test edi, edi
js 0x407d29
lea eax, [edi + 1]
lea esi, [esi]
mov dword [esp], eax
call fcn.0054fb80
mov ecx, esi
mov ebp, eax
call fcn.00539180
mov dword [esi], ebp
mov dword [esi + 8], edi
mov eax, dword [esp + 0x7c]
cmp ebx, 1
je 0x407c98
mov dword [esp], ebp
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
mov ebp, dword [esi]
jmp 0x407656
lea edi, [ecx + 1]
cmp edi, 4
jae 0x407ca8
test edi, edi
je 0x407739
movzx edx, byte [eax]
mov byte [esp + 0x2c], dl
test edi, 2
je 0x407739
movzx eax, word [eax + edi - 2]
mov word [esp + edi + 0x2a], ax
jmp 0x407739
mov ecx, dword [esp + 0x28]
lea edi, [ecx + 1]
cmp edi, 4
jae 0x407cd8
test edi, edi
je 0x407786
movzx eax, byte [esi]
mov byte [ebx + 0x28], al
test edi, 2
je 0x407786
movzx eax, word [esi + edi - 2]
mov word [edx + edi - 2], ax
jmp 0x407786
lea eax, [esp + 0x7c]
lea ecx, [ebp + 4]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
mov dword [esp], eax
call fcn.0047f8e0
mov esi, eax
sub esp, 4
lea eax, [eax + 4]
mov dword [esi + 0xa4], eax
lea edx, [esp + 0xa8]
lea eax, [esi + 0x90]
lea edi, [esi + 0x28]
cmp edx, eax
je 0x407d14
mov edx, dword [esi + 0x90]
mov ebp, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
cmp edx, 0x5ec0c0
je 0x407bc9
mov dword [esp], edx
mov dword [esp + 0x14], eax
call fcn.004a0a88
mov eax, dword [esp + 0x14]
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], ebp
mov dword [esp + 0xa8], 0x5ec0c0
mov dword [esp + 0xac], 0
lea ecx, [esi + 0x38]
add esi, 0x98
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], ebp
call fcn.0040e4d0
sub esp, 0xc
mov dword [esp + 0x24], edi
mov byte [esp + 0x20], 1
jmp 0x407853
mov eax, ebx
add eax, 1
js 0x407d29
mov edi, ebx
jmp 0x407aa8
mov edi, 0xf
jmp 0x407646
cmp edi, 0x7ffffffc
ja 0x407d25
mov dword [esp], edi
call fcn.0054fb80
mov ebp, eax
cmp edi, 4
jle 0x407d6f
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msvcrt.dll_memmove
mov eax, dword [esi + 0x18]
test eax, eax
je 0x407c87
mov edx, dword [esi + 0x20]
mov dword [esp], eax
sub edx, eax
mov dword [esp + 4], edx
call fcn.0054fb40
mov dword [esi + 0x18], ebp
add ebp, edi
mov dword [esi + 0x20], ebp
jmp 0x4076fc
movzx eax, byte [eax]
mov byte [ebp], al
mov ebp, dword [esi]
jmp 0x407656
mov edx, dword [eax + edi - 4]
mov dword [esp + edi + 0x28], edx
cmp ecx, 4
jb 0x407739
mov ebp, ecx
xor edx, edx
and ebp, 0xfffffffc
mov edi, dword [eax + edx]
mov dword [esi + edx], edi
add edx, 4
cmp edx, ebp
jb 0x407cc0
jmp 0x407739
mov eax, dword [esi]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + edi - 4]
mov dword [edx + edi - 4], eax
lea eax, [ebx + 0x2c]
and eax, 0xfffffffc
sub edx, eax
add edi, edx
sub esi, edx
and edi, 0xfffffffc
cmp edi, 4
jb 0x407786
and edi, 0xfffffffc
xor edx, edx
mov ebp, dword [esi + edx]
mov dword [eax + edx], ebp
add edx, 4
cmp edx, edi
jb 0x407d02
jmp 0x407786
mov eax, dword [esi + 0x90]
mov ebp, dword [esi + 0x94]
jmp 0x407beb
test edi, edi
js 0x407d32
call fcn.005523a0
test edi, edi
jns 0x407d29
call fcn.005523d0
jne 0x40793d
mov eax, dword [eax]
mov dword [ebx], eax
jmp 0x40793d
jne 0x407d50
mov edx, dword [edx]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], edx
lea ebp, [eax + edi]
jmp 0x4076fc
jne 0x4076d6
mov ebp, dword [ebx]
mov dword [eax], ebp
jmp 0x4076d6
jne 0x407d50
mov edx, dword [ebx]
mov dword [eax], edx
jmp 0x407d50
mov eax, dword [ebx]
mov dword [ebp], eax
jmp 0x407c6f
mov dword [esp], 0x561314
call fcn.00552550
nop
lea esi, cs:[esi]
nop