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

Disassembly:
push 0xffffffffffffffff
push 0x4a6f11
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x4cdbb4]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cdbb4]
xor eax, esp
push eax
lea eax, [esp + 0x198]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1a8]
mov esi, dword [esp + 0x1b0]
mov dword [esp + 0x5c], ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.004039d0
mov eax, dword [0x4cf698]
mov edx, dword [eax + 0xc]
mov ecx, 0x4cf698
mov dword [esp + 0x1a0], 0
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1ac]
push eax
lea ecx, [esp + 0x18]
push 0x4acbe8
push ecx
mov byte [esp + 0x1ac], 1
call fcn.004110f0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.DLL_SetEvent]
lea ecx, [esp + 0xe0]
call fcn.004775c0
push 0
lea ecx, [esp + 0x64]
mov byte [esp + 0x1a4], 2
call fcn.0047da90
mov edi, dword [sym.imp.KERNEL32.DLL_GetACP]
mov esi, dword [esp + 0x18]
mov byte [esp + 0x1a0], 3
call edi
push eax
lea edx, [esp + 0x44]
push esi
push edx
call fcn.00401080
add esp, 0xc
mov ebp, 0x10
mov byte [esp + 0x1a0], 4
cmp dword [eax + 0x18], ebp
jb 0x41579a
mov eax, dword [eax + 4]
jmp 0x41579d
add eax, 4
push eax
lea ecx, [esp + 0x28]
call fcn.0047dc70
lea eax, [esp + 0x24]
push eax
push str.Name
lea ecx, [esp + 0x68]
mov byte [esp + 0x1a8], 5
call fcn.0047ebd0
mov ecx, eax
call fcn.0047e150
lea ecx, [esp + 0x24]
mov byte [esp + 0x1a0], 4
call fcn.0047e040
mov byte [esp + 0x1a0], 3
cmp dword [esp + 0x58], ebp
jb 0x4157f5
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0048668b
add esp, 4
call edi
mov edx, dword [esp + 0x14]
push eax
push edx
lea eax, [esp + 0x48]
push eax
call fcn.00401080
add esp, 0xc
mov bl, 6
mov byte [esp + 0x1a0], bl
cmp dword [eax + 0x18], ebp
jb 0x41581d
mov eax, dword [eax + 4]
jmp 0x415820
add eax, 4
push eax
lea ecx, [esp + 0x28]
call fcn.0047dc70
lea ecx, [esp + 0x24]
push ecx
push str.Server
lea ecx, [esp + 0x68]
mov byte [esp + 0x1a8], 7
call fcn.0047ebd0
mov ecx, eax
call fcn.0047e150
lea ecx, [esp + 0x24]
mov byte [esp + 0x1a0], bl
call fcn.0047e040
mov byte [esp + 0x1a0], 3
cmp dword [esp + 0x58], ebp
jb 0x415877
mov edx, dword [esp + 0x44]
push edx
call fcn.0048668b
add esp, 4
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0xe8]
call fcn.00477650
mov byte [esp + 0x1a0], 8
cmp dword [eax + 0x18], ebp
jb 0x41589f
mov eax, dword [eax + 4]
jmp 0x4158a2
add eax, 4
push eax
lea ecx, [esp + 0x24]
call fcn.00403a80
mov byte [esp + 0x1a0], 0xa
cmp dword [esp + 0x3c], ebp
jb 0x4158c7
mov edx, dword [esp + 0x28]
push edx
call fcn.0048668b
add esp, 4
mov eax, dword [esp + 0x20]
push 0xfde9
push eax
lea ecx, [esp + 0x94]
xor ebx, ebx
mov esi, 0xf
push ecx
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.00401080
add esp, 0xc
mov byte [esp + 0x1a0], 0xb
call edi
push eax
lea edx, [esp + 0xc8]
push str.http:__wotbox.duowan.com_apiPlayerInfo.php
push edx
call fcn.00401080
add esp, 0xc
mov dword [esp + 0xc0], esi
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xac], bl
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x1a0], 0xd
xor bl, bl
call fcn.00447780
mov esi, eax
mov eax, dword [esp + 0xc8]
cmp dword [esp + 0xdc], ebp
jae 0x415955
lea eax, [esp + 0xc8]
push eax
push 0x2712
push esi
call fcn.00447810
push 0xa
push 0xd
push esi
call fcn.00447810
push 0x413c90
push 0x4e2b
push esi
call fcn.00447810
lea eax, [esp + 0xcc]
push eax
push 0x2711
push esi
call fcn.00447810
push 0x4acb7c
push 0x2722
push esi
call fcn.00447810
push 1
push 0x2d
push esi
call fcn.00447810
add esp, 0x48
push str.gzip_deflate
push 0x2776
push esi
call fcn.00447810
push 1
push 0x2f
push esi
call fcn.00447810
mov eax, dword [esp + 0xa8]
add esp, 0x18
cmp dword [esp + 0xa4], ebp
jae 0x4159df
lea eax, [esp + 0x90]
push 0
push eax
push esi
call fcn.00447aa0
add esp, 0xc
push 0xb
push str.requestStr
lea ecx, [esp + 0x94]
mov edi, eax
call fcn.00403110
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415a05
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x94]
call fcn.00408710
push edi
call fcn.00447cd0
mov eax, dword [esp + 0x94]
add esp, 4
cmp dword [esp + 0xa4], ebp
jae 0x415a3c
lea eax, [esp + 0x90]
push eax
push 0x271f
push esi
call fcn.00447810
add esp, 0xc
xor edi, edi
inc dword [esp + 0x1c]
test edi, edi
je 0x415a60
push edi
call fcn.004479e0
add esp, 4
xor edi, edi
test bl, bl
je 0x415a6b
push str.Expect:100_continue
jmp 0x415a70
push str.Expect:
push edi
call fcn.00447980
add esp, 8
mov edi, eax
push edi
push 0x2727
test bl, bl
push esi
sete bl
call fcn.00447810
add esp, 0xc
lea ecx, [esp + 0xa8]
call fcn.00413cc0
push esi
call fcn.00447840
add esp, 4
cmp dword [esp + 0x1c], 3
mov ebp, eax
jg 0x415ab1
test ebp, ebp
jne 0x415a4d
push esi
call fcn.00447920
push edi
call fcn.004479e0
xor ebx, ebx
add esp, 8
cmp ebp, ebx
jne 0x415d04
lea ecx, [esp + 0x104]
call fcn.00482160
push ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x1a4], 0xe
call fcn.0047da90
push 1
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0xb0]
push edx
lea ecx, [esp + 0x110]
mov byte [esp + 0x1ac], 0xf
call fcn.004821f0
test al, al
je 0x415ce7
lea ecx, [esp + 0x40]
call fcn.00412fc0
lea ecx, [esp + 0x24]
mov byte [esp + 0x1a0], 0x10
call fcn.0047e870
cmp eax, 4
jne 0x415c90
push 0xfde9
push str.Name
lea ecx, [esp + 0x2c]
call fcn.0047ebd0
mov ecx, eax
call fcn.0047da80
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00401380
add esp, 0xc
mov esi, 8
mov byte [esp + 0x1a0], 0x11
cmp dword [eax + 0x18], esi
jb 0x415b75
mov eax, dword [eax + 4]
jmp 0x415b78
add eax, 4
push eax
lea ecx, [esp + 0x44]
call fcn.00403b10
lea ecx, [esp + 0x70]
mov byte [esp + 0x1a0], 0x10
call fcn.004019d0
push 0xfde9
push str.IconID
lea ecx, [esp + 0x2c]
call fcn.0047ebd0
mov ecx, eax
call fcn.0047da80
push eax
lea ecx, [esp + 0x78]
push ecx
call fcn.00401380
add esp, 0xc
mov byte [esp + 0x1a0], 0x12
cmp dword [eax + 0x18], esi
jb 0x415bcd
mov eax, dword [eax + 4]
jmp 0x415bd0
add eax, 4
push eax
lea ecx, [esp + 0x48]
call fcn.00403b10
lea ecx, [esp + 0x70]
mov byte [esp + 0x1a0], 0x10
call fcn.004019d0
push 0xfde9
push str.Power
lea ecx, [esp + 0x2c]
call fcn.0047ebd0
mov ecx, eax
call fcn.0047da80
push eax
lea edx, [esp + 0x78]
push edx
call fcn.00401380
add esp, 0xc
mov byte [esp + 0x1a0], 0x13
cmp dword [eax + 0x18], esi
jb 0x415c25
mov eax, dword [eax + 4]
jmp 0x415c28
add eax, 4
push eax
lea ecx, [esp + 0x4c]
call fcn.00403b10
lea ecx, [esp + 0x70]
mov byte [esp + 0x1a0], 0x10
call fcn.004019d0
push 0xfde9
push str.Server
lea ecx, [esp + 0x2c]
call fcn.0047ebd0
mov ecx, eax
call fcn.0047da80
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00401380
add esp, 0xc
cmp dword [eax + 0x18], esi
jb 0x415c75
mov eax, dword [eax + 4]
jmp 0x415c78
add eax, 4
push eax
call fcn.00487865
add esp, 4
lea ecx, [esp + 0x70]
mov dword [esp + 0x4c], eax
call fcn.004019d0
jmp 0x415cc5
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x44]
call fcn.00410d70
mov edx, dword [esp + 0x1ac]
push 0x4acb2c
lea ecx, [esp + 0x4c]
mov dword [esp + 0x50], edx
call fcn.00403b10
push 0x4acb0c
lea ecx, [esp + 0x48]
call fcn.00403b10
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 4]
push ebx
lea eax, [esp + 0x44]
push eax
push 0x1793
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x40]
call fcn.00413010
lea ecx, [esp + 0x24]
mov byte [esp + 0x1a0], 0xe
call fcn.0047e040
lea ecx, [esp + 0x104]
call fcn.004151b0
mov edi, 0x10
cmp dword [esp + 0xc0], edi
jb 0x415d22
mov eax, dword [esp + 0xac]
push eax
call fcn.0048668b
add esp, 4
mov esi, 0xf
mov dword [esp + 0xc0], esi
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xac], 0
cmp dword [esp + 0xdc], edi
jb 0x415d56
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.0048668b
add esp, 4
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], ebx
mov byte [esp + 0xc8], 0
cmp dword [esp + 0xa4], edi
jb 0x415d85
mov edx, dword [esp + 0x90]
push edx
call fcn.0048668b
add esp, 4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], 0
mov byte [esp + 0x1a0], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415dc3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x1a0], 2
call fcn.0047e040
mov byte [esp + 0x1a0], 1
mov dword [esp + 0xe0], vtable.Json::FastWriter.0
cmp dword [esp + 0xfc], edi
jb 0x415e00
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.0048668b
add esp, 4
lea ecx, [esp + 0xe0]
mov dword [esp + 0xfc], esi
mov dword [esp + 0xf8], ebx
mov byte [esp + 0xe8], 0
call fcn.00477570
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x1a0], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415e4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x1a0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415e75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x198]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x180]
xor ecx, esp
call fcn.004874cc
add esp, 0x190
ret 0xc