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

Disassembly:
push 0xffffffffffffffff
push 0x103614c8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [esp + 0x8c]
mov esi, dword [esp + 0x88]
mov dword [esp + 0x20], ebx
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], 0
jb 0x1031dbc7
mov eax, dword [ebx]
jmp 0x1031dbc9
mov eax, ebx
mov byte [eax], 0
cmp dword [edi + 0x10], 0
je 0x1031de3f
cmp dword [esi + 0x10], 0
lea ebp, [esi + 0x10]
mov dword [esp + 0x1c], ebp
jne 0x1031dbea
mov al, 1
jmp 0x1031de41
push str.Shlwapi.dll
lea ecx, [esp + 0x28]
call fcn.100cd5c0
mov dword [esp + 0x80], 0
lea eax, [esp + 0x24]
push eax
call fcn.1016c770
mov ecx, eax
call fcn.1016c7f0
mov dword [esp + 0x18], eax
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x38], 8
jb 0x1031dc3b
push dword [esp + 0x24]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov eax, dword [esp + 0x1c]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], cx
test eax, eax
je 0x1031de3f
push str.UrlUnescapeA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x18], eax
test eax, eax
je 0x1031de3f
mov ecx, dword [ebp]
inc ecx
push ecx
call fcn.1033d1c5
mov ebp, eax
add esp, 4
mov dword [esp + 0x70], ebp
mov dword [esp + 0x80], 1
cmp dword [esi + 0x14], 0x10
jb 0x1031dc98
mov esi, dword [esi]
mov ecx, ebp
lea ebx, [ebx]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x1031dca0
mov eax, dword [esp + 0x1c]
push 0x100000
mov eax, dword [eax]
mov byte [eax + ebp], 0
lea eax, [esp + 0x70]
push eax
push 0
push ebp
mov dword [esp + 0x7c], 0
call dword [esp + 0x28]
test eax, eax
jns 0x1031dcdc
xor bl, bl
jmp 0x1031de22
push ebp
lea ecx, [esp + 0x58]
call fcn.100cc220
mov byte [esp + 0x80], 2
lea edx, [esp + 0x54]
lea ecx, [esp + 0x24]
call fcn.10314fc0
mov byte [esp + 0x80], 3
lea ecx, [esp + 0x54]
push eax
call fcn.100ffc90
mov byte [esp + 0x80], 2
lea ecx, [esp + 0x24]
call fcn.100cc270
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
mov byte [esp + 0x80], 4
xor esi, esi
mov eax, dword [edi + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x64]
test eax, eax
jle 0x1031dda7
mov ebx, dword [esp + 0x18]
mov ebp, eax
mov eax, esi
lea ecx, [esp + 0x54]
cdq
idiv ebx
cmp dword [esp + 0x68], 0x10
cmovae ecx, dword [esp + 0x54]
cmp dword [edi + 0x14], 0x10
jb 0x1031dd7f
mov eax, dword [edi]
jmp 0x1031dd81
mov eax, edi
mov al, byte [eax + edx]
xor al, byte [ecx + esi]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1c], al
push dword [esp + 0x1c]
push 1
call fcn.10168b90
inc esi
cmp esi, ebp
jl 0x1031dd62
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x70]
lea eax, [esp + 0x3c]
cmp ebx, eax
je 0x1031ddbb
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.100cc2f0
cmp dword [ebx + 0x10], 0
setne bl
mov byte [esp + 0x80], 2
cmp dword [esp + 0x50], 0x10
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x1031dde0
push dword [esp + 0x3c]
call esi
add esp, 4
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
mov byte [esp + 0x80], 1
cmp dword [esp + 0x68], 0x10
jb 0x1031de0d
push dword [esp + 0x54]
call esi
add esp, 4
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], 0
mov byte [esp + 0x54], 0
mov dword [esp + 0x80], 0xffffffff
test ebp, ebp
je 0x1031de3b
push ebp
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov al, bl
jmp 0x1031de41
xor al, al
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.1033d458
add esp, 0x70
ret 8