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

Disassembly:
sub esp, 0xa4
mov eax, dword [0x541f38]
xor eax, esp
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xb4]
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
mov dword [esp + 0x38], ecx
push 0x527f5c
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
call fcn.0043a930
lea eax, [esp + 0xc]
push eax
call fcn.004846d0
mov ecx, eax
call fcn.004824c0
mov edx, dword [0x54ffc8]
mov eax, dword [edx + 0xc]
mov ecx, 0x54ffc8
call eax
add eax, 0x10
mov dword [ebp], eax
mov edx, dword [0x54ffc8]
mov eax, dword [edx + 0xc]
mov ecx, 0x54ffc8
call eax
mov edx, dword [0x54ffc8]
lea edi, [eax + 0x10]
mov eax, dword [edx + 0xc]
mov ecx, 0x54ffc8
mov dword [esp + 0x14], edi
call eax
add eax, 0x10
xor ecx, ecx
mov dword [esp + 0x10], eax
mov eax, 7
mov word [esp + 0x48], cx
mov dword [esp + 0x74], ecx
xor edx, edx
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x78], eax
mov word [esp + 0x64], dx
call fcn.004a3300
push 0
lea ecx, [esp + 0x48]
call fcn.004aa3f0
mov eax, dword [esp + 0xc]
cmp dword [eax - 4], 1
jle 0x49884c
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x10]
call fcn.00439760
mov eax, dword [esp + 0xc]
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0x48]
call fcn.004ad630
movzx esi, al
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004d86b3
add esp, 8
test eax, eax
jl 0x498b3e
mov ecx, dword [esp + 0xc]
cmp eax, dword [ecx - 8]
jg 0x498b3e
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0xc]
xor ecx, ecx
mov word [edx + eax*2], cx
test esi, esi
je 0x498abd
mov eax, dword [esp + 0x7c]
push ecx
push ecx
push eax
lea ecx, [esp + 0x50]
call fcn.004a2b80
push ecx
mov eax, esp
lea ecx, [esp + 0x48]
mov dword [eax], 0
call fcn.004a3b90
mov ebp, 8
nop
push ecx
mov eax, esp
lea ecx, [esp + 0x48]
mov dword [eax], str.FileItem
call fcn.004a3c50
test al, al
je 0x498a9a
mov ecx, dword [esp + 0x84]
push str.PostTime
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x50]
call fcn.004a6fb0
cmp dword [esp + 0x30], ebp
jb 0x498907
mov eax, dword [esp + 0x1c]
mov edx, eax
test eax, eax
jne 0x49890b
jmp 0x49891f
lea edx, [esp + 0x1c]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x498910
sub eax, esi
sar eax, 1
mov edi, dword [esp + 0x34]
push eax
push edx
mov ecx, edi
call fcn.0043a260
cmp dword [esp + 0x30], ebp
jb 0x49893f
mov eax, dword [esp + 0x1c]
push eax
call fcn.004d72b6
add esp, 4
mov ecx, dword [esp + 0x84]
push str.SettingNum
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x50]
call fcn.004a6fb0
cmp dword [esp + 0x30], ebp
jb 0x49896c
mov eax, dword [esp + 0x1c]
mov esi, eax
test eax, eax
jne 0x498970
jmp 0x498984
lea esi, [esp + 0x1c]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x498975
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.0043a260
cmp dword [esp + 0x30], ebp
jb 0x4989a2
mov eax, dword [esp + 0x1c]
push eax
call fcn.004d72b6
add esp, 4
mov ecx, dword [esp + 0x84]
push str.TrustNum
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x50]
call fcn.004a6fb0
cmp dword [esp + 0x30], ebp
jb 0x4989cf
mov eax, dword [esp + 0x1c]
mov esi, eax
test eax, eax
jne 0x4989d3
jmp 0x4989ef
lea esi, [esp + 0x1c]
mov eax, esi
lea edx, [eax + 2]
jmp 0x4989e0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4989e0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.0043a260
cmp dword [esp + 0x30], ebp
jb 0x498a0d
mov eax, dword [esp + 0x1c]
push eax
call fcn.004d72b6
add esp, 4
mov ecx, dword [esp + 0x84]
push str.SkinName
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x50]
call fcn.004a6fb0
cmp dword [esp + 0x30], ebp
jb 0x498a3a
mov eax, dword [esp + 0x1c]
mov edx, eax
test eax, eax
jne 0x498a3e
jmp 0x498a52
lea edx, [esp + 0x1c]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x498a43
sub eax, esi
sar eax, 1
mov esi, dword [esp + 0x38]
push eax
push edx
mov ecx, esi
call fcn.0043a260
cmp dword [esp + 0x30], ebp
jb 0x498a72
mov eax, dword [esp + 0x1c]
push eax
call fcn.004d72b6
add esp, 4
mov ecx, dword [edi]
cmp dword [ecx - 0xc], 0
mov edi, dword [esp + 0x14]
jg 0x498a9a
cmp dword [edi - 0xc], 0
jg 0x498a9a
mov edx, dword [esp + 0x10]
cmp dword [edx - 0xc], 0
jg 0x498a9a
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jle 0x4988c0
push edi
call fcn.004da898
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
push edx
mov dword [ecx], eax
call fcn.004da898
mov ecx, dword [esp + 0x48]
mov ebp, dword [esp + 0x3c]
add esp, 8
mov dword [ecx], eax
lea ecx, [esp + 0x44]
call fcn.004a8080
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x498ae6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x498b02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x498b22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xac]
pop edi
pop esi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.004d7eb0
add esp, 0xa4
ret 0x10
push 0x80070057
call fcn.00438530
int3