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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52f688
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x56b1dc]
xor eax, esp
mov dword [esp + 0xf8], eax
push ebx
push esi
push edi
mov eax, dword [0x56b1dc]
xor eax, esp
push eax
lea eax, [esp + 0x110]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [ebp + 8], ebx
mov eax, ecx
mov dword [esp + 0x14], eax
jne 0x4133b4
cmp dword [eax + 0x160], ebx
jne 0x4132fc
mov esi, dword [eax + 0x10c]
mov edi, dword [eax + 0x114]
mov eax, dword [0x5759e8]
mov edx, dword [eax + 0xc]
mov ecx, 0x5759e8
call edx
add eax, 0x10
mov dword [esp + 0x3c], eax
push esi
lea eax, [esp + 0x40]
mov dword [esp + 0x11c], ebx
call fcn.004137a0
mov eax, edi
lea esi, [esp + 0x3c]
call fcn.00413760
mov esi, dword [esp + 0x3c]
cmp esi, ebx
jne 0x412bd7
xor eax, eax
jmp 0x412bf1
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x412be0
sub eax, edx
js 0x4132f2
cmp eax, dword [esi - 8]
jg 0x4132f2
mov dword [esi - 0xc], eax
mov byte [eax + esi], bl
mov eax, dword [0x5759e8]
mov edx, dword [eax + 0xc]
mov ecx, 0x5759e8
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
push ebx
push ebx
push 0xffffffffffffffff
push esi
push ebx
push 0x3a8
mov byte [esp + 0x130], 1
call dword [0x531340]
mov edi, eax
xor ecx, ecx
lea esi, [edi + 1]
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005002a8
mov esi, eax
add esp, 4
lea eax, [edi + 1]
add eax, eax
push eax
push ebx
push esi
call fcn.00508d80
mov ecx, dword [esp + 0x48]
add esp, 0xc
push edi
push esi
push 0xffffffffffffffff
push ecx
push ebx
push 0x3a8
call dword [0x531340]
mov edx, esi
lea edi, [esp + 0x18]
call fcn.00402760
cmp esi, ebx
je 0x412c8e
push esi
call fcn.004ffbbe
add esp, 4
lea edx, [esp + 0x1c]
push 0x535ca4
push edx
lea ecx, [esp + 0x20]
call fcn.0040d2f0
add esp, 8
lea edi, [esp + 0x18]
mov byte [esp + 0x118], 2
call fcn.00401dd0
mov byte [esp + 0x118], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412cdd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
push 0x535018
lea esi, [esp + 0x28]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
call fcn.00414780
mov byte [esp + 0x118], 3
push 1
mov edi, esi
push 0x535f04
lea esi, [esp + 0x4c]
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
call fcn.00414780
mov byte [esp + 0x118], 4
push 2
push 0x535ca4
lea esi, [esp + 0x6c]
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], bx
call fcn.00414780
mov byte [esp + 0x118], 5
mov ecx, esi
mov esi, dword [esp + 0x18]
mov eax, dword [esi - 8]
push ecx
mov ecx, dword [esi - 0xc]
mov edx, 1
sub edx, dword [esi - 4]
sub eax, ecx
or eax, edx
jge 0x412d88
lea eax, [esp + 0x1c]
call fcn.00402120
mov esi, dword [esp + 0x1c]
sub esp, 0x1c
mov edx, esi
mov eax, esp
mov dword [esp + 0x60], esp
call fcn.004141d0
mov edx, edi
lea ecx, [esp + 0x64]
lea edi, [esp + 0xbc]
call fcn.0041a120
cmp dword [esp + 0x7c], 8
jb 0x412dbe
mov edx, dword [esp + 0x68]
push edx
call fcn.004ffbbe
add esp, 4
mov edi, 7
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], bx
cmp dword [esp + 0x5c], 8
jb 0x412de4
mov eax, dword [esp + 0x48]
push eax
call fcn.004ffbbe
add esp, 4
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
mov byte [esp + 0x118], 9
cmp dword [esp + 0x38], 8
jb 0x412e0d
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004ffbbe
add esp, 4
cmp esi, ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
jne 0x412e22
xor eax, eax
jmp 0x412e3c
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x412e27
sub eax, edx
sar eax, 1
js 0x4132f2
cmp eax, dword [esi - 8]
jg 0x4132f2
mov dword [esi - 0xc], eax
mov word [esi + eax*2], bx
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], bx
mov byte [esp + 0x118], 0xa
push 4
push str.prov
lea esi, [esp + 0x4c]
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
call fcn.00414780
mov byte [esp + 0x118], 0xb
push ebx
push 0x535ef0
lea esi, [esp + 0x28]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
call fcn.00414780
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0xa0]
push eax
mov edx, esi
lea ecx, [esp + 0x88]
mov byte [esp + 0x120], 0xc
call fcn.00414d40
mov esi, 8
cmp dword [esp + 0x38], esi
jb 0x412ee6
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004ffbbe
add esp, 4
mov byte [esp + 0x118], 0xa
cmp dword [esp + 0x5c], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
jb 0x412f0e
mov edx, dword [esp + 0x48]
push edx
call fcn.004ffbbe
add esp, 4
cmp dword [esp + 0x98], esi
mov edx, dword [esp + 0x84]
jae 0x412f25
lea edx, [esp + 0x84]
mov edi, dword [esp + 0x14]
add edi, 0x154
call fcn.00402760
push 4
mov edi, 7
push str.city
lea esi, [esp + 0x4c]
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
call fcn.00414780
mov byte [esp + 0x118], 0xd
push ebx
push 0x535ef0
lea esi, [esp + 0x28]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
call fcn.00414780
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0xa0]
push ecx
mov edx, esi
lea ecx, [esp + 0x88]
mov byte [esp + 0x120], 0xe
call fcn.00414d40
mov esi, 8
cmp dword [esp + 0x38], esi
jb 0x412fb5
mov edx, dword [esp + 0x24]
push edx
call fcn.004ffbbe
add esp, 4
mov byte [esp + 0x118], 0xa
cmp dword [esp + 0x5c], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
jb 0x412fdd
mov eax, dword [esp + 0x48]
push eax
call fcn.004ffbbe
add esp, 4
cmp dword [esp + 0x98], esi
mov edx, dword [esp + 0x84]
jae 0x412ff4
lea edx, [esp + 0x84]
mov edi, dword [esp + 0x14]
add edi, 0x158
call fcn.00402760
push 4
mov edi, 7
push str.furl
lea esi, [esp + 0x4c]
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
call fcn.00414780
mov byte [esp + 0x118], 0xf
push ebx
push 0x535ef0
lea esi, [esp + 0x28]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
call fcn.00414780
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0xa0]
push edx
mov edx, esi
lea ecx, [esp + 0x88]
mov byte [esp + 0x120], 0x10
call fcn.00414d40
mov esi, 8
cmp dword [esp + 0x38], esi
jb 0x413084
mov eax, dword [esp + 0x24]
push eax
call fcn.004ffbbe
add esp, 4
mov byte [esp + 0x118], 0xa
cmp dword [esp + 0x5c], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
jb 0x4130ac
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004ffbbe
add esp, 4
cmp dword [esp + 0x98], esi
mov edx, dword [esp + 0x84]
jae 0x4130c3
lea edx, [esp + 0x84]
mov edi, dword [esp + 0x14]
add edi, 0x15c
mov dword [esp + 0x40], edi
call fcn.00402760
push 5
push str.ckmac
lea esi, [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], 1
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
call fcn.00414780
lea edx, [esp + 0x1c]
push edx
mov eax, esi
push eax
lea ecx, [esp + 0xa4]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x124], 0x11
call fcn.00414fb0
mov byte [esp + 0x118], 0xa
cmp dword [esp + 0x38], 8
jb 0x413140
mov edx, dword [esp + 0x24]
push edx
call fcn.004ffbbe
add esp, 4
xor eax, eax
cmp dword [esp + 0x10], ebx
setg al
push eax
call fcn.00413660
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x158]
add eax, 0x158
cmp dword [ecx - 0xc], ebx
mov dword [esp + 0x60], eax
je 0x41321c
mov edi, dword [esp + 0x14]
mov edx, dword [edi + 0x154]
add edi, 0x154
cmp dword [edx - 0xc], ebx
je 0x41321c
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x1c]
push eax
push 0x20019
push ebx
push str.SOFTWARETencentQQPinyinCityInfoFetch
mov byte [esp + 0x128], 0x12
push 0x80000001
mov dword [esp + 0x30], ebx
call dword [section..rdata]
cmp eax, ebx
jne 0x4131b9
mov eax, dword [esp + 0x1c]
jmp 0x413209
push ebx
mov ecx, str.SOFTWARETencentQQPinyin
call fcn.0045dfa0
add esp, 4
push str.SOFTWARETencentQQPinyinCityInfoFetch
push 0x80000001
mov edx, 1
lea esi, [esp + 0x18]
call fcn.0041a060
mov esi, dword [edi]
push str.province
lea ecx, [esp + 0x14]
push ecx
call fcn.0041a020
mov edx, dword [esp + 0x60]
mov esi, dword [edx]
push str.city
lea eax, [esp + 0x14]
push eax
call fcn.0041a020
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov byte [esp + 0x118], 0xa
je 0x41321c
push eax
call dword [0x531004]
mov ecx, dword [esp + 0x40]
mov edi, dword [ecx]
mov eax, dword [edi - 0xc]
cmp eax, ebx
je 0x41323e
mov esi, dword [esp + 0x14]
mov dword [esi + 0x160], 1
call fcn.00444cf0
jmp 0x41324f
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x134]
push eax
call dword [0x5314fc]
cmp dword [esp + 0x98], 8
jb 0x413269
mov ecx, dword [esp + 0x84]
push ecx
call fcn.004ffbbe
add esp, 4
lea ecx, [esp + 0x9c]
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], bx
mov byte [esp + 0x118], 1
call fcn.0041a290
mov byte [esp + 0x118], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4132be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x118], 0xffffffff
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4133c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4133c1
push 0x80070057
call fcn.004026a0
lea edi, [esp + 0x10]
call fcn.0045e680
mov eax, edi
mov dword [esp + 0x118], 0x13
call fcn.0042b850
push 0xc
push str.celldict.dat
mov ecx, edi
push ecx
call fcn.00411670
mov esi, 3
jmp 0x413330
mov edx, dword [esp + 0x10]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push edx
sub esi, 1
call dword [0x531334]
mov edi, eax
cmp edi, 0xffffffff
jne 0x413369
push 0x3e8
call dword [0x531374]
cmp esi, ebx
jg 0x413330
mov esi, dword [esp + 0x14]
jmp 0x413393
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x114]
mov ecx, dword [esi + 0x10c]
push ebx
lea edx, [esp + 0x44]
push edx
push eax
push ecx
push edi
mov dword [esp + 0x54], ebx
call dword [0x531320]
push edi
call dword [0x531378]
mov eax, dword [esi + 0x134]
push eax
call dword [0x5314fc]
mov dword [esp + 0x118], 0xffffffff
mov eax, dword [esp + 0x10]
jmp 0x4132cd
mov ecx, dword [eax + 0x134]
push ecx
call dword [0x5314fc]
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf8]
xor ecx, esp
call fcn.004ff939
mov esp, ebp
pop ebp
ret 4