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

Disassembly:
push 0xffffffffffffffff
push 0x455a56
mov eax, dword fs:[0]
push eax
mov eax, 0x10cc
call fcn.00413180
mov eax, dword [0x464380]
xor eax, esp
mov dword [esp + 0x10c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x464380]
xor eax, esp
push eax
lea eax, [esp + 0x10e0]
mov dword fs:[0], eax
xor edi, edi
push 0x206
lea eax, [esp + 0x2aa]
mov ebp, ecx
push edi
push eax
mov dword [esp + 0x34], ebp
mov word [esp + 0x2b0], di
call fcn.00413010
push 0x206
lea ecx, [esp + 0x6c6]
push edi
push ecx
mov word [esp + 0x6cc], di
call fcn.00413010
push 0x206
lea edx, [esp + 0x8da]
push edi
push edx
mov word [esp + 0x8e0], di
call fcn.00413010
push 0x206
lea eax, [esp + 0xcf6]
push edi
push eax
mov word [esp + 0xcfc], di
call fcn.00413010
push 0x206
lea ecx, [esp + 0x4e2]
push edi
push ecx
mov word [esp + 0x4e8], di
call fcn.00413010
push 0x206
lea edx, [esp + 0xde]
push edi
push edx
mov word [esp + 0xe4], di
call fcn.00413010
xor eax, eax
add esp, 0x48
mov dword [esp + 0x76], eax
mov dword [esp + 0x7a], eax
mov dword [esp + 0x7e], eax
mov dword [esp + 0x82], eax
mov dword [esp + 0x86], eax
mov dword [esp + 0x8a], eax
mov dword [esp + 0x8e], eax
mov dword [esp + 0x92], eax
mov dword [esp + 0x96], eax
mov word [esp + 0x9a], ax
push 0x104
lea eax, [esp + 0xcd0]
push eax
push edi
mov word [esp + 0x80], di
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x8bc]
push ecx
lea edx, [esp + 0xcd0]
push edx
call fcn.0040aee0
lea eax, [esp + 0x8c4]
push 0x2e
push eax
call fcn.00413236
add esp, 0x10
cmp eax, edi
je 0x409a16
mov word [eax], di
xor eax, eax
jmp 0x409a20
movzx ecx, word [esp + eax + 0x8bc]
mov word [esp + eax + 0x2a4], cx
add eax, 2
cmp cx, di
jne 0x409a20
call fcn.0040b370
push eax
lea ecx, [esp + 0x78]
push 0x4575b8
push ecx
call fcn.00413afd
lea edx, [esp + 0x2b0]
push 0x4575b4
push edx
call fcn.00413266
add esp, 0x14
cmp eax, edi
jne 0x409a8a
xor eax, eax
jmp 0x409a70
movzx ecx, word [esp + eax + 0x2a4]
mov word [esp + eax + 0x4ac], cx
add eax, 2
cmp cx, di
jne 0x409a70
jmp 0x409aa5
add eax, 2
lea edx, [esp + 0x4ac]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, di
jne 0x409a96
lea ecx, [esp + 0x14]
call fcn.00407ba0
mov dword [esp + 0x18], eax
mov byte [eax + 0xf], 1
mov eax, dword [esp + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x18]
mov dword [eax], eax
mov eax, dword [esp + 0x18]
mov dword [eax + 8], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10e8], edi
xor esi, esi
jmp 0x409ae0
lea eax, [esi + 0x61]
movzx ecx, ax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x34]
mov dword [esp + 0x24], ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00409250
add esi, 1
cmp esi, 0x1a
jl 0x409ae0
xor esi, esi
jmp 0x409b10
lea ecx, [esi + 0x41]
movzx edx, cx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], edx
call fcn.00409250
add esi, 1
cmp esi, 0x1a
jl 0x409b10
xor esi, esi
jmp 0x409b40
lea edx, [esi + 0x30]
movzx eax, dx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], eax
call fcn.00409250
add esi, 1
cmp esi, 0xa
jl 0x409b40
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], 0x5f
call fcn.00409250
lea eax, [esp + 0x4ac]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x409b90
sub eax, edx
sar eax, 1
mov ebx, eax
xor esi, esi
cmp ebx, edi
jle 0x409bfd
jmp 0x409bb0
lea edi, [esp + esi*2 + 0x4ac]
push edi
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x1c]
call fcn.00407e30
mov eax, dword [esp + 0x20]
test eax, eax
mov ebp, dword [esp + 0x18]
je 0x409bda
lea ecx, [esp + 0x14]
cmp eax, ecx
je 0x409bdf
call fcn.00413a20
cmp dword [esp + 0x24], ebp
je 0x409bf7
mov dx, word [edi]
mov word [esp + esi*2 + 0x9c], dx
add esi, 1
cmp esi, ebx
jl 0x409bb0
mov ebp, dword [esp + 0x28]
xor edi, edi
lea eax, [esp + 0x9c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x409c07
sub eax, edx
sar eax, 1
jne 0x409c37
xor eax, eax
lea ebx, [ebx]
movzx ecx, word [eax + 0x4575ac]
mov word [esp + eax + 0x9c], cx
add eax, 2
cmp cx, di
jne 0x409c20
lea esi, [ebp + 0x234]
push str.:clientEnd
push esi
call fcn.004131b0
add esp, 8
cmp eax, edi
je 0x409c76
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x6bc]
push 0x457594
push edx
call fcn.00413afd
add esp, 0x10
jmp 0x409d42
mov eax, esi
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], edi
mov byte [esp + 0x40], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x409c90
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x44]
call fcn.00407f80
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0x10f0], 1
call fcn.0040b6b0
add esp, 8
cmp dword [esp + 0x54], 0x10
mov byte [esp + 0x10e8], 0
jb 0x409cdc
mov edx, dword [esp + 0x40]
push edx
call fcn.004134ee
add esp, 4
cmp dword [esp + 0x70], 8
mov eax, dword [esp + 0x5c]
jae 0x409ceb
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x78]
push ecx
push eax
lea edx, [esp + 0x6bc]
push 0x457594
push edx
call fcn.00413afd
mov esi, dword [esp + 0x80]
mov ebx, dword [esp + 0x6c]
add esp, 0x10
cmp esi, 8
mov ecx, ebx
jae 0x409d1c
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x9c]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, di
jne 0x409d23
cmp esi, 8
jb 0x409d42
push ebx
call fcn.004134ee
add esp, 4
push 0x206
lea eax, [esp + 0xeda]
push edi
push eax
mov word [esp + 0xee0], di
call fcn.00413010
push 0x206
lea ecx, [esp + 0xad6]
push edi
push ecx
mov word [esp + 0xadc], di
call fcn.00413010
add esp, 0x18
xor eax, eax
lea ecx, [ecx]
movzx ecx, word [eax + 0x45758c]
mov word [esp + eax + 0xed4], cx
add eax, 2
cmp cx, di
jne 0x409d80
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + str.shanhu]
mov word [esp + eax + 0xac4], cx
add eax, 2
cmp cx, di
jne 0x409da0
lea edx, [esp + 0xed4]
push edx
lea eax, [esp + 0x2a8]
push eax
call fcn.00413266
add esp, 8
cmp eax, edi
je 0x409dfa
lea eax, [esp + 0x9c]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x409de0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0xa0]
push ecx
jmp 0x409e1c
lea eax, [esp + 0xac4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x409e04
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xac8]
push edx
lea ecx, [ebp + 0x108]
call fcn.00408350
lea eax, [esp + 0x6b4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x409e31
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x6b8]
push eax
lea ecx, [ebp + 0x98]
call fcn.00408350
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x18]
push ecx
mov esi, ecx
push edx
push esi
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
mov dword [esp + 0x10fc], 0xffffffff
call fcn.00409370
mov edx, dword [esp + 0x18]
push edx
call fcn.004134ee
add esp, 4
mov ecx, dword [esp + 0x10e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10c8]
xor ecx, esp
call fcn.00412ff5
add esp, 0x10d8
ret