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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1001f901
mov eax, dword fs:[0]
push eax
sub esp, 0x8c8
mov eax, dword [0x10027120]
xor eax, esp
mov dword [esp + 0x8c0], eax
push ebx
push esi
push edi
mov eax, dword [0x10027120]
xor eax, esp
push eax
lea eax, [esp + 0x8d8]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], edi
cmp edi, ebx
je 0x10007835
mov byte [edi], bl
cmp esi, ebx
je 0x1000783b
mov byte [esi], bl
push 0x3f
lea eax, [esp + 0x91]
push ebx
push eax
mov byte [esp + 0x98], bl
call fcn.1000f470
mov eax, dword [ebp + 8]
add esp, 0xc
cmp eax, ebx
je 0x10007875
cmp byte [eax], bl
je 0x10007875
lea edx, [esp + 0x8c]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x10007869
jmp 0x100078ad
lea eax, [esp + 0x6c]
push eax
call fcn.100066d9
test eax, eax
je 0x100078ad
xor eax, eax
mov cl, byte [esp + eax + 0x6c]
mov byte [esp + eax + 0x8c], cl
inc eax
cmp cl, bl
jne 0x10007885
cmp esi, ebx
je 0x100078ad
lea eax, [esp + 0x6c]
mov edx, esi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x100078a3
cmp byte [esp + 0x8c], bl
je 0x10007ab8
cmp edi, ebx
je 0x10007ab8
mov eax, str.coresource_id6006oeutf8
mov dword [esp + 0x6c], str.http:__opendata.baidu.com_api.php_query
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], str.http:__sp0.baidu.com_8aQDcjqpAAV3otqbppnN2DJv_api.php_query
mov dword [esp + 0x78], eax
mov dword [esp + 0x1c], ebx
jmp 0x10007ab0
mov eax, dword [esp + 0x1c]
cmp eax, 2
jae 0x10007ab8
push dword [esp + eax*8 + 0x6c]
lea eax, [esp + 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ebx
push 0x200
lea eax, [esp + 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esp + eax*2 + 0xd4]
lea eax, [esp + 0x94]
call fcn.1000b13d
mov eax, dword [esp + 0x24]
pop ecx
pop ecx
push dword [esp + eax*8 + 0x70]
lea eax, [esp + 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push ebx
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x28]
push eax
xor ecx, ecx
lea edx, [esp + 0xe0]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
call fcn.1000a65e
add esp, 0x14
cmp eax, 0xc8
jne 0x10007a98
cmp dword [esp + 0x18], ebx
je 0x10007a98
cmp dword [esp + 0x14], ebx
je 0x10007a98
lea eax, [esp + 0x34]
push eax
call fcn.10007af5
mov dword [esp + 0x8e0], ebx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x34]
call fcn.1000778c
cmp dword [eax + 0x30], ebx
jne 0x10007a86
mov edi, dword [esp + 0x34]
lea eax, [esp + 0x34]
shl edi, 5
add edi, dword [esp + 0x3c]
push eax
mov esi, str.data
lea ebx, [esp + 0x34]
call fcn.10008fe0
cmp dword [eax], edi
je 0x10007a80
mov edx, esi
lea esi, [esp + 0x34]
call fcn.100090f4
cmp word [eax + 0xe], 4
mov dword [esp + 0x28], eax
jne 0x10007a80
mov edx, dword [eax]
mov ecx, dword [eax + 8]
shl edx, 4
add edx, ecx
cmp ecx, edx
jmp 0x10007a68
cmp word [ecx + 0xe], 3
jne 0x10007a5b
mov edi, dword [ecx]
shl edi, 5
add edi, dword [ecx + 8]
push ecx
mov esi, str.location
lea ebx, [esp + 0x30]
call fcn.10008fe0
cmp dword [eax], edi
je 0x10007a53
mov edx, esi
mov esi, dword [esp + 0x14]
call fcn.100090f4
movzx ecx, word [eax + 0xe]
mov edx, ecx
shr edx, 0xa
test dl, 1
je 0x10007a53
test ecx, 0x1000
jne 0x10007a4a
mov eax, dword [eax + 8]
test eax, eax
je 0x10007a53
cmp byte [eax], 0
jne 0x10007a70
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov esi, dword [eax]
shl esi, 4
add esi, dword [eax + 8]
add ecx, 0x10
cmp ecx, esi
mov dword [esp + 0x14], ecx
jne 0x10007a04
jmp 0x10007a80
mov edx, dword [esp + 0x20]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10007a76
mov edi, dword [esp + 0x20]
xor ebx, ebx
or dword [esp + 0x8e0], 0xffffffff
lea eax, [esp + 0x34]
push eax
call fcn.10007b74
inc dword [esp + 0x1c]
cmp dword [esp + 0x18], ebx
je 0x10007aac
push dword [esp + 0x18]
call fcn.1000d764
pop ecx
mov esi, dword [esp + 0x24]
cmp byte [edi], bl
je 0x100078e8
cmp esi, ebx
je 0x10007ac0
cmp byte [esi], bl
je 0x10007ac8
cmp edi, ebx
je 0x10007acc
cmp byte [edi], bl
jne 0x10007acc
xor eax, eax
jmp 0x10007acf
xor eax, eax
inc eax
mov ecx, dword [esp + 0x8d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x8c0]
xor ecx, esp
call fcn.1000d755
mov esp, ebp
pop ebp
ret 0xc