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

Disassembly:
push 0xffffffffffffffff
push 0x52a340
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x56b1dc]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56b1dc]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [esp + 0x90]
mov ebp, dword [esp + 0x94]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x9c]
push eax
mov ebx, edx
mov dword [esp + 0x38], ecx
call fcn.00419290
mov edi, eax
add esp, 4
lea esi, [esp + 0x60]
mov ecx, edi
call fcn.0045c1e0
mov dword [esp + 0x88], 0
cmp dword [esp + 0x74], 0
jne 0x417564
xor edi, edi
mov dword [esp + 0x3c], edi
jmp 0x417576
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
movzx ecx, ax
mov dword [esp + 0x3c], ecx
xor edi, edi
add ebx, 8
push ebx
lea edx, [esp + 0x2c]
push edx
push 1
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
push ecx
mov byte [esp + 0x2c], 0x30
mov dword [esp + 0x4c], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x54], ebx
call fcn.0051ffde
mov edx, dword [esp + 0x44]
add esp, 0x14
cmp byte [ebp + 8], 0
mov dword [esp + 0x2c], edx
jne 0x4175b9
mov esi, ebp
call fcn.00419110
mov esi, dword [esp + 0x34]
cmp byte [esi + 8], 0
jne 0x4175c8
call fcn.00419110
mov eax, dword [ebp + 4]
cmp eax, edi
jne 0x4175dc
cmp dword [esi + 4], edi
je 0x417681
cmp eax, edi
je 0x4175e5
cmp dword [esi + 4], edi
jne 0x417681
cmp byte [ebp + 8], 0
jne 0x4175f2
mov esi, ebp
call fcn.00419110
movzx esi, word [ebp + 0xa]
push ebx
lea eax, [esp + 0x24]
push eax
push 1
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x2c], 0x2b
mov dword [esp + 0x3c], edi
mov dword [esp + 0x34], edi
call fcn.0051ffde
add esp, 0x14
cmp si, word [esp + 0x28]
jne 0x41762d
mov eax, dword [esp + 0x30]
mov byte [eax], 0x2b
jmp 0x417673
cmp byte [ebp + 8], 0
jne 0x41763a
mov esi, ebp
call fcn.00419110
movzx esi, word [ebp + 0xa]
push ebx
lea eax, [esp + 0x24]
push eax
push 1
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x2c], 0x2d
mov dword [esp + 0x3c], edi
mov dword [esp + 0x34], edi
call fcn.0051ffde
add esp, 0x14
cmp si, word [esp + 0x28]
jne 0x417681
mov eax, dword [esp + 0x30]
mov byte [eax], 0x2d
add eax, 1
mov esi, ebp
mov dword [esp + 0x2c], eax
call fcn.004190c0
mov eax, dword [esp + 0x98]
and eax, 0xe00
cmp eax, 0x400
jne 0x41769e
mov dword [esp + 0x20], 8
jmp 0x4176ba
cmp eax, 0x800
jne 0x4176af
mov dword [esp + 0x20], 0x10
jmp 0x4176ba
neg eax
sbb eax, eax
and eax, 0xa
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0x34]
mov edi, ebp
mov byte [esp + 0x1f], 0
mov byte [esp + 0x27], 0
call fcn.004197b0
test al, al
je 0x417782
cmp byte [ebp + 8], 0
jne 0x4176e4
mov esi, ebp
call fcn.00419110
movzx eax, word [ebp + 0xa]
cmp ax, word [esp + 0x38]
jne 0x417782
mov esi, ebp
mov byte [esp + 0x1f], 1
call fcn.004190c0
mov edi, ebp
call fcn.004197b0
test al, al
je 0x417771
cmp byte [ebp + 8], 0
jne 0x417715
call fcn.00419110
mov edi, dword [esp + 0x40]
movzx esi, word [ebp + 0xa]
push edi
push 0x78
call fcn.00411e50
add esp, 8
cmp si, ax
je 0x41774e
cmp byte [ebp + 8], 0
jne 0x41773a
mov esi, ebp
call fcn.00419110
movzx esi, word [ebp + 0xa]
push edi
push 0x58
call fcn.00411e50
add esp, 8
cmp si, ax
jne 0x417771
mov eax, dword [esp + 0x20]
test eax, eax
je 0x41775b
cmp eax, 0x10
jne 0x417771
mov esi, ebp
mov dword [esp + 0x20], 0x10
mov byte [esp + 0x1f], 0
call fcn.004190c0
jmp 0x417790
cmp dword [esp + 0x20], 0
jne 0x417789
mov dword [esp + 0x20], 8
jmp 0x417790
cmp dword [esp + 0x20], 0
je 0x4177a7
cmp dword [esp + 0x20], 0xa
je 0x4177a7
mov edi, dword [esp + 0x20]
sub edi, 8
neg edi
sbb edi, edi
and edi, 0xe
add edi, 8
mov dword [esp + 0x28], edi
jmp 0x4177b3
mov dword [esp + 0x28], 0xa
mov edi, dword [esp + 0x28]
mov al, byte [esp + 0x1f]
mov dword [esp + 0x5c], 0xf
mov byte [esp + 0x48], al
mov dword [esp + 0x58], 1
mov byte [esp + 0x49], 0
mov esi, dword [esp + 0x34]
mov byte [esp + 0x88], 1
xor ebx, ebx
mov edi, edi
cmp byte [ebp + 8], 0
jne 0x417828
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x41781d
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x417804
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x417804
mov eax, dword [eax]
movzx eax, word [eax]
jmp 0x41780e
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
movzx eax, ax
movzx eax, ax
cmp ax, 0xffff
je 0x41781d
mov word [ebp + 0xa], ax
jmp 0x417824
mov dword [ebp + 4], 0
mov byte [ebp + 8], 1
cmp byte [esi + 8], 0
jne 0x417870
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x417865
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x41784c
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x41784c
mov eax, dword [eax]
movzx eax, word [eax]
jmp 0x417856
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
movzx eax, ax
movzx eax, ax
cmp ax, 0xffff
je 0x417865
mov word [esi + 0xa], ax
jmp 0x41786c
mov dword [esi + 4], 0
mov byte [esi + 8], 1
mov ecx, dword [ebp + 4]
test ecx, ecx
jne 0x4178b4
cmp dword [esi + 4], ecx
jne 0x4178ba
test ebx, ebx
je 0x417a77
cmp ebx, dword [esp + 0x58]
jbe 0x41788f
call fcn.00500ad0
mov eax, dword [esp + 0x48]
mov edi, 0x10
cmp dword [esp + 0x5c], edi
jae 0x4178a2
lea eax, [esp + 0x48]
cmp byte [eax + ebx], 0
jle 0x417a70
add ebx, 1
jmp 0x417a7c
cmp dword [esi + 4], 0
jne 0x41787c
cmp byte [ebp + 8], 0
jne 0x4178ff
test ecx, ecx
je 0x4178f4
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x4178db
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x4178db
mov eax, dword [eax]
movzx eax, word [eax]
jmp 0x4178e5
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
movzx eax, ax
movzx eax, ax
cmp ax, 0xffff
je 0x4178f4
mov word [ebp + 0xa], ax
jmp 0x4178fb
mov dword [ebp + 4], 0
mov byte [ebp + 8], 1
mov ecx, dword [esp + 0x40]
movzx eax, word [ebp + 0xa]
push ecx
lea edx, [esp + 0x3c]
push edx
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x28], 0
mov dword [esp + 0x48], 0
call fcn.0051fe26
mov al, byte [esp + 0x28]
mov edx, dword [esp + 0x3c]
mov byte [edx], al
movsx eax, al
push edi
push eax
push str.0123456789abcdefABCDEF
call fcn.00500eb0
add esp, 0x1c
test eax, eax
je 0x4179b5
cmp byte [esp + 0x27], 0
jne 0x417955
mov ecx, dword [esp + 0x2c]
cmp byte [ecx], 0x30
je 0x41796c
mov eax, dword [esp + 0x30]
add eax, 0x1f
cmp dword [esp + 0x2c], eax
jae 0x41796c
add dword [esp + 0x2c], 1
mov byte [esp + 0x27], 1
cmp ebx, dword [esp + 0x58]
mov byte [esp + 0x1f], 1
jbe 0x41797c
call fcn.00500ad0
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x41798b
lea eax, [esp + 0x48]
cmp byte [eax + ebx], 0x7f
je 0x417a1c
cmp ebx, dword [esp + 0x58]
jbe 0x4179a0
call fcn.00500ad0
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x4179af
lea eax, [esp + 0x48]
add byte [eax + ebx], 1
jmp 0x417a1c
cmp ebx, dword [esp + 0x58]
jbe 0x4179c0
call fcn.00500ad0
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x4179cf
lea eax, [esp + 0x48]
cmp byte [eax + ebx], 0
je 0x41787c
cmp word [esp + 0x3c], 0
je 0x41787c
cmp byte [ebp + 8], 0
jne 0x4179f2
mov esi, ebp
call fcn.00419110
mov dx, word [esp + 0x3c]
cmp word [ebp + 0xa], dx
jne 0x41787c
push 0
mov eax, 1
lea edi, [esp + 0x48]
call fcn.00418e10
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x34]
add ebx, 1
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x417a60
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x417a47
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x417a47
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 0x417a51
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
movzx eax, ax
cmp ax, 0xffff
je 0x417a60
mov byte [ebp + 8], 0
jmp 0x4177e0
mov dword [ebp + 4], 0
mov byte [ebp + 8], 1
jmp 0x4177e0
mov byte [esp + 0x1f], 0
jmp 0x417a7c
mov edi, 0x10
cmp dword [esp + 0x78], edi
mov esi, dword [esp + 0x64]
jae 0x417a8a
lea esi, [esp + 0x64]
cmp byte [esp + 0x1f], 0
je 0x417b0b
test ebx, ebx
jbe 0x417af8
cmp byte [esi], 0x7f
je 0x417af8
sub ebx, 1
je 0x417ac4
cmp ebx, dword [esp + 0x58]
jbe 0x417aaf
call fcn.00500ad0
mov edi, 0x10
cmp dword [esp + 0x5c], edi
mov eax, dword [esp + 0x48]
jae 0x417abd
lea eax, [esp + 0x48]
mov cl, byte [esi]
cmp cl, byte [eax + ebx]
jne 0x417b0b
test ebx, ebx
jne 0x417aed
cmp ebx, dword [esp + 0x58]
jbe 0x417ad8
call fcn.00500ad0
mov edi, 0x10
cmp dword [esp + 0x5c], edi
mov eax, dword [esp + 0x48]
jae 0x417ae6
lea eax, [esp + 0x48]
mov dl, byte [esi]
cmp dl, byte [eax + ebx]
jl 0x417b0b
cmp byte [esi + 1], 0
jle 0x417a91
add esi, 1
jmp 0x417a91
cmp byte [esp + 0x27], 0
mov eax, dword [esp + 0x2c]
jne 0x417b0f
mov byte [eax], 0x30
add eax, 1
jmp 0x417b0f
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x5c], edi
mov byte [eax], 0
jb 0x417b2a
mov eax, dword [esp + 0x48]
push eax
call fcn.004ffbbe
add esp, 4
mov edi, 0x10
cmp dword [esp + 0x78], edi
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
jb 0x417b52
mov ecx, dword [esp + 0x64]
push ecx
call fcn.004ffbbe
add esp, 4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004ff939
add esp, 0x78
ret