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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x8c
mov dword [esp + 0x18], 0x463a2a27
mov dword [esp + 0x1c], 0x222c2834
lea ebx, [esp + 0x20]
mov byte [esp + 0x20], 0x8c
mov dword [esp + 0x21], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xc
ja 0x40f4b6
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x18]
push dword [esp]
push eax
call fcn.00411440
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x18], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xd
jb 0x40f490
lea esi, [esp + 0x83]
lea ebp, [esp + 0x18]
mov eax, ebp
mov ecx, 2
mov edi, esi
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea edi, [esp + 0x8b]
xor ecx, ecx
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
movzx eax, byte [esp + 0x20]
mov byte [esp + 0x8b], al
mov dword [esp + 0x18], 0x39ab3bf1
mov dword [esp + 0x1c], 0x25ba27aa
mov dword [esp + 0x20], 0x21b0238f
mov dword [esp + 0x24], 0x2dfd2fbc
mov dword [esp + 0x28], 0x29ad2b90
mov dword [esp + 0x2c], 0x15bd17b8
mov dword [esp + 0x30], 0x11f213d2
mov dword [esp + 0x34], 0x1d8e1fbf
mov dword [esp + 0x38], 0x198e1b8c
mov dword [esp + 0x3c], 0x5ab078f
mov dword [esp + 0x40], 0x19e03ab
mov dword [esp + 0x44], 0xd9f0f97
mov dword [esp + 0x48], 0x9db0b9e
mov dword [esp + 0x4c], 0xf525f790
mov dword [esp + 0x50], 0xf16bf36d
mov dword [esp + 0x54], 0xfd2dff69
mov dword [esp + 0x58], 0xf96bfb56
mov dword [esp + 0x5c], 0xe575e766
mov dword [esp + 0x60], 0xe179e337
mov dword [esp + 0x64], 0xed7aef7e
mov dword [esp + 0x68], 0xe978eb47
mov dword [esp + 0x6c], 0xd547d745
mov dword [esp + 0x70], 0xd179d378
mov dword [esp + 0x74], 0xdd2ddf7c
mov dword [esp + 0x78], 0xd9dadb2a
mov byte [esp + 0x7e], 0
mov word [esp + 0x7c], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x66
ja 0x40f5f6
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x18]
push dword [esp]
push eax
call fcn.00411510
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x18], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x67
jb 0x40f5d0
mov edi, dword [esp + 0xa0]
mov dword [esp], 0x17f719cb
mov dword [esp + 4], 0x138b1584
mov dword [esp + 8], 0x1110
mov byte [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 0xc
ja 0x40f659
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
movzx eax, byte [esp + eax]
push dword [esp + 0x10]
push eax
call fcn.004114a0
add esp, 8
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 0xd
jb 0x40f630
lea eax, [esp + 0x10]
mov ecx, esp
push 0
push eax
push 8
push esi
push ebp
push ecx
push edi
call fcn.00410100
add esp, 0x1c
test al, al
je 0x40f784
mov word [esp + 0x18], 0xbebb
mov byte [esp + 0x1a], 0xd6
mov dword [esp + 0x1b], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x40f6c6
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x18]
push dword [esp]
push eax
call fcn.00411590
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x18], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x40f6a0
xor eax, eax
mov ecx, dword [esp + 0x10]
nop
nop
nop
nop
movzx edx, byte [ecx + eax]
mov dh, byte [esp + eax + 0x18]
test dl, dl
je 0x40f6e1
inc eax
cmp dl, dh
je 0x40f6d0
mov al, 1
mov dword [esp + 0x14], eax
cmp dl, dh
je 0x40f942
mov dword [esp + 0x18], 0x53b3809
mov dword [esp + 0x1c], 0x950c020b
mov dword [esp + 0x20], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xb
ja 0x40f746
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x18]
push dword [esp]
push eax
call fcn.00411620
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x18], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xc
jb 0x40f720
mov eax, dword [esp + 0x10]
movzx ebx, byte [esp + 0x18]
test bl, bl
je 0x40f78b
mov edx, ebp
mov ecx, eax
jmp 0x40f767
movzx ebx, byte [edx]
test bl, bl
je 0x40f78d
mov bh, byte [eax]
test bh, bh
je 0x40f93a
inc eax
inc edx
lea esi, [ecx + 1]
cmp bh, bl
je 0x40f77e
mov ecx, esi
mov eax, esi
je 0x40f760
mov edx, ebp
jmp 0x40f760
xor eax, eax
jmp 0x40f952
mov ecx, eax
test ecx, ecx
je 0x40f93a
mov dword [esp + 0x18], 0x467f407e
mov dword [esp + 0x1c], 0x734787a9
mov dword [esp + 0x20], 0xbbb84247
mov dword [esp + 0x24], 0x4a427c4a
mov dword [esp + 0x28], 0xd3b09c75
mov byte [esp + 0x2c], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x14
ja 0x40f806
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x18]
push dword [esp]
push eax
call fcn.00411690
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x18], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x15
jb 0x40f7e0
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x18]
test cl, cl
je 0x40f844
lea edi, [esp + 0x18]
mov edx, edi
mov esi, eax
jmp 0x40f827
movzx ecx, byte [edx]
test cl, cl
je 0x40f846
mov ch, byte [eax]
test ch, ch
je 0x40f93a
inc eax
inc edx
lea ebx, [esi + 1]
cmp ch, cl
je 0x40f83e
mov esi, ebx
mov eax, ebx
je 0x40f820
mov edx, edi
jmp 0x40f820
mov esi, eax
test esi, esi
je 0x40f93a
mov word [esp + 0x18], 0x126
mov byte [esp + 0x1a], 0xc6
mov word [esp + 0x1b], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x40f896
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x18]
push dword [esp]
push eax
call fcn.00411730
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x18], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x40f870
movzx eax, byte [esp + 0x18]
test al, al
je 0x40f8d0
add esi, 0x13
lea ebp, [esp + 0x18]
mov ecx, ebp
mov edx, esi
mov edi, esi
jmp 0x40f8b7
movzx eax, byte [ecx]
test al, al
je 0x40f8e1
mov ah, byte [edx]
test ah, ah
je 0x40f93a
inc edx
inc ecx
lea ebx, [edi + 1]
cmp ah, al
je 0x40f8ca
mov edi, ebx
mov edx, ebx
je 0x40f8b0
mov ecx, ebp
jmp 0x40f8b0
mov byte [0x454fd4], 1
mov eax, 0x454fd6
jmp 0x40f963
test edi, edi
je 0x40f93a
mov byte [0x454fd4], 1
mov dword [esp + 0x18], 0
mov eax, 0x454fd6
cmp esi, edi
jae 0x40f963
xor ebx, ebx
lea ebp, [esp + 0x18]
cmp byte [esi], 0
je 0x40f95d
push ebp
push edi
push esi
call fcn.00411060
add esp, 0xc
movzx edx, word [esp + 0x18]
lea ecx, [ebx + 2]
mov word [ebx + 0x454fd6], dx
cmp ebx, 0x1fb
ja 0x40f932
add esi, eax
mov ebx, ecx
cmp esi, edi
jb 0x40f903
lea eax, [ecx + 0x454fd6]
jmp 0x40f963
mov dword [esp + 0x14], 0
push dword [esp + 0x10]
call fcn.004438a0
add esp, 4
mov eax, dword [esp + 0x14]
add esp, 0x8c
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [ebx + 0x454fd6]
mov word [eax], 0
jmp 0x40f942