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

Disassembly:
push 0xffffffffffffffff
push 0x494b50
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4b9668]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b9668]
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.00411e80
mov edi, eax
add esp, 4
lea esi, [esp + 0x58]
mov ecx, edi
call fcn.00411990
mov dword [esp + 0x80], 0
cmp dword [esp + 0x6c], 0
jne 0x40fe73
mov dword [esp + 0x30], 0
jmp 0x40fe83
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.004555fc
mov ebx, dword [esp + 0x48]
add esp, 0x14
cmp byte [ebp + 8], 0
mov dword [esp + 0x24], ebx
jne 0x40fec8
mov esi, ebp
call fcn.00411a90
mov edx, dword [esp + 0x28]
cmp byte [edx + 8], 0
jne 0x40fed9
mov esi, edx
call fcn.00411a90
mov eax, dword [ebp + 4]
test eax, eax
jne 0x40fef1
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 4], eax
je 0x40ff97
test eax, eax
je 0x40feff
mov edx, dword [esp + 0x28]
cmp dword [edx + 4], 0
jne 0x40ff97
cmp byte [ebp + 8], 0
jne 0x40ff0c
mov esi, ebp
call fcn.00411a90
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.004555fc
add esp, 0x14
cmp si, word [esp + 0x20]
jne 0x40ff45
mov byte [ebx], 0x2b
jmp 0x40ff89
cmp byte [ebp + 8], 0
jne 0x40ff52
mov esi, ebp
call fcn.00411a90
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.004555fc
add esp, 0x14
cmp si, word [esp + 0x20]
jne 0x40ff97
mov byte [ebx], 0x2d
add ebx, 1
mov esi, ebp
mov dword [esp + 0x24], ebx
call fcn.00411940
mov eax, dword [esp + 0x90]
and eax, 0xe00
cmp eax, 0x400
jne 0x40ffb5
mov edi, 8
mov dword [esp + 0x1c], edi
jmp 0x40ffd4
cmp eax, 0x800
jne 0x40ffc7
mov edi, 0x10
mov dword [esp + 0x1c], edi
jmp 0x40ffd4
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 0x40ffeb
mov esi, ebp
call fcn.00411a90
mov esi, dword [esp + 0x28]
cmp byte [esi + 8], 0
jne 0x40fffa
call fcn.00411a90
mov eax, dword [ebp + 4]
test eax, eax
jne 0x41000e
cmp dword [esi + 4], eax
je 0x4100c7
test eax, eax
je 0x410018
cmp dword [esi + 4], 0
jne 0x4100c7
cmp byte [ebp + 8], 0
jne 0x410025
mov esi, ebp
call fcn.00411a90
movzx eax, word [ebp + 0xa]
cmp ax, word [esp + 0x2c]
jne 0x4100c7
mov esi, ebp
mov byte [esp + 0x1a], 1
call fcn.00411940
mov ebx, dword [esp + 0x28]
mov edi, ebp
call fcn.004123c0
test al, al
je 0x4100b6
cmp byte [ebp + 8], 0
jne 0x41005a
call fcn.00411a90
mov edi, dword [esp + 0x38]
movzx esi, word [ebp + 0xa]
push edi
push 0x78
call fcn.0040b880
add esp, 8
cmp si, ax
je 0x410093
cmp byte [ebp + 8], 0
jne 0x41007f
mov esi, ebp
call fcn.00411a90
movzx esi, word [ebp + 0xa]
push edi
push 0x58
call fcn.0040b880
add esp, 8
cmp si, ax
jne 0x4100b6
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4100a0
cmp eax, 0x10
jne 0x4100b6
mov esi, ebp
mov dword [esp + 0x1c], 0x10
mov byte [esp + 0x1a], 0
call fcn.00411940
jmp 0x4100d2
cmp dword [esp + 0x1c], 0
jne 0x4100cb
mov dword [esp + 0x1c], 8
jmp 0x4100d2
test edi, edi
je 0x4100e9
cmp dword [esp + 0x1c], 0xa
je 0x4100e9
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 0x4100f5
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 0x410168
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x41015d
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x410144
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x410144
mov eax, dword [eax]
movzx eax, word [eax]
jmp 0x41014e
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
movzx eax, ax
movzx eax, ax
cmp ax, 0xffff
je 0x41015d
mov word [ebp + 0xa], ax
jmp 0x410164
mov dword [ebp + 4], 0
mov byte [ebp + 8], 1
cmp byte [esi + 8], 0
jne 0x4101b0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4101a5
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x41018c
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x41018c
mov eax, dword [eax]
movzx eax, word [eax]
jmp 0x410196
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
movzx eax, ax
movzx eax, ax
cmp ax, 0xffff
je 0x4101a5
mov word [esi + 0xa], ax
jmp 0x4101ac
mov dword [esi + 4], 0
mov byte [esi + 8], 1
mov ecx, dword [ebp + 4]
test ecx, ecx
jne 0x4101f4
cmp dword [esi + 4], ecx
jne 0x4101fa
test ebx, ebx
je 0x4103b2
cmp ebx, dword [esp + 0x50]
jbe 0x4101cf
call fcn.0043ab1d
mov eax, dword [esp + 0x40]
mov edi, 0x10
cmp dword [esp + 0x54], edi
jae 0x4101e2
lea eax, [esp + 0x40]
cmp byte [eax + ebx], 0
jle 0x4103ab
add ebx, 1
jmp 0x4103b7
cmp dword [esi + 4], 0
jne 0x4101bc
cmp byte [ebp + 8], 0
jne 0x41023f
test ecx, ecx
je 0x410234
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x41021b
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x41021b
mov eax, dword [eax]
movzx eax, word [eax]
jmp 0x410225
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
movzx eax, ax
movzx eax, ax
cmp ax, 0xffff
je 0x410234
mov word [ebp + 0xa], ax
jmp 0x41023b
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.00455444
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.0043b040
add esp, 0x1c
test eax, eax
je 0x4102f5
cmp byte [esp + 0x1b], 0
jne 0x410295
mov ecx, dword [esp + 0x24]
cmp byte [ecx], 0x30
je 0x4102ac
mov eax, dword [esp + 0x34]
add eax, 0x1f
cmp dword [esp + 0x24], eax
jae 0x4102ac
add dword [esp + 0x24], 1
mov byte [esp + 0x1b], 1
cmp ebx, dword [esp + 0x50]
mov byte [esp + 0x1a], 1
jbe 0x4102bc
call fcn.0043ab1d
cmp dword [esp + 0x54], 0x10
mov eax, dword [esp + 0x40]
jae 0x4102cb
lea eax, [esp + 0x40]
cmp byte [eax + ebx], 0x7f
je 0x410357
cmp ebx, dword [esp + 0x50]
jbe 0x4102e0
call fcn.0043ab1d
cmp dword [esp + 0x54], 0x10
mov eax, dword [esp + 0x40]
jae 0x4102ef
lea eax, [esp + 0x40]
add byte [eax + ebx], 1
jmp 0x410357
cmp ebx, dword [esp + 0x50]
jbe 0x410300
call fcn.0043ab1d
cmp dword [esp + 0x54], 0x10
mov eax, dword [esp + 0x40]
jae 0x41030f
lea eax, [esp + 0x40]
cmp byte [eax + ebx], 0
je 0x4101bc
cmp word [esp + 0x30], 0
je 0x4101bc
cmp byte [ebp + 8], 0
jne 0x410332
mov esi, ebp
call fcn.00411a90
mov dx, word [esp + 0x30]
cmp word [ebp + 0xa], dx
jne 0x4101bc
push 0
lea edi, [esp + 0x40]
call fcn.0040cf10
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
add ebx, 1
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x41039b
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x410382
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x410382
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 0x41038c
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
movzx eax, ax
cmp ax, 0xffff
je 0x41039b
mov byte [ebp + 8], 0
jmp 0x410120
mov dword [ebp + 4], 0
mov byte [ebp + 8], 1
jmp 0x410120
mov byte [esp + 0x1a], 0
jmp 0x4103b7
mov edi, 0x10
cmp dword [esp + 0x70], edi
mov esi, dword [esp + 0x5c]
jae 0x4103c5
lea esi, [esp + 0x5c]
cmp byte [esp + 0x1a], 0
je 0x41044a
test ebx, ebx
jbe 0x410437
cmp byte [esi], 0x7f
je 0x410437
sub ebx, 1
je 0x410403
cmp ebx, dword [esp + 0x50]
jbe 0x4103ee
call fcn.0043ab1d
mov edi, 0x10
cmp dword [esp + 0x54], edi
mov eax, dword [esp + 0x40]
jae 0x4103fc
lea eax, [esp + 0x40]
mov cl, byte [esi]
cmp cl, byte [eax + ebx]
jne 0x41044a
test ebx, ebx
jne 0x41042c
cmp ebx, dword [esp + 0x50]
jbe 0x410417
call fcn.0043ab1d
mov edi, 0x10
cmp dword [esp + 0x54], edi
mov eax, dword [esp + 0x40]
jae 0x410425
lea eax, [esp + 0x40]
mov dl, byte [esi]
cmp dl, byte [eax + ebx]
jl 0x41044a
cmp byte [esi + 1], 0
jle 0x4103d0
add esi, 1
jmp 0x4103d0
cmp byte [esp + 0x1b], 0
mov eax, dword [esp + 0x24]
jne 0x41044e
mov byte [eax], 0x30
add eax, 1
jmp 0x41044e
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x54], edi
mov byte [eax], 0
jb 0x410469
mov eax, dword [esp + 0x40]
push eax
call fcn.0041d0c9
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 0x410491
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0041d0c9
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.0043a54e
add esp, 0x70
ret