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

Disassembly:
push 0xffffffffffffffff
push 0x494570
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4b8670]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b8670]
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.00411db0
mov edi, eax
add esp, 4
lea esi, [esp + 0x58]
mov ecx, edi
call fcn.004118c0
mov dword [esp + 0x80], 0
cmp dword [esp + 0x6c], 0
jne 0x40fda3
mov dword [esp + 0x30], 0
jmp 0x40fdb3
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.004550f4
mov ebx, dword [esp + 0x48]
add esp, 0x14
cmp byte [ebp + 8], 0
mov dword [esp + 0x24], ebx
jne 0x40fdf8
mov esi, ebp
call fcn.004119c0
mov edx, dword [esp + 0x28]
cmp byte [edx + 8], 0
jne 0x40fe09
mov esi, edx
call fcn.004119c0
mov eax, dword [ebp + 4]
test eax, eax
jne 0x40fe21
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 4], eax
je 0x40fec7
test eax, eax
je 0x40fe2f
mov edx, dword [esp + 0x28]
cmp dword [edx + 4], 0
jne 0x40fec7
cmp byte [ebp + 8], 0
jne 0x40fe3c
mov esi, ebp
call fcn.004119c0
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.004550f4
add esp, 0x14
cmp si, word [esp + 0x20]
jne 0x40fe75
mov byte [ebx], 0x2b
jmp 0x40feb9
cmp byte [ebp + 8], 0
jne 0x40fe82
mov esi, ebp
call fcn.004119c0
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.004550f4
add esp, 0x14
cmp si, word [esp + 0x20]
jne 0x40fec7
mov byte [ebx], 0x2d
add ebx, 1
mov esi, ebp
mov dword [esp + 0x24], ebx
call fcn.00411870
mov eax, dword [esp + 0x90]
and eax, 0xe00
cmp eax, 0x400
jne 0x40fee5
mov edi, 8
mov dword [esp + 0x1c], edi
jmp 0x40ff04
cmp eax, 0x800
jne 0x40fef7
mov edi, 0x10
mov dword [esp + 0x1c], edi
jmp 0x40ff04
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 0x40ff1b
mov esi, ebp
call fcn.004119c0
mov esi, dword [esp + 0x28]
cmp byte [esi + 8], 0
jne 0x40ff2a
call fcn.004119c0
mov eax, dword [ebp + 4]
test eax, eax
jne 0x40ff3e
cmp dword [esi + 4], eax
je 0x40fff7
test eax, eax
je 0x40ff48
cmp dword [esi + 4], 0
jne 0x40fff7
cmp byte [ebp + 8], 0
jne 0x40ff55
mov esi, ebp
call fcn.004119c0
movzx eax, word [ebp + 0xa]
cmp ax, word [esp + 0x2c]
jne 0x40fff7
mov esi, ebp
mov byte [esp + 0x1a], 1
call fcn.00411870
mov ebx, dword [esp + 0x28]
mov edi, ebp
call fcn.004122f0
test al, al
je 0x40ffe6
cmp byte [ebp + 8], 0
jne 0x40ff8a
call fcn.004119c0
mov edi, dword [esp + 0x38]
movzx esi, word [ebp + 0xa]
push edi
push 0x78
call fcn.0040b2a0
add esp, 8
cmp si, ax
je 0x40ffc3
cmp byte [ebp + 8], 0
jne 0x40ffaf
mov esi, ebp
call fcn.004119c0
movzx esi, word [ebp + 0xa]
push edi
push 0x58
call fcn.0040b2a0
add esp, 8
cmp si, ax
jne 0x40ffe6
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40ffd0
cmp eax, 0x10
jne 0x40ffe6
mov esi, ebp
mov dword [esp + 0x1c], 0x10
mov byte [esp + 0x1a], 0
call fcn.00411870
jmp 0x410002
cmp dword [esp + 0x1c], 0
jne 0x40fffb
mov dword [esp + 0x1c], 8
jmp 0x410002
test edi, edi
je 0x410019
cmp dword [esp + 0x1c], 0xa
je 0x410019
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 0x410025
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 0x410098
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x41008d
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x410074
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x410074
mov eax, dword [eax]
movzx eax, word [eax]
jmp 0x41007e
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
movzx eax, ax
movzx eax, ax
cmp ax, 0xffff
je 0x41008d
mov word [ebp + 0xa], ax
jmp 0x410094
mov dword [ebp + 4], 0
mov byte [ebp + 8], 1
cmp byte [esi + 8], 0
jne 0x4100e0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4100d5
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x4100bc
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x4100bc
mov eax, dword [eax]
movzx eax, word [eax]
jmp 0x4100c6
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
movzx eax, ax
movzx eax, ax
cmp ax, 0xffff
je 0x4100d5
mov word [esi + 0xa], ax
jmp 0x4100dc
mov dword [esi + 4], 0
mov byte [esi + 8], 1
mov ecx, dword [ebp + 4]
test ecx, ecx
jne 0x410124
cmp dword [esi + 4], ecx
jne 0x41012a
test ebx, ebx
je 0x4102e2
cmp ebx, dword [esp + 0x50]
jbe 0x4100ff
call fcn.0043a8ee
mov eax, dword [esp + 0x40]
mov edi, 0x10
cmp dword [esp + 0x54], edi
jae 0x410112
lea eax, [esp + 0x40]
cmp byte [eax + ebx], 0
jle 0x4102db
add ebx, 1
jmp 0x4102e7
cmp dword [esi + 4], 0
jne 0x4100ec
cmp byte [ebp + 8], 0
jne 0x41016f
test ecx, ecx
je 0x410164
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x41014b
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x41014b
mov eax, dword [eax]
movzx eax, word [eax]
jmp 0x410155
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
movzx eax, ax
movzx eax, ax
cmp ax, 0xffff
je 0x410164
mov word [ebp + 0xa], ax
jmp 0x41016b
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.00454e70
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.0043b0e0
add esp, 0x1c
test eax, eax
je 0x410225
cmp byte [esp + 0x1b], 0
jne 0x4101c5
mov ecx, dword [esp + 0x24]
cmp byte [ecx], 0x30
je 0x4101dc
mov eax, dword [esp + 0x34]
add eax, 0x1f
cmp dword [esp + 0x24], eax
jae 0x4101dc
add dword [esp + 0x24], 1
mov byte [esp + 0x1b], 1
cmp ebx, dword [esp + 0x50]
mov byte [esp + 0x1a], 1
jbe 0x4101ec
call fcn.0043a8ee
cmp dword [esp + 0x54], 0x10
mov eax, dword [esp + 0x40]
jae 0x4101fb
lea eax, [esp + 0x40]
cmp byte [eax + ebx], 0x7f
je 0x410287
cmp ebx, dword [esp + 0x50]
jbe 0x410210
call fcn.0043a8ee
cmp dword [esp + 0x54], 0x10
mov eax, dword [esp + 0x40]
jae 0x41021f
lea eax, [esp + 0x40]
add byte [eax + ebx], 1
jmp 0x410287
cmp ebx, dword [esp + 0x50]
jbe 0x410230
call fcn.0043a8ee
cmp dword [esp + 0x54], 0x10
mov eax, dword [esp + 0x40]
jae 0x41023f
lea eax, [esp + 0x40]
cmp byte [eax + ebx], 0
je 0x4100ec
cmp word [esp + 0x30], 0
je 0x4100ec
cmp byte [ebp + 8], 0
jne 0x410262
mov esi, ebp
call fcn.004119c0
mov dx, word [esp + 0x30]
cmp word [ebp + 0xa], dx
jne 0x4100ec
push 0
lea edi, [esp + 0x40]
call fcn.0040c8c0
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
add ebx, 1
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x4102cb
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x4102b2
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x4102b2
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 0x4102bc
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
movzx eax, ax
cmp ax, 0xffff
je 0x4102cb
mov byte [ebp + 8], 0
jmp 0x410050
mov dword [ebp + 4], 0
mov byte [ebp + 8], 1
jmp 0x410050
mov byte [esp + 0x1a], 0
jmp 0x4102e7
mov edi, 0x10
cmp dword [esp + 0x70], edi
mov esi, dword [esp + 0x5c]
jae 0x4102f5
lea esi, [esp + 0x5c]
cmp byte [esp + 0x1a], 0
je 0x41037a
test ebx, ebx
jbe 0x410367
cmp byte [esi], 0x7f
je 0x410367
sub ebx, 1
je 0x410333
cmp ebx, dword [esp + 0x50]
jbe 0x41031e
call fcn.0043a8ee
mov edi, 0x10
cmp dword [esp + 0x54], edi
mov eax, dword [esp + 0x40]
jae 0x41032c
lea eax, [esp + 0x40]
mov cl, byte [esi]
cmp cl, byte [eax + ebx]
jne 0x41037a
test ebx, ebx
jne 0x41035c
cmp ebx, dword [esp + 0x50]
jbe 0x410347
call fcn.0043a8ee
mov edi, 0x10
cmp dword [esp + 0x54], edi
mov eax, dword [esp + 0x40]
jae 0x410355
lea eax, [esp + 0x40]
mov dl, byte [esi]
cmp dl, byte [eax + ebx]
jl 0x41037a
cmp byte [esi + 1], 0
jle 0x410300
add esi, 1
jmp 0x410300
cmp byte [esp + 0x1b], 0
mov eax, dword [esp + 0x24]
jne 0x41037e
mov byte [eax], 0x30
add eax, 1
jmp 0x41037e
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x54], edi
mov byte [eax], 0
jb 0x410399
mov eax, dword [esp + 0x40]
push eax
call fcn.0041cd43
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 0x4103c1
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0041cd43
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.0043a513
add esp, 0x70
ret