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

Disassembly:
push 0xffffffffffffffff
push 0x5a3678
mov eax, dword fs:[0]
push eax
sub esp, 0x7a4
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x7a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x7b8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x7c8]
mov eax, dword [esp + 0x7cc]
mov ecx, dword [esp + 0x7d0]
xor ebx, ebx
mov dword [esp + 0x64], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x38], ebx
cmp ebp, ebx
je 0x431df2
mov dword [esp + 0x14], ebx
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x7c4], ebx
call fcn.00429520
mov eax, dword [eax]
push eax
mov byte [esp + 0x7c8], 1
call fcn.0041ca10
mov esi, eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 8
mov byte [esp + 0x7c0], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431c57
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
je 0x431c70
mov eax, dword [0x617ce8]
cmp eax, ebx
je 0x431c70
lea ecx, [esp + 0x14]
push ecx
push 0x5bee08
call eax
cmp dword [esp + 0x14], ebx
je 0x431df2
push 0x7e
lea eax, [esp + 0x32a]
xor edx, edx
push ebx
push eax
mov word [esp + 0x330], dx
call fcn.004e5fc0
add esp, 0xc
push 0x40
lea ecx, [esp + 0x328]
push ecx
push 0x1a
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
xor edi, edi
lea esi, [esp + 0x60]
call fcn.00424450
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x120]
mov byte [esp + 0x7c4], 2
call fcn.004585a0
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
or esi, 0xffffffff
mov byte [esp + 0x7c0], 4
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x431cfd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x206
lea edx, [esp + 0x5b2]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x5b8], cx
call fcn.004e5fc0
add esp, 0xc
push 0x104
lea eax, [esp + 0x5b0]
push eax
lea ecx, [esp + 0x124]
call fcn.004585e0
test eax, eax
je 0x431dc8
lea ecx, [esp + 0xbc]
call fcn.00457de0
lea eax, [esp + 0x5ac]
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x7c4], 5
call fcn.00457e90
lea ecx, [esp + 0x3c]
call fcn.00428fb0
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0xc0]
mov byte [esp + 0x7c4], 6
call fcn.004583a0
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x48]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x431df9
lea ecx, [esp + 0x3c]
mov byte [esp + 0x7c0], 5
call fcn.0042ee20
lea ecx, [esp + 0xbc]
mov byte [esp + 0x7c0], 4
call fcn.00457a50
lea ecx, [esp + 0x11c]
mov byte [esp + 0x7c0], bl
call fcn.004583e0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x7c0], esi
cmp eax, ebx
je 0x431df2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
jmp 0x432230
mov ecx, 0x989680
mov eax, ebp
mul ecx
mov dword [esp + 0x58], edx
lea edx, [esp + 0x98]
push edx
mov dword [esp + 0x58], eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x9c]
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x1b]
mov dword [esp + 0x30], edx
push ecx
lea edx, [esp + 0x1f]
push edx
lea ecx, [esp + 0x80]
mov dword [esp + 0x3c], eax
call fcn.00421500
mov esi, dword [esp + 0x4c]
mov ecx, esi
sub ecx, dword [esp + 0x48]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
lea edi, [edx + eax - 1]
cmp edi, ebx
mov byte [esp + 0x7c0], 7
jl 0x4321c8
mov ebp, dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov eax, edi
imul eax, eax, 0x58
mov dword [esp + 0x20], eax
sub esi, dword [esp + 0x48]
mov eax, 0x2e8ba2e9
imul esi
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
cmp edi, ecx
jb 0x431ebb
call fcn.004e73ca
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x28]
push edx
lea edx, [eax + ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
cmp edx, dword [esp + 0x34]
ja 0x43216f
jb 0x431ef1
cmp eax, dword [esp + 0x30]
ja 0x43216f
mov ecx, dword [esp + 0x30]
sub ecx, eax
mov eax, dword [esp + 0x34]
sbb eax, edx
cmp eax, dword [esp + 0x58]
ja 0x4321c8
jb 0x431f13
cmp ecx, dword [esp + 0x54]
ja 0x4321c8
push edi
lea ecx, [esp + 0x40]
call fcn.00419720
add eax, 0x2c
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.0040c050
add eax, 0x10
add esp, 4
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x7c0], 8
call fcn.00414200
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0x80]
call fcn.00420690
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x78]
lea eax, [esp + 0x68]
mov dword [esp + 0x6c], ecx
push eax
lea ecx, [esp + 0x74]
mov dword [esp + 0x6c], edx
call fcn.0041b020
mov esi, dword [esp + 0x24]
test al, al
je 0x43214b
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push ebx
push esi
push eax
call edx
test eax, eax
je 0x432132
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push eax
call edx
cmp eax, 1
jne 0x432126
push 0x208
lea eax, [esp + 0x3a8]
push ebx
push eax
mov dword [esp + 0x28], ebx
call fcn.004e5fc0
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
test eax, eax
jl 0x432126
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push 0x104
lea edx, [esp + 0x3a8]
push edx
push 1
push eax
mov eax, dword [ecx + 0x10]
call eax
push str.Kingsoft
lea ecx, [esp + 0x3a8]
push ecx
call ebp
test eax, eax
jne 0x432085
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push 0x104
lea ecx, [esp + 0x3a8]
push ecx
push 9
push eax
call edx
push str.Kingsoft
lea eax, [esp + 0x3a8]
push eax
call ebp
test eax, eax
jne 0x432085
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push 0x104
lea edx, [esp + 0x3a8]
push edx
push 5
push eax
mov eax, dword [ecx + 0x10]
call eax
push str.Kingsoft
lea ecx, [esp + 0x3a8]
push ecx
call ebp
test eax, eax
je 0x432126
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push 0x104
lea ecx, [esp + 0x3a8]
push ecx
push 2
push eax
call edx
lea eax, [esp + 0x324]
push eax
lea ecx, [esp + 0x3a8]
push ecx
call ebp
test eax, eax
jne 0x432182
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push 0x104
lea ecx, [esp + 0x3a8]
push ecx
push 4
push eax
call edx
lea eax, [esp + 0x3a4]
push str.kpacket
push eax
call fcn.004e8728
add esp, 8
test eax, eax
je 0x432182
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push 0x104
lea edx, [esp + 0x3a8]
push edx
push 7
push eax
mov eax, dword [ecx + 0x10]
call eax
lea ecx, [esp + 0x3a4]
push str.kpacket
push ecx
call fcn.004e8728
add esp, 8
test eax, eax
je 0x432182
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x1c]
call eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0xb4]
push edx
lea ecx, [esp + 0x80]
call fcn.00426250
lea eax, [esi - 0x10]
mov byte [esp + 0x7c0], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43216f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
sub dword [esp + 0x20], 0x58
dec edi
cmp edi, ebx
jl 0x4321c8
mov esi, dword [esp + 0x4c]
jmp 0x431e95
mov esi, dword [esp + 0x64]
mov dword [esp + 0x38], 1
cmp esi, ebx
je 0x4321a1
push edi
lea ecx, [esp + 0x40]
call fcn.00419720
mov ecx, dword [eax + 4]
mov dword [esi], ecx
push edi
lea ecx, [esp + 0x40]
call fcn.00419720
mov ecx, dword [esp + 0x5c]
push eax
call fcn.00431130
push edi
lea ecx, [esp + 0x40]
call fcn.00419720
lea ecx, [esp + 0x24]
call fcn.0040c150
lea ecx, [esp + 0x78]
mov byte [esp + 0x7c0], 6
call fcn.0042ef60
lea ecx, [esp + 0x3c]
mov byte [esp + 0x7c0], 5
call fcn.0042ee20
lea ecx, [esp + 0xbc]
mov byte [esp + 0x7c0], 4
call fcn.00457a50
lea ecx, [esp + 0x11c]
mov byte [esp + 0x7c0], bl
call fcn.004583e0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x7c0], 0xffffffff
cmp eax, ebx
je 0x43222c
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x7b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7a0]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x7b0
ret 0xc