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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x463000
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4785d0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x4785d0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [esp + 0x1c], eax
call fcn.00417190
mov edi, eax
add esp, 4
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
call fcn.00416160
mov dword [esp + 0x80], 0
cmp dword [esp + 0x4c], 0
jne 0x4151bb
mov byte [esp + 0x12], 0
jmp 0x4151c8
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x10]
call eax
mov byte [esp + 0x12], al
push ebx
call fcn.00416df0
mov edx, dword [eax]
add esp, 4
lea ecx, [esp + 0x54]
push ecx
push 0x46afae
push str.0123456789ABCDEFabcdef_Xx
mov ecx, eax
call dword [edx + 0x1c]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
push edi
mov ecx, esi
mov dword [esp + 0x18], ebx
call fcn.0040cff0
test al, al
jne 0x415267
cmp byte [esi + 4], al
jne 0x415239
mov ecx, dword [esi]
test ecx, ecx
je 0x41522f
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x415220
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x415220
movzx eax, byte [edx]
jmp 0x415225
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp eax, 0xffffffff
je 0x41522f
mov byte [esi + 5], al
jmp 0x415235
mov dword [esi], 0
mov byte [esi + 4], 1
mov al, byte [esi + 5]
mov ecx, esi
cmp al, byte [esp + 0x6b]
jne 0x415249
mov byte [ebx], 0x2b
jmp 0x41525b
call fcn.0040ce30
mov al, byte [eax]
cmp al, byte [esp + 0x6a]
jne 0x415267
mov byte [ebx], 0x2d
mov ecx, esi
lea eax, [ebx + 1]
mov dword [esp + 0x14], eax
call fcn.0040ce80
mov ebx, dword [ebp + 0x18]
and ebx, 0xe00
cmp ebx, 0x400
jne 0x41527f
mov ebx, 8
jmp 0x415295
cmp ebx, 0x800
jne 0x41528e
mov ebx, 0x10
jmp 0x415295
neg ebx
sbb ebx, ebx
and ebx, 0xa
push edi
mov ecx, esi
mov dword [ebp + 0x18], ebx
mov byte [esp + 0x15], 0
mov byte [esp + 0x17], 0
call fcn.0040cff0
test al, al
jne 0x415358
cmp byte [esi + 4], al
jne 0x4152ec
mov ecx, dword [esi]
test ecx, ecx
je 0x4152e2
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x4152d3
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x4152d3
movzx eax, byte [edx]
jmp 0x4152d8
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp eax, 0xffffffff
je 0x4152e2
mov byte [esi + 5], al
jmp 0x4152e8
mov dword [esi], 0
mov byte [esi + 4], 1
mov al, byte [esi + 5]
cmp al, byte [esp + 0x54]
jne 0x415358
mov ecx, esi
mov byte [esp + 0x11], 1
call fcn.0040ce80
push edi
mov ecx, esi
call fcn.0040cff0
test al, al
jne 0x41534a
mov ecx, esi
call fcn.0040ce30
mov al, byte [eax]
cmp al, byte [esp + 0x6d]
je 0x41532b
mov ecx, esi
call fcn.0040ce30
mov al, byte [eax]
cmp al, byte [esp + 0x6c]
jne 0x41534a
test ebx, ebx
je 0x415334
cmp ebx, 0x10
jne 0x41534a
mov ebx, 0x10
mov ecx, esi
mov dword [ebp + 0x18], ebx
mov byte [esp + 0x11], 0
call fcn.0040ce80
jmp 0x415361
test ebx, ebx
jne 0x41535c
mov ebx, 8
mov dword [ebp + 0x18], ebx
jmp 0x415361
test ebx, ebx
je 0x415376
cmp ebx, 0xa
je 0x415376
mov ecx, 8
mov eax, 0x16
cmp ebx, ecx
cmove eax, ecx
mov dword [esp + 0x20], eax
jmp 0x41537e
mov dword [esp + 0x20], 0xa
mov al, byte [esp + 0x11]
mov ebx, 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x24], al
mov dword [esp + 0x34], 1
mov byte [esp + 0x25], 0
push dword [esp + 0x18]
mov ecx, esi
mov byte [esp + 0x84], 1
xor edi, edi
call fcn.0040cff0
test al, al
jne 0x415570
jmp 0x4153c4
mov ebx, dword [esp + 0x38]
cmp byte [esi + 4], 0
jne 0x4153ff
mov ecx, dword [esi]
test ecx, ecx
je 0x4153f5
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x4153e6
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x4153e6
movzx eax, byte [edx]
jmp 0x4153eb
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp eax, 0xffffffff
je 0x4153f5
mov byte [esi + 5], al
jmp 0x4153fb
mov dword [esi], 0
mov byte [esi + 4], 1
mov cl, byte [esp + 0x54]
lea eax, [esp + 0x54]
test cl, cl
je 0x41541c
mov dl, byte [esi + 5]
mov edi, edi
cmp cl, dl
je 0x41541c
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x415410
lea ecx, [esp + 0x54]
sub eax, ecx
cmp eax, dword [esp + 0x20]
jae 0x415482
cmp byte [esp + 0x13], 0
mov ecx, dword [esp + 0x14]
mov al, byte [eax + str.0123456789ABCDEFabcdef_Xx]
mov byte [ecx], al
jne 0x41543f
cmp al, 0x30
je 0x415454
mov edx, dword [esp + 0x1c]
lea eax, [edx + 0x1f]
cmp ecx, eax
jae 0x415454
inc ecx
mov dword [esp + 0x14], ecx
mov byte [esp + 0x13], 1
cmp ebx, 0x10
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x24]
cmovae eax, ebx
mov byte [esp + 0x11], 1
cmp byte [eax + edi], 0x7f
je 0x4154fc
cmp dword [esp + 0x38], 0x10
lea eax, [esp + 0x24]
cmovae eax, ebx
inc byte [eax + edi]
jmp 0x4154f8
cmp ebx, 0x10
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x24]
cmovae eax, ebx
cmp byte [eax + edi], 0
je 0x415552
mov al, byte [esp + 0x12]
test al, al
je 0x415552
cmp byte [esi + 4], 0
jne 0x4154e5
mov ecx, dword [esi]
test ecx, ecx
je 0x4154d7
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x4154c8
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x4154c8
movzx eax, byte [edx]
jmp 0x4154cd
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp eax, 0xffffffff
je 0x4154d7
mov byte [esi + 5], al
jmp 0x4154dd
mov dword [esi], 0
mov al, byte [esp + 0x12]
mov byte [esi + 4], 1
cmp byte [esi + 5], al
jne 0x415552
push 0
push 1
lea ecx, [esp + 0x2c]
call fcn.00406fb0
inc edi
mov ebx, dword [esp + 0x24]
mov ecx, dword [esi]
test ecx, ecx
je 0x415535
mov eax, dword [ecx + 0x1c]
cmp dword [eax], 0
je 0x415525
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx]
test eax, eax
jle 0x415525
dec eax
mov dword [edx], eax
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ecx]
lea eax, [edx + 1]
mov dword [ecx], eax
movzx eax, byte [edx]
jmp 0x41552a
mov eax, dword [ecx]
call dword [eax + 0x1c]
cmp eax, 0xffffffff
je 0x415535
mov byte [esi + 4], 0
jmp 0x41553f
mov dword [esi], 0
mov byte [esi + 4], 1
push dword [esp + 0x18]
mov ecx, esi
call fcn.0040cff0
test al, al
je 0x4153c0
test edi, edi
je 0x415570
cmp dword [esp + 0x38], 0x10
lea eax, [esp + 0x24]
cmovae eax, ebx
cmp byte [eax + edi], 0
jle 0x41556b
inc edi
jmp 0x415570
mov byte [esp + 0x11], 0
mov esi, dword [esp + 0x50]
mov ebx, dword [esp + 0x3c]
cmp esi, 0x10
lea edx, [esp + 0x3c]
cmovae edx, ebx
cmp byte [esp + 0x11], 0
je 0x4155e1
lea esp, [esp]
test edi, edi
je 0x4155d0
mov cl, byte [edx]
cmp cl, 0x7f
je 0x4155d0
dec edi
je 0x4155b1
cmp dword [esp + 0x38], 0x10
lea eax, [esp + 0x24]
cmovae eax, dword [esp + 0x24]
cmp cl, byte [eax + edi]
jne 0x4155e1
test edi, edi
jne 0x4155c7
cmp dword [esp + 0x38], 0x10
lea eax, [esp + 0x24]
cmovae eax, dword [esp + 0x24]
cmp cl, byte [eax]
jl 0x4155e1
cmp byte [edx + 1], 0
jle 0x415590
inc edx
jmp 0x415590
cmp byte [esp + 0x13], 0
mov eax, dword [esp + 0x14]
jne 0x4155e5
mov byte [eax], 0x30
inc eax
jmp 0x4155e5
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x38], 0x10
mov byte [eax], 0
jb 0x415603
push dword [esp + 0x24]
call fcn.0041a4c1
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x40]
add esp, 4
cmp esi, 0x10
jb 0x415611
push ebx
call fcn.0041a4c1
add esp, 4
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00419056
mov esp, ebp
pop ebp
ret