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

Disassembly:
mov eax, dword [0x45e8ce0]
sub esp, 0x304
test eax, 0x86000000
push ebx
push esi
push edi
jne 0x407f46
mov al, byte [0x4e220c]
mov ecx, 0x3f
mov byte [esp + 0x110], al
xor eax, eax
lea edi, [esp + 0x111]
xor ebx, ebx
rep stosd dword es:[edi], eax
mov ecx, dword [0x45f1bf0]
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp ecx, dword [0x4e110c]
jne 0x40756f
test byte [0x45f1bc4], 1
je 0x40754a
push 0xf0
push 0x140
push 0xd9
call fcn.00488190
mov edx, dword [0x4e2200]
push edx
call fcn.004011c0
add esp, 0x10
mov dword [0x4e2200], ebx
mov dword [0x4e21f8], ebx
mov dword [0x4a12f8], 0xffffffff
call fcn.00405300
call fcn.00405210
mov ecx, dword [0x4e2204]
xor eax, eax
cmp ecx, ebx
sete al
mov dword [0x4e2204], eax
mov edi, 0x4a1464
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x45f1a90
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [0x4e2204], 1
jne 0x407f46
push ebp
xor ebp, ebp
mov edi, 0xe
mov esi, 0xb
mov eax, dword [0x54c83c]
push 0x69
cmp eax, ebx
je 0x4075bb
lea eax, [esi + 0x4e]
push eax
push 0x134
push esi
push 0x116
call fcn.0044aba0
add esp, 0x14
cmp eax, 1
jne 0x4075e0
test byte [0x45f1bc4], 1
jne 0x4075f1
jmp 0x4075e0
lea ecx, [edi + 0x4e]
push ecx
push 0x12c
push edi
push 0x10e
call fcn.0044aba0
add esp, 0x14
cmp eax, 1
jne 0x4075e0
test byte [0x45f1bc4], 1
jne 0x4075f1
add esi, 0x4e
inc ebp
add edi, 0x4f
cmp esi, 0xf5
jl 0x407589
jmp 0x40760e
push 0xf0
push 0x140
push 0xd9
mov dword [0x4e2208], ebp
call fcn.00488190
add esp, 0xc
mov edx, dword [0x54b5c4]
push 1
push edx
push 0x68
push 0xe1
push 0x9f
call fcn.0047e210
mov eax, dword [0x4e2208]
add esp, 0x14
sub eax, ebx
je 0x407bac
dec eax
je 0x4078d4
dec eax
jne 0x407e69
mov eax, dword [0x54c83c]
push ebx
cmp eax, ebx
push 0x66f3
push 0x69
je 0x407663
push 0xdf
push 0xa8
jmp 0x40766d
push 0xe2
push 0x9f
call fcn.0047e210
mov dword [esp + 0x24], ebx
add esp, 0x14
mov ebx, 0x67
mov esi, dword [esp + 0x10]
mov ebp, 0x32
mov eax, dword [esi + 0x4c428c]
cmp eax, 0xffffffff
je 0x4078b5
lea eax, [eax + eax*2]
shl eax, 6
cmp word [eax + 0x4624040], 0
jne 0x4076b9
push 0
push 0x621d
push 0x6a
push ebx
push ebp
call fcn.0047e210
add esp, 0x14
mov eax, dword [esi + 0x4c428c]
push 2
lea ecx, [eax + eax*2]
shl ecx, 6
mov edx, dword [ecx + 0x46240f4]
push edx
push 0x6a
push ebx
push ebp
call fcn.0047e210
mov dword [esi + 0x4d7fa4], eax
mov eax, dword [esi + 0x4c428c]
lea ecx, [esp + 0x28]
lea eax, [eax + eax*2]
shl eax, 6
add eax, 0x4624048
push eax
push 0x4a1460
push ecx
call fcn.004923a7
lea edx, [esp + 0x34]
push 0
push edx
push 0
lea eax, [ebx + 0xc]
push 1
lea ecx, [ebp - 0x18]
push eax
push ecx
call fcn.0041d860
mov edx, dword [0x45f1bf0]
mov eax, dword [esi + 0x4d7fa4]
add esp, 0x38
cmp edx, eax
jne 0x407833
mov eax, dword [esi + 0x4c428c]
mov edx, dword [0x4e21cc]
mov edx, dword [edx*4 + 0x4ebe428]
lea eax, [eax + eax*2]
shl eax, 6
mov edi, dword [edx + 0x84]
mov ecx, dword [eax + 0x46240f8]
cmp edi, ecx
jl 0x40775e
test ecx, ecx
je 0x40775e
xor edi, edi
jmp 0x407763
mov edi, 7
lea eax, [eax + 0x4624048]
lea ecx, [esp + 0x14]
push eax
push 0x4a145c
push ecx
call fcn.004923a7
lea edx, [esp + 0x20]
push 0
push edx
push edi
push 1
push 0x138
push 0x14
call fcn.0041d860
mov eax, dword [esi + 0x4c428c]
lea edx, [esp + 0x138]
lea eax, [eax + eax*2]
shl eax, 6
mov ecx, dword [eax + 0x46240fc]
push ecx
push str.___d
push edx
call fcn.004923a7
lea eax, [esp + 0x144]
push 0
push eax
push edi
push 1
push 0x136
push 0x55
call fcn.0041d860
mov eax, dword [esi + 0x4c428c]
add esp, 0x48
lea ecx, [eax + eax*2]
lea eax, [esp + 0x14]
shl ecx, 6
mov edx, dword [ecx + 0x46240f8]
push edx
push 0x4a1448
push eax
call fcn.004923a7
lea ecx, [esp + 0x20]
push 0
push ecx
push edi
push 1
push 0x138
push 0xaa
call fcn.0041d860
mov eax, dword [esi + 0x4c428c]
lea edx, [eax + eax*2]
lea eax, [esp + 0x138]
shl edx, 6
add edx, 0x462409d
push edx
push 0x4a145c
push eax
call fcn.004923a7
add esp, 0x30
test byte [0x45f1bc4], 4
je 0x4078a3
mov ecx, dword [0x45f1bf0]
mov eax, dword [esi + 0x4d7fa4]
cmp ecx, eax
jne 0x4078a3
mov ecx, dword [esi + 0x4c428c]
lea eax, [ecx + ecx*2]
shl eax, 6
cmp word [eax + 0x4624040], 0
je 0x4078a3
mov edi, dword [0x4e21cc]
mov edx, dword [eax + 0x46240f8]
mov edi, dword [edi*4 + 0x4ebe428]
cmp dword [edi + 0x84], edx
jl 0x4078a3
test edx, edx
je 0x4078a3
movsx edx, word [eax + 0x4624044]
push 1
push edx
mov dword [0x4e2204], 0
mov dword [0x4a1310], ecx
call fcn.00408020
add esp, 8
add ebp, 0x3c
add esi, 4
cmp ebp, 0x122
jl 0x407687
mov edx, dword [esp + 0x10]
add ebx, 0x39
add edx, 0x10
cmp ebx, 0x14b
mov dword [esp + 0x10], edx
jl 0x40767e
jmp 0x407e69
mov eax, dword [0x54c83c]
push ebx
cmp eax, ebx
push 0x66f5
push 0x69
je 0x4078f1
push 0xdf
push 0xa8
jmp 0x4078fb
push 0xe2
push 0x9f
call fcn.0047e210
add esp, 0x14
xor esi, esi
mov dword [esp + 0x10], esi
mov ebx, 0x67
mov ebp, 0x32
mov eax, dword [esi + 0x4c432c]
cmp eax, 0xffffffff
je 0x407b8d
lea eax, [eax + eax*2]
shl eax, 6
cmp word [eax + 0x4624040], 0
jne 0x407945
push 0
push 0x621d
push 0x6a
push ebx
push ebp
call fcn.0047e210
add esp, 0x14
mov eax, dword [esi + 0x4c432c]
lea ecx, [eax + eax*2]
shl ecx, 6
cmp word [ecx + 0x4624042], 0x28
jne 0x407981
mov edx, dword [0x4e21cc]
mov eax, dword [edx*4 + 0x4ebe428]
cmp dword [eax + 0x78], 0xa
jg 0x407981
push 0
push 0x621d
push 0x6a
push ebx
push ebp
call fcn.0047e210
add esp, 0x14
mov eax, dword [esi + 0x4c432c]
push 2
lea ecx, [eax + eax*2]
shl ecx, 6
mov edx, dword [ecx + 0x46240f4]
push edx
push 0x6a
push ebx
push ebp
call fcn.0047e210
mov dword [esi + 0x4e2164], eax
mov eax, dword [esi + 0x4c432c]
lea ecx, [esp + 0x28]
lea eax, [eax + eax*2]
shl eax, 6
add eax, 0x4624048
push eax
push 0x4a1460
push ecx
call fcn.004923a7
lea edx, [esp + 0x34]
push 0
push edx
push 0
lea eax, [ebx + 0xc]
push 1
lea ecx, [ebp - 0x18]
push eax
push ecx
call fcn.0041d860
mov edx, dword [0x45f1bf0]
mov eax, dword [esi + 0x4e2164]
add esp, 0x38
cmp edx, eax
jne 0x407afb
mov eax, dword [esi + 0x4c432c]
mov edx, dword [0x4e21cc]
mov edx, dword [edx*4 + 0x4ebe428]
lea eax, [eax + eax*2]
shl eax, 6
mov edi, dword [edx + 0x84]
mov ecx, dword [eax + 0x46240f8]
cmp edi, ecx
jl 0x407a26
test ecx, ecx
je 0x407a26
xor edi, edi
jmp 0x407a2b
mov edi, 7
lea eax, [eax + 0x4624048]
lea ecx, [esp + 0x14]
push eax
push 0x4a145c
push ecx
call fcn.004923a7
lea edx, [esp + 0x20]
push 0
push edx
push edi
push 1
push 0x138
push 0x14
call fcn.0041d860
mov eax, dword [esi + 0x4c432c]
lea edx, [esp + 0x138]
lea eax, [eax + eax*2]
shl eax, 6
mov ecx, dword [eax + 0x46240fc]
push ecx
push str.___d
push edx
call fcn.004923a7
lea eax, [esp + 0x144]
push 0
push eax
push edi
push 1
push 0x136
push 0x55
call fcn.0041d860
mov eax, dword [esi + 0x4c432c]
add esp, 0x48
lea ecx, [eax + eax*2]
lea eax, [esp + 0x14]
shl ecx, 6
mov edx, dword [ecx + 0x46240f8]
push edx
push 0x4a1448
push eax
call fcn.004923a7
lea ecx, [esp + 0x20]
push 0
push ecx
push edi
push 1
push 0x138
push 0xaa
call fcn.0041d860
mov eax, dword [esi + 0x4c432c]
lea edx, [eax + eax*2]
lea eax, [esp + 0x138]
shl edx, 6
add edx, 0x462409d
push edx
push 0x4a145c
push eax
call fcn.004923a7
add esp, 0x30
test byte [0x45f1bc4], 4
je 0x407b7b
mov ecx, dword [0x45f1bf0]
mov eax, dword [esi + 0x4e2164]
cmp ecx, eax
jne 0x407b7b
mov ecx, dword [esi + 0x4c432c]
lea eax, [ecx + ecx*2]
shl eax, 6
cmp word [eax + 0x4624040], 0
je 0x407b7b
mov edx, dword [0x4e21cc]
mov edi, dword [edx*4 + 0x4ebe428]
mov edx, dword [eax + 0x46240f8]
cmp dword [edi + 0x84], edx
jl 0x407b7b
test edx, edx
je 0x407b7b
cmp word [eax + 0x4624042], 0x28
jne 0x407b59
cmp dword [edi + 0x78], 0xa
jle 0x407b7b
movsx eax, word [eax + 0x4624044]
push 1
push eax
mov dword [0x4e2204], 0
mov dword [0x4a1310], ecx
call fcn.00408020
add esp, 8
add ebp, 0x3c
add esi, 4
cmp ebp, 0x122
jl 0x407913
mov esi, dword [esp + 0x10]
add ebx, 0x39
add esi, 0x10
cmp ebx, 0x14b
mov dword [esp + 0x10], esi
jl 0x40790e
jmp 0x407e69
mov eax, dword [0x54c83c]
push ebx
cmp eax, ebx
push 0x66f4
push 0x69
je 0x407bc9
push 0xdf
push 0xa8
jmp 0x407bd3
push 0xe2
push 0x9f
call fcn.0047e210
add esp, 0x14
xor esi, esi
mov dword [esp + 0x10], esi
mov ebx, 0x67
mov ebp, 0x32
mov eax, dword [esi + 0x4c42dc]
cmp eax, 0xffffffff
je 0x407e4f
lea ecx, [eax + eax*2]
shl ecx, 6
cmp word [ecx + 0x4624040], 0
jne 0x407c1d
push 0
push 0x621d
push 0x6a
push ebx
push ebp
call fcn.0047e210
add esp, 0x14
mov eax, dword [esi + 0x4c42dc]
push 2
lea edx, [eax + eax*2]
shl edx, 6
mov eax, dword [edx + 0x46240f4]
push eax
push 0x6a
push ebx
push ebp
call fcn.0047e210
mov dword [esi + 0x4e107c], eax
mov eax, dword [esi + 0x4c42dc]
lea edx, [esp + 0x28]
lea ecx, [eax + eax*2]
shl ecx, 6
add ecx, 0x4624048
push ecx
push 0x4a1460
push edx
call fcn.004923a7
lea eax, [esp + 0x34]
push 0
push eax
push 0
lea ecx, [ebx + 0xc]
push 1
lea edx, [ebp - 0x18]
push ecx
push edx
call fcn.0041d860
mov eax, dword [0x45f1bf0]
mov ecx, dword [esi + 0x4e107c]
add esp, 0x38
cmp eax, ecx
jne 0x407da3
mov eax, dword [esi + 0x4c42dc]
mov edx, dword [0x4e21cc]
mov edx, dword [edx*4 + 0x4ebe428]
lea eax, [eax + eax*2]
shl eax, 6
mov edi, dword [edx + 0x84]
mov ecx, dword [eax + 0x46240f8]
cmp edi, ecx
jl 0x407cc2
test ecx, ecx
je 0x407cc2
xor edi, edi
jmp 0x407cc7
mov edi, 7
cmp word [eax + 0x4624042], 0xb
jne 0x407cd3
xor edi, edi
lea eax, [eax + 0x4624048]
lea ecx, [esp + 0x14]
push eax
push 0x4a145c
push ecx
call fcn.004923a7
lea edx, [esp + 0x20]
push 0
push edx
push edi
push 1
push 0x138
push 0x14
call fcn.0041d860
mov eax, dword [esi + 0x4c42dc]
lea edx, [esp + 0x138]
lea eax, [eax + eax*2]
shl eax, 6
mov ecx, dword [eax + 0x46240fc]
push ecx
push str.___d
push edx
call fcn.004923a7
lea eax, [esp + 0x144]
push 0
push eax
push edi
push 1
push 0x136
push 0x55
call fcn.0041d860
mov eax, dword [esi + 0x4c42dc]
add esp, 0x48
lea ecx, [eax + eax*2]
lea eax, [esp + 0x14]
shl ecx, 6
mov edx, dword [ecx + 0x46240f8]
push edx
push 0x4a1448
push eax
call fcn.004923a7
lea ecx, [esp + 0x20]
push 0
push ecx
push edi
push 1
push 0x138
push 0xaa
call fcn.0041d860
mov eax, dword [esi + 0x4c42dc]
lea edx, [eax + eax*2]
lea eax, [esp + 0x138]
shl edx, 6
add edx, 0x462409d
push edx
push 0x4a145c
push eax
call fcn.004923a7
add esp, 0x30
test byte [0x45f1bc4], 4
je 0x407e3d
mov ecx, dword [0x45f1bf0]
mov eax, dword [esi + 0x4e107c]
cmp ecx, eax
jne 0x407e3d
mov ecx, dword [esi + 0x4c42dc]
lea eax, [ecx + ecx*2]
shl eax, 6
cmp word [eax + 0x4624040], 0
je 0x407e3d
mov edi, dword [0x4e21cc]
mov edx, dword [eax + 0x46240f8]
mov edi, dword [edi*4 + 0x4ebe428]
cmp dword [edi + 0x84], edx
jl 0x407e11
test edx, edx
je 0x407e11
movsx edx, word [eax + 0x4624044]
push 1
mov dword [0x4e2204], 0
mov dword [0x4a1310], ecx
push edx
jmp 0x407e35
cmp word [eax + 0x4624042], 0xb
jne 0x407e3d
test edx, edx
jne 0x407e3d
movsx eax, word [eax + 0x4624044]
push 1
mov dword [0x4e2204], edx
mov dword [0x4a1310], ecx
push eax
call fcn.00408020
add esp, 8
add ebp, 0x3c
add esi, 4
cmp ebp, 0x122
jl 0x407beb
mov esi, dword [esp + 0x10]
add ebx, 0x39
add esi, 0x10
cmp ebx, 0x14b
mov dword [esp + 0x10], esi
jl 0x407be6
lea ecx, [esp + 0x114]
lea edx, [esp + 0x214]
push ecx
push 0x4a145c
push edx
lea esi, [esp + 0x120]
call fcn.004923a7
add esp, 0xc
mov ebx, 0x154
pop ebp
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x22
jbe 0x407f07
push 0x22
lea eax, [esp + 0x114]
push esi
push eax
call fcn.004924c0
lea ecx, [esp + 0x21c]
mov byte [esp + 0x23e], 0
push ecx
call fcn.00411900
add esp, 0x10
cmp eax, 3
jne 0x407ede
mov byte [esp + 0x231], 0
add esi, 0x21
jmp 0x407ee9
mov byte [esp + 0x232], 0
add esi, 0x22
lea edx, [esp + 0x210]
push 0
push edx
push 0
push 1
push ebx
push 0x12
call fcn.0041d860
add esp, 0x18
add ebx, 0x18
jmp 0x407e93
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x210]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x214]
push ecx
push 0
push 1
push ebx
push 0x12
call fcn.0041d860
add esp, 0x18
pop edi
pop esi
pop ebx
add esp, 0x304
ret