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

Disassembly:
push 0xffffffffffffffff
push 0x428f0d
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x43c060]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43c060]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb4]
mov esi, dword [esp + 0xa4]
mov ebp, dword [esp + 0xac]
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0xb0]
mov ecx, esi
push eax
mov dword [esp + 0x38], ebp
call fcn.00401dc2
and dword [esp + 0x98], 0
push eax
call fcn.004072fd
or dword [esp + 0x9c], 0xffffffff
mov ebx, eax
pop ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], ebx
call fcn.0040142f
lea eax, [esp + 0x58]
mov ecx, ebx
push eax
call fcn.00405ff4
lea eax, [esp + 0x20]
mov dword [esp + 0x98], 1
push eax
mov ecx, esi
call fcn.00401dc2
push eax
mov byte [esp + 0x9c], 2
call fcn.0040696e
pop ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x98], 1
mov esi, eax
call fcn.0040142f
mov edx, dword [esi]
lea eax, [esp + 0x70]
push eax
push 0x430ffc
push str.0123456789ABCDEFabcdef_XxPp
mov ecx, esi
call dword [edx + 0x1c]
mov ebx, dword [esp + 0x30]
mov ecx, edi
push ebp
mov esi, ebx
mov byte [esp + 0x1f], 0
call fcn.00407822
test al, al
jne 0x406362
cmp byte [edi + 4], al
jne 0x40632b
mov ecx, edi
call fcn.00406948
mov al, byte [edi + 5]
cmp al, byte [esp + 0x87]
jne 0x40633c
mov byte [ebx], 0x2b
jmp 0x406358
cmp byte [edi + 4], 0
jne 0x406349
mov ecx, edi
call fcn.00406948
mov al, byte [edi + 5]
cmp al, byte [esp + 0x86]
jne 0x406362
mov byte [ebx], 0x2d
mov ecx, edi
lea esi, [ebx + 1]
call fcn.00406924
xor ebx, ebx
mov word [esi], 0x7830
and dword [esp + 0x1c], ebx
mov ecx, edi
push ebp
add esi, 2
mov byte [esp + 0x1d], 0
mov dword [esp + 0x28], ebx
call fcn.00407822
test al, al
jne 0x4063ec
cmp byte [edi + 4], bl
jne 0x406391
mov ecx, edi
call fcn.00406948
mov al, byte [edi + 5]
cmp al, byte [esp + 0x70]
jne 0x4063ec
mov ecx, edi
call fcn.00406924
push ebp
push edi
call fcn.00407598
pop ecx
pop ecx
test al, al
je 0x4063e7
cmp byte [edi + 4], bl
jne 0x4063ba
mov ecx, edi
call fcn.00406948
mov al, byte [edi + 5]
cmp al, byte [esp + 0x89]
je 0x4063de
cmp byte [edi + 4], bl
jne 0x4063d2
mov ecx, edi
call fcn.00406948
mov al, byte [edi + 5]
cmp al, byte [esp + 0x88]
jne 0x4063e7
mov ecx, edi
call fcn.00406924
jmp 0x4063ec
mov byte [esp + 0x19], 1
cmp dword [esp + 0x6c], 0x10
lea eax, [esp + 0x58]
cmovae eax, dword [esp + 0x58]
mov dword [esp + 0x20], eax
mov al, byte [eax]
cmp al, 0x7f
je 0x4065bd
test al, al
jle 0x4065bd
cmp dword [esp + 0x68], ebx
jne 0x40641c
mov byte [esp + 0x1a], bl
jmp 0x406429
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov byte [esp + 0x1a], al
and dword [esp + 0x50], ebx
lea ecx, [esp + 0x40]
push 0
push 1
mov dword [esp + 0x5c], 0xf
mov byte [esp + 0x48], bl
call fcn.00406092
push ebp
push edi
mov byte [esp + 0xa0], 3
xor ebx, ebx
call fcn.00407598
mov ebp, dword [esp + 0x5c]
pop ecx
pop ecx
test al, al
je 0x406552
cmp byte [edi + 4], 0
jne 0x406472
mov ecx, edi
call fcn.00406948
mov al, byte [edi + 5]
mov byte [esp + 0x28], al
lea eax, [esp + 0x70]
push dword [esp + 0x28]
push eax
call fcn.004075af
pop ecx
pop ecx
cmp eax, 0x16
jae 0x4064db
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x19], 1
cmp ecx, 0x24
jl 0x4064a2
inc dword [esp + 0x1c]
jmp 0x4064b8
test eax, eax
jne 0x4064aa
test ecx, ecx
je 0x4064b8
mov al, byte [eax + str.0123456789ABCDEFabcdef_XxPp]
mov byte [esi], al
inc esi
inc ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x40]
cmp ebp, 0x10
cmovae eax, ecx
cmp byte [eax + ebx], 0x7f
je 0x40651c
cmp ebp, 0x10
lea eax, [esp + 0x40]
cmovae eax, ecx
inc byte [eax + ebx]
jmp 0x406518
cmp ebp, 0x10
lea eax, [esp + 0x40]
cmovae eax, dword [esp + 0x40]
cmp byte [eax + ebx], 0
je 0x406537
cmp byte [esp + 0x1a], 0
je 0x406537
cmp byte [edi + 4], 0
jne 0x406501
mov ecx, edi
call fcn.00406948
mov al, byte [edi + 5]
cmp al, byte [esp + 0x1a]
jne 0x406537
push 0
push 1
lea ecx, [esp + 0x48]
call fcn.00406031
inc ebx
mov ebp, dword [esp + 0x54]
mov ecx, edi
call fcn.00406924
push dword [esp + 0x34]
push edi
call fcn.00407598
pop ecx
pop ecx
test al, al
jne 0x406465
mov edx, dword [esp + 0x40]
test ebx, ebx
je 0x406556
cmp ebp, 0x10
lea eax, [esp + 0x40]
cmovae eax, edx
cmp byte [eax + ebx], 0
jle 0x406599
inc ebx
jmp 0x406556
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
test ebx, ebx
je 0x40659e
mov cl, byte [eax]
cmp cl, 0x7f
je 0x40659e
dec ebx
je 0x406577
cmp ebp, 0x10
lea eax, [esp + 0x40]
cmovae eax, edx
cmp cl, byte [eax + ebx]
jne 0x406599
test ebx, ebx
jne 0x406589
cmp ebp, 0x10
lea eax, [esp + 0x40]
cmovae eax, edx
cmp cl, byte [eax]
jl 0x406599
mov eax, dword [esp + 0x20]
inc eax
cmp byte [eax], 0
jle 0x406556
mov dword [esp + 0x20], eax
jmp 0x40655a
mov byte [esp + 0x1b], 1
push 0
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0xa0], 1
call fcn.004032ac
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
jmp 0x406627
push ebp
push edi
call fcn.00407598
pop ecx
pop ecx
test al, al
je 0x406627
cmp byte [edi + 4], 0
jne 0x4065d7
mov ecx, edi
call fcn.00406948
movzx eax, byte [edi + 5]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.004075af
pop ecx
pop ecx
cmp eax, 0x16
jae 0x406623
cmp ebx, 0x24
jl 0x4065f8
inc dword [esp + 0x1c]
jmp 0x40660a
test eax, eax
jne 0x406600
test ebx, ebx
je 0x40660a
mov al, byte [eax + str.0123456789ABCDEFabcdef_XxPp]
mov byte [esi], al
inc esi
inc ebx
mov ecx, edi
mov byte [esp + 0x19], 1
call fcn.00406924
push ebp
push edi
call fcn.00407598
pop ecx
pop ecx
test al, al
jne 0x4065ca
mov dword [esp + 0x24], ebx
cmp byte [esp + 0x19], 0
je 0x406636
test ebx, ebx
jne 0x406636
mov byte [esi], 0x30
inc esi
push ebp
push edi
call fcn.00407598
pop ecx
pop ecx
test al, al
je 0x406673
cmp byte [edi + 4], 0
jne 0x406650
mov ecx, edi
call fcn.00406948
mov ecx, dword [esp + 0x2c]
mov bl, byte [edi + 5]
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp bl, al
jne 0x406673
call fcn.00408951
mov ecx, edi
mov eax, dword [eax]
mov al, byte [eax]
mov byte [esi], al
inc esi
call fcn.00406924
mov ebx, dword [esp + 0x24]
test ebx, ebx
jne 0x406719
push ebp
push edi
call fcn.00407598
pop ecx
pop ecx
test al, al
je 0x4066c8
mov ebx, dword [esp + 0x1c]
cmp byte [edi + 4], 0
jne 0x40669d
mov ecx, edi
call fcn.00406948
mov al, byte [edi + 5]
cmp al, byte [esp + 0x70]
jne 0x4066c0
mov ecx, edi
mov byte [esp + 0x19], 1
dec ebx
call fcn.00406924
push ebp
push edi
call fcn.00407598
pop ecx
pop ecx
test al, al
jne 0x406690
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
test eax, eax
jns 0x406719
mov byte [esi], 0x30
inc esi
inc eax
mov dword [esp + 0x1c], eax
jmp 0x406719
cmp byte [edi + 4], 0
jne 0x4066e8
mov ecx, edi
call fcn.00406948
movzx eax, byte [edi + 5]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.004075af
pop ecx
pop ecx
cmp eax, 0x16
jae 0x406726
cmp ebx, 0x24
jge 0x40670d
mov al, byte [eax + str.0123456789ABCDEFabcdef_XxPp]
mov byte [esi], al
inc esi
inc ebx
mov ecx, edi
mov byte [esp + 0x19], 1
call fcn.00406924
push ebp
push edi
call fcn.00407598
pop ecx
pop ecx
test al, al
jne 0x4066db
mov al, byte [esp + 0x19]
test al, al
je 0x406875
push ebp
push edi
call fcn.00407598
pop ecx
pop ecx
test al, al
je 0x406871
cmp byte [edi + 4], 0
jne 0x406750
mov ecx, edi
call fcn.00406948
mov al, byte [edi + 5]
cmp al, byte [esp + 0x8b]
je 0x406779
cmp byte [edi + 4], 0
jne 0x406769
mov ecx, edi
call fcn.00406948
mov al, byte [edi + 5]
cmp al, byte [esp + 0x8a]
jne 0x406871
mov byte [esi], 0x70
mov ecx, edi
inc esi
call fcn.00406924
xor ebx, ebx
mov byte [esp + 0x19], 0
push ebp
mov ecx, edi
mov dword [esp + 0x2c], ebx
call fcn.00407822
test al, al
jne 0x4067db
cmp byte [edi + 4], bl
jne 0x4067a7
mov ecx, edi
call fcn.00406948
mov al, byte [edi + 5]
cmp al, byte [esp + 0x87]
jne 0x4067b8
mov byte [esi], 0x2b
jmp 0x4067d3
cmp byte [edi + 4], bl
jne 0x4067c4
mov ecx, edi
call fcn.00406948
mov al, byte [edi + 5]
cmp al, byte [esp + 0x86]
jne 0x4067db
mov byte [esi], 0x2d
mov ecx, edi
inc esi
call fcn.00406924
push ebp
push edi
call fcn.00407598
pop ecx
pop ecx
test al, al
je 0x406824
cmp byte [edi + 4], 0
jne 0x4067f5
mov ecx, edi
call fcn.00406948
mov al, byte [edi + 5]
cmp al, byte [esp + 0x70]
jne 0x406814
mov ecx, edi
mov bl, 1
call fcn.00406924
push ebp
push edi
call fcn.00407598
pop ecx
pop ecx
test al, al
jne 0x4067e8
mov byte [esp + 0x19], bl
test bl, bl
mov ebx, dword [esp + 0x28]
je 0x406824
mov byte [esi], 0x30
inc esi
push ebp
push edi
call fcn.00407598
pop ecx
pop ecx
test al, al
je 0x406871
cmp byte [edi + 4], 0
jne 0x40683e
mov ecx, edi
call fcn.00406948
movzx eax, byte [edi + 5]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.004075af
pop ecx
pop ecx
cmp eax, 0x16
jae 0x406871
cmp ebx, 8
jge 0x406863
mov al, byte [eax + str.0123456789ABCDEFabcdef_XxPp]
mov byte [esi], al
inc esi
inc ebx
mov ecx, edi
mov byte [esp + 0x19], 1
call fcn.00406924
jmp 0x406824
mov al, byte [esp + 0x19]
cmp byte [esp + 0x1b], 0
jne 0x406880
test al, al
jne 0x406884
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
mov byte [esi], 0
push 0
mov dword [ecx], eax
lea ecx, [esp + 0x5c]
push 1
call fcn.004032ac
xor eax, eax
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00407db1
add esp, 0x88
ret