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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465915
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x47d080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp word [esi + 4], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x40], ebx
jne 0x40e9f9
mov edx, str.Error:_File_Version_is_not_set
mov ecx, 0x47eb28
call fcn.004218e0
push eax
call fcn.00421b80
add esp, 4
xor al, al
jmp 0x40f0df
mov ecx, ebx
call fcn.004044d0
mov ecx, ebx
mov dword [esi + 8], eax
call fcn.004044d0
mov dword [esi + 0xc], eax
test eax, eax
js 0x40f0dd
mov dword [ebp - 0x3c], 0
je 0x40ead0
mov ecx, ebx
call fcn.004044d0
mov edi, eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
test edi, edi
js 0x40e9f2
mov eax, dword [esi + 0x24]
lea ecx, [esi + 0x20]
cmp eax, dword [esi + 0x28]
je 0x40ea48
mov dword [eax], edi
add dword [esi + 0x24], 4
jmp 0x40ea52
lea edx, [ebp - 0x44]
push edx
push eax
call fcn.0042ee10
test edi, edi
je 0x40eac0
mov ecx, ebx
call fcn.00404630
mov bl, al
mov eax, dword [esi + 0x30]
mov byte [ebp - 0x35], bl
cmp eax, dword [esi + 0x34]
je 0x40ea71
mov byte [eax], bl
inc dword [esi + 0x30]
jmp 0x40ea7e
lea ecx, [ebp - 0x35]
push ecx
push eax
lea ecx, [esi + 0x2c]
call fcn.0042f750
test bl, bl
je 0x40eab5
movzx edi, bl
mov ecx, dword [ebp - 0x40]
call fcn.004044d0
mov ecx, dword [esi + 0x3c]
mov dword [ebp - 0x44], eax
cmp ecx, dword [esi + 0x40]
je 0x40eaa0
mov dword [ecx], eax
add dword [esi + 0x3c], 4
jmp 0x40eaad
lea eax, [ebp - 0x44]
push eax
push ecx
lea ecx, [esi + 0x38]
call fcn.0042ee10
sub edi, 1
jne 0x40ea85
mov edi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x40]
sub edi, 1
mov dword [ebp - 0x48], edi
jne 0x40ea56
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp eax, dword [esi + 0xc]
jb 0x40ea22
mov ecx, ebx
call fcn.004044d0
mov dword [esi + 0x10], eax
cmp eax, 0x270f
ja 0x40f0dd
test eax, eax
jle 0x40eb64
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
test eax, eax
je 0x40eb61
mov ecx, dword [ebp - 0x40]
call fcn.004044d0
mov edi, eax
mov dword [ebp - 0x44], edi
test edi, edi
js 0x40e9f2
mov eax, dword [esi + 0x48]
lea ecx, [esi + 0x44]
cmp eax, dword [esi + 0x4c]
je 0x40eb1a
mov dword [eax], edi
add dword [esi + 0x48], 4
jmp 0x40eb24
lea edx, [ebp - 0x44]
push edx
push eax
call fcn.0042ee10
test edi, edi
je 0x40eb58
mov ecx, dword [ebp - 0x40]
call fcn.004044d0
mov ecx, dword [esi + 0x54]
mov dword [ebp - 0x44], eax
cmp ecx, dword [esi + 0x58]
je 0x40eb43
mov dword [ecx], eax
add dword [esi + 0x54], 4
jmp 0x40eb50
lea eax, [ebp - 0x44]
push eax
push ecx
lea ecx, [esi + 0x50]
call fcn.0042ee10
sub edi, 1
jne 0x40eb28
mov ebx, dword [ebp - 0x3c]
inc ebx
mov dword [ebp - 0x3c], ebx
cmp ebx, dword [esi + 0x10]
jb 0x40eaf2
mov ebx, dword [ebp - 0x40]
mov ecx, ebx
call fcn.004044d0
mov dword [esi + 0x14], eax
test eax, eax
js 0x40f0dd
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
test eax, eax
je 0x40ed64
cmp word [esi + 4], 0x6f
jae 0x40ec50
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], ax
mov byte [ebp - 0x12], al
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x44], 0xffff
call fcn.00422220
mov eax, dword [esi + 0x9c]
lea ecx, [esi + 0x98]
add esp, 4
cmp eax, dword [esi + 0xa0]
je 0x40ebf0
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
call fcn.004358e0
add dword [esi + 0x9c], 0x10
jmp 0x40ebfa
lea edx, [ebp - 0x20]
push edx
push eax
call fcn.0042ea10
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x40ed57
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x40ec2f
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f0fd
push edx
push ecx
call fcn.0043c5fc
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
jmp 0x40ed54
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x24], 0
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 4], 1
call fcn.004044d0
mov ecx, eax
mov byte [ebp - 0x24], 1
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x40ecea
mov edx, dword [ebp - 0x30]
mov ebx, edx
mov edi, dword [ebp - 0x34]
sub ebx, edi
cmp ecx, ebx
jae 0x40ec9f
lea edx, [edi + ecx]
jmp 0x40ecd2
jbe 0x40ecd5
mov eax, dword [ebp - 0x2c]
sub eax, edi
cmp ecx, eax
jbe 0x40ecbc
push ecx
push ecx
lea ecx, [ebp - 0x34]
call fcn.00433890
mov edx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
jmp 0x40ecd5
sub ecx, ebx
push ecx
push 0
push edx
lea edi, [edx + ecx]
call fcn.0043e210
mov edx, edi
add esp, 0xc
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x30], edx
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x44]
push eax
sub edx, edi
push edi
mov dword [ebp - 0x44], edx
call fcn.004046e0
mov ebx, dword [ebp - 0x3c]
mov eax, dword [esi + 0x84]
lea ecx, [esi + 0x80]
cmp eax, dword [esi + 0x88]
je 0x40ed12
lea ecx, [ebp - 0x34]
push ecx
mov ecx, eax
call fcn.00435ee0
add dword [esi + 0x84], 0x14
jmp 0x40ed1c
lea edx, [ebp - 0x34]
push edx
push eax
call fcn.0042e860
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x40ed57
mov edx, dword [ebp - 0x2c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x40ed4d
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f0fd
push edx
push ecx
call fcn.0043c5fc
add esp, 8
inc ebx
mov dword [ebp - 0x3c], ebx
cmp ebx, dword [esi + 0x14]
jb 0x40eb83
mov ebx, dword [ebp - 0x40]
mov ecx, ebx
call fcn.004044d0
mov dword [esi + 0x18], eax
test eax, eax
js 0x40e9f2
cmp eax, 0x2710
ja 0x40e9f2
xor edi, edi
mov dword [ebp - 0x3c], edi
test eax, eax
je 0x40edfc
nop dword [eax]
mov ecx, ebx
call fcn.00404630
mov bl, al
mov eax, dword [esi + 0x60]
mov byte [ebp - 0x35], bl
cmp eax, dword [esi + 0x64]
je 0x40edab
mov byte [eax], bl
inc dword [esi + 0x60]
jmp 0x40edb8
lea ecx, [ebp - 0x35]
push ecx
push eax
lea ecx, [esi + 0x5c]
call fcn.0042f750
test bl, bl
je 0x40edf0
movzx edi, bl
nop
mov ecx, dword [ebp - 0x40]
call fcn.004044d0
mov ecx, dword [esi + 0x6c]
mov dword [ebp - 0x44], eax
cmp ecx, dword [esi + 0x70]
je 0x40eddb
mov dword [ecx], eax
add dword [esi + 0x6c], 4
jmp 0x40ede8
lea eax, [ebp - 0x44]
push eax
push ecx
lea ecx, [esi + 0x68]
call fcn.0042ee10
sub edi, 1
jne 0x40edc0
mov edi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x40]
inc edi
mov dword [ebp - 0x3c], edi
cmp edi, dword [esi + 0x18]
jb 0x40ed90
mov edi, dword [ebp - 0x40]
mov ecx, edi
call fcn.004044d0
mov dword [esi + 0x1c], eax
cmp eax, 0x2710
ja 0x40f0dd
test eax, eax
jle 0x40e9f2
mov dword [ebp - 0x44], 0
mov ecx, edi
call fcn.00404630
mov bl, al
mov eax, dword [esi + 0x78]
mov byte [ebp - 0x35], bl
cmp eax, dword [esi + 0x7c]
je 0x40ee3e
mov byte [eax], bl
inc dword [esi + 0x78]
jmp 0x40ee4b
lea ecx, [ebp - 0x35]
push ecx
push eax
lea ecx, [esi + 0x74]
call fcn.0042f750
test bl, bl
je 0x40f0cd
movzx eax, bl
xor ebx, ebx
cmp word [esi + 4], 0x6f
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x3c], ebx
jae 0x40efae
test eax, eax
je 0x40f0cd
nop dword [eax]
nop word [eax + eax]
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], ax
mov byte [ebp - 0x12], al
mov ecx, edi
mov dword [ebp - 4], 3
call fcn.00404580
movzx ecx, ax
mov word [ebp - 0x14], ax
mov byte [ebp - 0x12], 1
test ax, ax
je 0x40ef1e
mov edi, dword [ebp - 0x20]
mov edx, ecx
mov ecx, dword [ebp - 0x1c]
mov ebx, ecx
sub ebx, edi
cmp edx, ebx
jae 0x40eed1
lea ecx, [edi + edx]
jmp 0x40ef04
jbe 0x40ef07
mov eax, dword [ebp - 0x18]
sub eax, edi
cmp edx, eax
jbe 0x40eeee
push ecx
push edx
lea ecx, [ebp - 0x20]
call fcn.00433890
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
jmp 0x40ef07
sub edx, ebx
push edx
push 0
push ecx
lea edi, [ecx + edx]
call fcn.0043e210
mov ecx, edi
add esp, 0xc
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x4c]
sub ecx, edi
push eax
push edi
mov edi, dword [ebp - 0x40]
mov dword [ebp - 0x4c], ecx
mov ecx, edi
call fcn.004046e0
mov ebx, dword [ebp - 0x3c]
mov eax, dword [esi + 0xa8]
lea ecx, [ebp - 0x20]
push ecx
cmp eax, dword [esi + 0xac]
je 0x40ef40
mov ecx, eax
call fcn.004358e0
add dword [esi + 0xa8], 0x10
jmp 0x40ef4c
push eax
lea ecx, [esi + 0xa4]
call fcn.0042ea10
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x40ef9c
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x40ef7d
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f0fd
push edx
push ecx
call fcn.0043c5fc
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
inc ebx
mov dword [ebp - 0x3c], ebx
cmp ebx, dword [ebp - 0x48]
jb 0x40ee80
jmp 0x40f0cd
test eax, eax
je 0x40f0cd
nop word [eax + eax]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x24], 0
mov ecx, edi
mov dword [ebp - 4], 5
call fcn.004044d0
mov ecx, eax
mov byte [ebp - 0x24], 1
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x40f05b
mov edx, dword [ebp - 0x30]
mov ebx, edx
mov edi, dword [ebp - 0x34]
sub ebx, edi
cmp ecx, ebx
jae 0x40f00e
lea edx, [edi + ecx]
jmp 0x40f041
jbe 0x40f044
mov eax, dword [ebp - 0x2c]
sub eax, edi
cmp ecx, eax
jbe 0x40f02b
push ecx
push ecx
lea ecx, [ebp - 0x34]
call fcn.00433890
mov edx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
jmp 0x40f044
sub ecx, ebx
push ecx
push 0
push edx
lea edi, [edx + ecx]
call fcn.0043e210
mov edx, edi
add esp, 0xc
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x30], edx
lea eax, [ebp - 0x4c]
sub edx, edi
push eax
push edi
mov edi, dword [ebp - 0x40]
mov ecx, edi
mov dword [ebp - 0x4c], edx
call fcn.004046e0
mov ebx, dword [ebp - 0x3c]
mov eax, dword [esi + 0x90]
lea ecx, [ebp - 0x34]
push ecx
cmp eax, dword [esi + 0x94]
je 0x40f07d
mov ecx, eax
call fcn.00435ee0
add dword [esi + 0x90], 0x14
jmp 0x40f089
push eax
lea ecx, [esi + 0x8c]
call fcn.0042e860
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x40f0c0
mov edx, dword [ebp - 0x2c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x40f0b6
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f0fd
push edx
push ecx
call fcn.0043c5fc
add esp, 8
inc ebx
mov dword [ebp - 0x3c], ebx
cmp ebx, dword [ebp - 0x48]
jb 0x40efc0
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp eax, dword [esi + 0x1c]
jb 0x40ee23
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043c5a8
mov esp, ebp
pop ebp
ret 4
call fcn.0044f733
int3