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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x8c
mov dword [esp + 0x18], 0x529a8679
mov dword [esp + 0x1c], 0x8e888c80
lea ebx, [esp + 0x20]
mov byte [esp + 0x20], 0x10
mov dword [esp + 0x21], 0
mov byte [esp + 0x25], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xd
ja 0x40f746
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x18]
push dword [esp]
push eax
call fcn.00411ba0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x18], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xe
jb 0x40f720
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], 0x893b8b51
mov dword [esp + 0x1c], 0x850a873a
mov dword [esp + 0x20], 0x8130833f
mov dword [esp + 0x24], 0x9d6d9f0c
mov dword [esp + 0x28], 0x991d9b30
mov dword [esp + 0x2c], 0x952d9728
mov dword [esp + 0x30], 0x91729352
mov dword [esp + 0x34], 0x6dde6f2f
mov dword [esp + 0x38], 0x69de6bdc
mov dword [esp + 0x3c], 0x65db67df
mov dword [esp + 0x40], 0x61ee63db
mov dword [esp + 0x44], 0x7dcf7fd7
mov dword [esp + 0x48], 0x798b7bce
mov dword [esp + 0x4c], 0x758577f0
mov dword [esp + 0x50], 0x71fb73fd
mov dword [esp + 0x54], 0x4dbd4ff9
mov dword [esp + 0x58], 0x49fb4bf6
mov dword [esp + 0x5c], 0x45f547c6
mov dword [esp + 0x60], 0x41c943b7
mov dword [esp + 0x64], 0x5dea5fce
mov dword [esp + 0x68], 0x59e85be7
mov dword [esp + 0x6c], 0x55e757e5
mov dword [esp + 0x70], 0x51e953e8
mov dword [esp + 0x74], 0x2d3d2fec
mov dword [esp + 0x78], 0x292a2b3a
mov dword [esp + 0x7c], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x67
ja 0x40f886
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x18]
push dword [esp]
push eax
call fcn.00411c70
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x18], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x68
jb 0x40f860
mov edi, dword [esp + 0xa0]
mov dword [esp], 0x37d7390b
mov dword [esp + 4], 0x33cb35c4
mov word [esp + 8], 0x3130
mov dword [esp + 0xa], 0
mov byte [esp + 0xe], 0
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 0xe
ja 0x40f8f9
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
movzx eax, byte [esp + eax]
push dword [esp + 0x10]
push eax
call fcn.00411c20
add esp, 8
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 0xf
jb 0x40f8d0
lea eax, [esp + 0x10]
mov ecx, esp
push 0
push eax
push 8
push esi
push ebp
push ecx
push edi
call fcn.004105b0
add esp, 0x1c
test al, al
je 0x40fa34
mov word [esp + 0x18], 0x6675
mov byte [esp + 0x1a], 0xda
mov dword [esp + 0x1b], 0
mov byte [esp + 0x1f], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x40f966
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x18]
push dword [esp]
push eax
call fcn.00411cd0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x18], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x40f940
xor ecx, ecx
mov edx, dword [esp + 0x10]
nop
nop
nop
nop
movsx eax, byte [edx + ecx]
movzx ebx, byte [esp + ecx + 0x18]
test eax, eax
je 0x40f982
inc ecx
cmp al, bl
je 0x40f970
movsx ecx, bl
mov edx, eax
not edx
and edx, ecx
not ecx
and ecx, eax
mov al, 1
mov dword [esp + 0x14], eax
cmp ecx, edx
je 0x40fbf2
mov dword [esp + 0x18], 0xadbfa0b1
mov dword [esp + 0x1c], 0x5dacaea7
mov byte [esp + 0x20], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 8
ja 0x40f9f6
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.00411d40
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x18], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 9
jb 0x40f9d0
mov eax, dword [esp + 0x10]
movzx ebx, byte [esp + 0x18]
test bl, bl
je 0x40fa3b
mov edx, ebp
mov ecx, eax
jmp 0x40fa17
movzx ebx, byte [edx]
test bl, bl
je 0x40fa3d
mov bh, byte [eax]
test bh, bh
je 0x40fbea
inc eax
inc edx
lea esi, [ecx + 1]
cmp bh, bl
je 0x40fa2e
mov ecx, esi
mov eax, esi
je 0x40fa10
mov edx, ebp
jmp 0x40fa10
xor eax, eax
jmp 0x40fc02
mov ecx, eax
test ecx, ecx
je 0x40fbea
mov dword [esp + 0x18], 0xaad3a8da
mov dword [esp + 0x1c], 0xd7a36b81
mov dword [esp + 0x20], 0x6760ded3
mov dword [esp + 0x24], 0xeee6a4ce
mov dword [esp + 0x28], 0x7f58b49d
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x13
ja 0x40faa6
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x18]
push dword [esp]
push eax
call fcn.00411da0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x18], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x14
jb 0x40fa80
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x18]
test cl, cl
je 0x40fae4
lea edi, [esp + 0x18]
mov edx, edi
mov esi, eax
jmp 0x40fac7
movzx ecx, byte [edx]
test cl, cl
je 0x40fae6
mov ch, byte [eax]
test ch, ch
je 0x40fbea
inc eax
inc edx
lea ebx, [esi + 1]
cmp ch, cl
je 0x40fade
mov esi, ebx
mov eax, ebx
je 0x40fac0
mov edx, edi
jmp 0x40fac0
mov esi, eax
test esi, esi
je 0x40fbea
mov word [esp + 0x18], 0xd1ae
mov byte [esp + 0x1a], 0x8e
mov dword [esp + 0x1b], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x40fb46
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.00411de0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x18], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x40fb20
movzx eax, byte [esp + 0x18]
test al, al
je 0x40fb80
add esi, 0x13
lea ebp, [esp + 0x18]
mov ecx, ebp
mov edx, esi
mov edi, esi
jmp 0x40fb67
movzx eax, byte [ecx]
test al, al
je 0x40fb91
mov ah, byte [edx]
test ah, ah
je 0x40fbea
inc edx
inc ecx
lea ebx, [edi + 1]
cmp ah, al
je 0x40fb7a
mov edi, ebx
mov edx, ebx
je 0x40fb60
mov ecx, ebp
jmp 0x40fb60
mov byte [0x4543f0], 1
mov eax, 0x4543f2
jmp 0x40fc13
test edi, edi
je 0x40fbea
mov byte [0x4543f0], 1
mov dword [esp + 0x18], 0
mov eax, 0x4543f2
cmp esi, edi
jae 0x40fc13
xor ebx, ebx
lea ebp, [esp + 0x18]
cmp byte [esi], 0
je 0x40fc0d
push ebp
push edi
push esi
call fcn.00411660
add esp, 0xc
movzx edx, word [esp + 0x18]
lea ecx, [ebx + 2]
mov word [ebx + 0x4543f2], dx
cmp ebx, 0x1fb
ja 0x40fbe2
add esi, eax
mov ebx, ecx
cmp esi, edi
jb 0x40fbb3
lea eax, [ecx + 0x4543f2]
jmp 0x40fc13
mov dword [esp + 0x14], 0
push dword [esp + 0x10]
call fcn.004430d0
add esp, 4
mov eax, dword [esp + 0x14]
add esp, 0x8c
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [ebx + 0x4543f2]
mov word [eax], 0
jmp 0x40fbf2