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

Disassembly:
push 0xffffffffffffffff
push 0x454680
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x46a630]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46a630]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [esp + 0x88]
mov ebp, dword [esp + 0x8c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x94]
push eax
mov ebx, edx
mov dword [esp + 0x2c], ecx
call fcn.00411480
mov edi, eax
add esp, 4
lea esi, [esp + 0x58]
mov ecx, edi
call fcn.00410f90
mov dword [esp + 0x80], 0
cmp dword [esp + 0x6c], 0
jne 0x40f473
mov dword [esp + 0x30], 0
jmp 0x40f483
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
movzx ecx, ax
mov dword [esp + 0x30], ecx
lea edi, [ebx + 8]
push edi
xor eax, eax
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], eax
push 1
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x28], 0x30
mov dword [esp + 0x4c], edi
call fcn.00450302
mov ebx, dword [esp + 0x48]
add esp, 0x14
cmp byte [ebp + 8], 0
mov dword [esp + 0x24], ebx
jne 0x40f4c8
mov esi, ebp
call fcn.00411090
mov edx, dword [esp + 0x28]
cmp byte [edx + 8], 0
jne 0x40f4d9
mov esi, edx
call fcn.00411090
mov eax, dword [ebp + 4]
test eax, eax
jne 0x40f4f1
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 4], eax
je 0x40f597
test eax, eax
je 0x40f4ff
mov edx, dword [esp + 0x28]
cmp dword [edx + 4], 0
jne 0x40f597
cmp byte [ebp + 8], 0
jne 0x40f50c
mov esi, ebp
call fcn.00411090
movzx esi, word [ebp + 0xa]
xor eax, eax
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 1
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x28], 0x2b
call fcn.00450302
add esp, 0x14
cmp si, word [esp + 0x20]
jne 0x40f545
mov byte [ebx], 0x2b
jmp 0x40f589
cmp byte [ebp + 8], 0
jne 0x40f552
mov esi, ebp
call fcn.00411090
movzx esi, word [ebp + 0xa]
xor eax, eax
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 1
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x28], 0x2d
call fcn.00450302
add esp, 0x14
cmp si, word [esp + 0x20]
jne 0x40f597
mov byte [ebx], 0x2d
add ebx, 1
mov esi, ebp
mov dword [esp + 0x24], ebx
call fcn.00410f40
mov eax, dword [esp + 0x90]
and eax, 0xe00
cmp eax, 0x400
jne 0x40f5b5
mov edi, 8
mov dword [esp + 0x1c], edi
jmp 0x40f5d4
cmp eax, 0x800
jne 0x40f5c7
mov edi, 0x10
mov dword [esp + 0x1c], edi
jmp 0x40f5d4
neg eax
sbb eax, eax
and eax, 0xa
mov edi, eax
mov dword [esp + 0x1c], eax
cmp byte [ebp + 8], 0
mov byte [esp + 0x1a], 0
mov byte [esp + 0x1b], 0
jne 0x40f5eb
mov esi, ebp
call fcn.00411090
mov esi, dword [esp + 0x28]
cmp byte [esi + 8], 0
jne 0x40f5fa
call fcn.00411090
mov eax, dword [ebp + 4]
test eax, eax
jne 0x40f60e
cmp dword [esi + 4], eax
je 0x40f6c7
test eax, eax
je 0x40f618
cmp dword [esi + 4], 0
jne 0x40f6c7
cmp byte [ebp + 8], 0
jne 0x40f625
mov esi, ebp
call fcn.00411090
movzx eax, word [ebp + 0xa]
cmp ax, word [esp + 0x2c]
jne 0x40f6c7
mov esi, ebp
mov byte [esp + 0x1a], 1
call fcn.00410f40
mov ebx, dword [esp + 0x28]
mov edi, ebp
call fcn.004119c0
test al, al
je 0x40f6b6
cmp byte [ebp + 8], 0
jne 0x40f65a
call fcn.00411090
mov edi, dword [esp + 0x38]
movzx esi, word [ebp + 0xa]
push edi
push 0x78
call fcn.0040ae30
add esp, 8
cmp si, ax
je 0x40f693
cmp byte [ebp + 8], 0
jne 0x40f67f
mov esi, ebp
call fcn.00411090
movzx esi, word [ebp + 0xa]
push edi
push 0x58
call fcn.0040ae30
add esp, 8
cmp si, ax
jne 0x40f6b6
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40f6a0
cmp eax, 0x10
jne 0x40f6b6
mov esi, ebp
mov dword [esp + 0x1c], 0x10
mov byte [esp + 0x1a], 0
call fcn.00410f40
jmp 0x40f6d2
cmp dword [esp + 0x1c], 0
jne 0x40f6cb
mov dword [esp + 0x1c], 8
jmp 0x40f6d2
test edi, edi
je 0x40f6e9
cmp dword [esp + 0x1c], 0xa
je 0x40f6e9
mov edi, dword [esp + 0x1c]
sub edi, 8
neg edi
sbb edi, edi
and edi, 0xe
add edi, 8
mov dword [esp + 0x20], edi
jmp 0x40f6f5
mov dword [esp + 0x20], 0xa
mov edi, dword [esp + 0x20]
mov al, byte [esp + 0x1a]
mov dword [esp + 0x54], 0xf
mov byte [esp + 0x40], al
mov dword [esp + 0x50], 1
mov byte [esp + 0x41], 0
mov esi, dword [esp + 0x28]
mov byte [esp + 0x80], 1
xor ebx, ebx
cmp byte [ebp + 8], 0
jne 0x40f768
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x40f75d
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x40f744
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x40f744
mov eax, dword [eax]
movzx eax, word [eax]
jmp 0x40f74e
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
movzx eax, ax
movzx eax, ax
cmp ax, 0xffff
je 0x40f75d
mov word [ebp + 0xa], ax
jmp 0x40f764
mov dword [ebp + 4], 0
mov byte [ebp + 8], 1
cmp byte [esi + 8], 0
jne 0x40f7b0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x40f7a5
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x40f78c
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x40f78c
mov eax, dword [eax]
movzx eax, word [eax]
jmp 0x40f796
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
movzx eax, ax
movzx eax, ax
cmp ax, 0xffff
je 0x40f7a5
mov word [esi + 0xa], ax
jmp 0x40f7ac
mov dword [esi + 4], 0
mov byte [esi + 8], 1
mov ecx, dword [ebp + 4]
test ecx, ecx
jne 0x40f7f4
cmp dword [esi + 4], ecx
jne 0x40f7fa
test ebx, ebx
je 0x40f9b2
cmp ebx, dword [esp + 0x50]
jbe 0x40f7cf
call fcn.004366d8
mov eax, dword [esp + 0x40]
mov edi, 0x10
cmp dword [esp + 0x54], edi
jae 0x40f7e2
lea eax, [esp + 0x40]
cmp byte [eax + ebx], 0
jle 0x40f9ab
add ebx, 1
jmp 0x40f9b7
cmp dword [esi + 4], 0
jne 0x40f7bc
cmp byte [ebp + 8], 0
jne 0x40f83f
test ecx, ecx
je 0x40f834
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x40f81b
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x40f81b
mov eax, dword [eax]
movzx eax, word [eax]
jmp 0x40f825
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
movzx eax, ax
movzx eax, ax
cmp ax, 0xffff
je 0x40f834
mov word [ebp + 0xa], ax
jmp 0x40f83b
mov dword [ebp + 4], 0
mov byte [ebp + 8], 1
mov ecx, dword [esp + 0x38]
movzx eax, word [ebp + 0xa]
push ecx
lea edx, [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x24], 0
mov dword [esp + 0x3c], 0
call fcn.00450024
mov al, byte [esp + 0x24]
mov edx, dword [esp + 0x34]
mov byte [edx], al
movsx eax, al
push edi
push eax
push str.0123456789abcdefABCDEF
call fcn.00436c90
add esp, 0x1c
test eax, eax
je 0x40f8f5
cmp byte [esp + 0x1b], 0
jne 0x40f895
mov ecx, dword [esp + 0x24]
cmp byte [ecx], 0x30
je 0x40f8ac
mov eax, dword [esp + 0x34]
add eax, 0x1f
cmp dword [esp + 0x24], eax
jae 0x40f8ac
add dword [esp + 0x24], 1
mov byte [esp + 0x1b], 1
cmp ebx, dword [esp + 0x50]
mov byte [esp + 0x1a], 1
jbe 0x40f8bc
call fcn.004366d8
cmp dword [esp + 0x54], 0x10
mov eax, dword [esp + 0x40]
jae 0x40f8cb
lea eax, [esp + 0x40]
cmp byte [eax + ebx], 0x7f
je 0x40f957
cmp ebx, dword [esp + 0x50]
jbe 0x40f8e0
call fcn.004366d8
cmp dword [esp + 0x54], 0x10
mov eax, dword [esp + 0x40]
jae 0x40f8ef
lea eax, [esp + 0x40]
add byte [eax + ebx], 1
jmp 0x40f957
cmp ebx, dword [esp + 0x50]
jbe 0x40f900
call fcn.004366d8
cmp dword [esp + 0x54], 0x10
mov eax, dword [esp + 0x40]
jae 0x40f90f
lea eax, [esp + 0x40]
cmp byte [eax + ebx], 0
je 0x40f7bc
cmp word [esp + 0x30], 0
je 0x40f7bc
cmp byte [ebp + 8], 0
jne 0x40f932
mov esi, ebp
call fcn.00411090
mov dx, word [esp + 0x30]
cmp word [ebp + 0xa], dx
jne 0x40f7bc
push 0
lea edi, [esp + 0x40]
call fcn.0040c460
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
add ebx, 1
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x40f99b
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x40f982
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x40f982
mov eax, edx
add dword [eax], 0xffffffff
mov ecx, dword [ecx + 0x20]
mov eax, dword [ecx]
lea edx, [eax + 2]
mov dword [ecx], edx
movzx eax, word [eax]
jmp 0x40f98c
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
movzx eax, ax
cmp ax, 0xffff
je 0x40f99b
mov byte [ebp + 8], 0
jmp 0x40f720
mov dword [ebp + 4], 0
mov byte [ebp + 8], 1
jmp 0x40f720
mov byte [esp + 0x1a], 0
jmp 0x40f9b7
mov edi, 0x10
cmp dword [esp + 0x70], edi
mov esi, dword [esp + 0x5c]
jae 0x40f9c5
lea esi, [esp + 0x5c]
cmp byte [esp + 0x1a], 0
je 0x40fa4a
test ebx, ebx
jbe 0x40fa37
cmp byte [esi], 0x7f
je 0x40fa37
sub ebx, 1
je 0x40fa03
cmp ebx, dword [esp + 0x50]
jbe 0x40f9ee
call fcn.004366d8
mov edi, 0x10
cmp dword [esp + 0x54], edi
mov eax, dword [esp + 0x40]
jae 0x40f9fc
lea eax, [esp + 0x40]
mov cl, byte [esi]
cmp cl, byte [eax + ebx]
jne 0x40fa4a
test ebx, ebx
jne 0x40fa2c
cmp ebx, dword [esp + 0x50]
jbe 0x40fa17
call fcn.004366d8
mov edi, 0x10
cmp dword [esp + 0x54], edi
mov eax, dword [esp + 0x40]
jae 0x40fa25
lea eax, [esp + 0x40]
mov dl, byte [esi]
cmp dl, byte [eax + ebx]
jl 0x40fa4a
cmp byte [esi + 1], 0
jle 0x40f9d0
add esi, 1
jmp 0x40f9d0
cmp byte [esp + 0x1b], 0
mov eax, dword [esp + 0x24]
jne 0x40fa4e
mov byte [eax], 0x30
add eax, 1
jmp 0x40fa4e
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x54], edi
mov byte [eax], 0
jb 0x40fa69
mov eax, dword [esp + 0x40]
push eax
call fcn.0041902a
add esp, 4
mov edi, 0x10
cmp dword [esp + 0x70], edi
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
jb 0x40fa91
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0041902a
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004362fe
add esp, 0x70
ret