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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4651d8
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
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]
jne 0x409229
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 0x4096fe
mov ecx, ebx
call fcn.004044d0
mov ecx, ebx
mov dword [esi + 8], eax
call fcn.004044d0
mov ecx, ebx
mov dword [esi + 0xc], eax
call fcn.004044d0
cmp word [esi + 4], 0x69
mov dword [esi + 0x10], eax
jb 0x40930d
mov ecx, ebx
call fcn.004044d0
mov ecx, ebx
mov dword [esi + 0x14], eax
call fcn.004044d0
mov ecx, ebx
mov dword [esi + 0x18], eax
call fcn.004044d0
mov dword [esi + 0x1c], eax
cmp eax, 0xffffffff
je 0x40930d
mov eax, dword [ebx + 0x14]
mov ecx, ebx
sub eax, 4
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x124]
push eax
call fcn.004047b0
mov ecx, 3
mov dword [ebp - 0x124], ecx
nop
xor eax, eax
mov dword [ebp - 0x128], eax
cmp dword [esi + 0x14], eax
jbe 0x409302
nop dword [eax]
xor edi, edi
cmp dword [esi + 0x18], edi
jbe 0x4092f0
mov ecx, ebx
call fcn.004044d0
mov ecx, dword [esi + 0x5c]
mov dword [ebp - 0x11c], eax
cmp ecx, dword [esi + 0x60]
je 0x4092d4
mov dword [ecx], eax
add dword [esi + 0x5c], 4
jmp 0x4092e4
lea eax, [ebp - 0x11c]
push eax
push ecx
lea ecx, [esi + 0x58]
call fcn.0042ee10
inc edi
cmp edi, dword [esi + 0x18]
jb 0x4092b7
mov eax, dword [ebp - 0x128]
inc eax
mov dword [ebp - 0x128], eax
cmp eax, dword [esi + 0x14]
jb 0x4092b0
mov ecx, dword [ebp - 0x124]
sub ecx, 1
mov dword [ebp - 0x124], ecx
jne 0x4092a0
mov ecx, ebx
lea edi, [esi + 0x88]
call fcn.004044d0
mov ecx, eax
mov byte [edi + 0x10], 1
mov dword [edi + 0xc], ecx
test ecx, ecx
je 0x409394
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ebp - 0x11c], edx
sub edx, eax
cmp ecx, edx
jae 0x40933f
add eax, ecx
mov dword [edi + 4], eax
jmp 0x409378
jbe 0x409378
mov eax, dword [edi + 8]
sub eax, dword [edi]
cmp ecx, eax
jbe 0x409355
push ecx
push ecx
mov ecx, edi
call fcn.00433890
jmp 0x409378
mov eax, dword [ebp - 0x11c]
sub ecx, edx
push ecx
push 0
push eax
lea edi, [ecx + eax]
call fcn.0043e210
mov dword [esi + 0x8c], edi
add esp, 0xc
lea edi, [esi + 0x88]
mov ecx, dword [edi]
mov eax, dword [edi + 4]
sub eax, ecx
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x11c]
push eax
push ecx
mov ecx, ebx
call fcn.004046e0
movzx eax, word [esi + 4]
mov edi, 0x8a
cmp eax, 0x73
mov edx, 0x1f
sbb ecx, ecx
and ecx, 0xfffffff8
add ecx, 0xf
cmp ax, di
cmovae ecx, edx
xor edi, edi
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x124], edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 0
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.004044d0
mov ecx, eax
mov byte [ebp - 0x14], 1
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x40946c
mov edx, dword [ebp - 0x20]
mov eax, edx
mov edi, dword [ebp - 0x24]
sub eax, edi
mov dword [ebp - 0x11c], eax
cmp ecx, eax
jae 0x409415
lea edx, [edi + ecx]
jmp 0x40944c
jbe 0x40944f
mov eax, dword [ebp - 0x1c]
sub eax, edi
cmp ecx, eax
jbe 0x409432
push ecx
push ecx
lea ecx, [ebp - 0x24]
call fcn.00433890
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
jmp 0x40944f
sub ecx, dword [ebp - 0x11c]
push ecx
push 0
push edx
lea edi, [edx + ecx]
call fcn.0043e210
mov edx, edi
add esp, 0xc
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x20], edx
lea eax, [ebp - 0x11c]
sub edx, edi
push eax
push edi
mov ecx, ebx
mov dword [ebp - 0x11c], edx
call fcn.004046e0
mov edi, dword [ebp - 0x124]
mov eax, dword [esi + 0xa0]
lea ecx, [ebp - 0x24]
push ecx
cmp eax, dword [esi + 0xa4]
je 0x40948e
mov ecx, eax
call fcn.00435ee0
add dword [esi + 0xa0], 0x14
jmp 0x40949a
push eax
lea ecx, [esi + 0x9c]
call fcn.0042e860
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x4094d5
mov edx, dword [ebp - 0x1c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x4094cb
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40971c
push edx
push ecx
call fcn.0043c5fc
add esp, 8
inc edi
mov dword [ebp - 0x124], edi
cmp edi, dword [ebp - 0x128]
jb 0x4093c1
mov ecx, ebx
call fcn.004044d0
mov dword [esi + 0x20], eax
test eax, eax
jle 0x409574
xor edi, edi
cmp word [esi + 4], 0x64
jb 0x40953c
test eax, eax
je 0x409574
mov ecx, ebx
call fcn.004044d0
mov ecx, dword [esi + 0x68]
mov dword [ebp - 0x11c], eax
cmp ecx, dword [esi + 0x6c]
je 0x409524
mov dword [ecx], eax
add dword [esi + 0x68], 4
jmp 0x409534
lea eax, [ebp - 0x11c]
push eax
push ecx
lea ecx, [esi + 0x64]
call fcn.0042ee10
inc edi
cmp edi, dword [esi + 0x20]
jb 0x409507
jmp 0x409574
test eax, eax
je 0x409574
mov ecx, ebx
call fcn.00404630
mov ecx, dword [esi + 0x74]
mov byte [ebp - 0x11d], al
cmp ecx, dword [esi + 0x78]
je 0x40955c
mov byte [ecx], al
inc dword [esi + 0x74]
jmp 0x40956e
lea eax, [ebp - 0x11d]
push eax
lea eax, [esi + 0x70]
push ecx
mov ecx, eax
call fcn.0042f750
inc edi
cmp edi, dword [esi + 0x20]
jb 0x409540
mov ecx, ebx
call fcn.004044d0
mov dword [esi + 0x24], eax
test eax, eax
jle 0x409628
xor edi, edi
test eax, eax
je 0x409628
push 0xf4
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.0043e210
add esp, 0xc
lea ecx, [ebp - 0x118]
call fcn.00409730
mov dword [ebp - 4], 3
mov ax, word [esi + 4]
push ebx
mov word [ebp - 0x114], ax
call fcn.00407bb0
test al, al
je 0x4096d7
mov eax, dword [esi + 0xac]
lea ecx, [esi + 0xa8]
cmp eax, dword [esi + 0xb0]
je 0x4095ff
lea ecx, [ebp - 0x118]
push ecx
mov ecx, eax
call fcn.00435960
add dword [esi + 0xac], 0xf4
jmp 0x40960c
lea edx, [ebp - 0x118]
push edx
push eax
call fcn.0042e5c0
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 0xffffffff
call fcn.0040a530
inc edi
cmp edi, dword [esi + 0x24]
jb 0x409590
cmp word [esi + 4], 0x72
jb 0x40969d
mov ecx, ebx
call fcn.004044d0
mov ecx, ebx
mov dword [esi + 0x28], eax
call fcn.004044d0
mov ecx, ebx
mov dword [esi + 0x2c], eax
call fcn.004044d0
mov ecx, ebx
mov dword [esi + 0x30], eax
call fcn.004044d0
mov ecx, ebx
mov dword [esi + 0x34], eax
call fcn.004044d0
mov ecx, ebx
mov dword [esi + 0x38], eax
call fcn.004044d0
mov ecx, ebx
mov dword [esi + 0x3c], eax
call fcn.004044d0
mov ecx, ebx
mov dword [esi + 0x40], eax
call fcn.004044d0
mov ecx, ebx
mov dword [esi + 0x44], eax
call fcn.004044d0
mov ecx, ebx
mov dword [esi + 0x48], eax
call fcn.004044d0
mov ecx, ebx
mov dword [esi + 0x4c], eax
call fcn.004044d0
mov dword [esi + 0x50], eax
mov ecx, ebx
call fcn.004044d0
mov dword [esi + 0x54], eax
test eax, eax
jle 0x4096fc
xor edi, edi
test eax, eax
je 0x4096fc
mov ecx, ebx
call fcn.004044d0
mov ecx, dword [esi + 0x80]
mov dword [ebp - 0x11c], eax
cmp ecx, dword [esi + 0x84]
je 0x4096e6
mov dword [ecx], eax
add dword [esi + 0x80], 4
jmp 0x4096f6
lea ecx, [ebp - 0x118]
call fcn.0040a530
xor al, al
jmp 0x4096fe
lea eax, [ebp - 0x11c]
push eax
push ecx
lea ecx, [esi + 0x7c]
call fcn.0042ee10
inc edi
cmp edi, dword [esi + 0x54]
jb 0x4096b1
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