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

Disassembly:
push 0xffffffffffffffff
push 0x5abf39
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov edi, dword [esp + 0x98]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
push eax
mov ecx, str.Properties
call fcn.00404460
mov ebp, dword [edi + 4]
lea ecx, [esp + 0x68]
push ecx
lea ebx, [esp + 0x24]
mov esi, edi
call fcn.004a8170
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x4a6209
cmp eax, edi
je 0x4a620e
call fcn.00578ff3
cmp dword [esi + 4], ebp
mov eax, dword [esp + 0x20]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a6234
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4a6240
mov dword [esp + 0x28], 1
lea ecx, [esp + 0x18]
xor esi, esi
push ecx
mov ecx, 0x5bcc3c
mov dword [esp + 0x20], esi
call fcn.00404460
mov dword [esp + 0x90], esi
mov eax, dword [edi + 4]
mov ebp, dword [eax]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], edi
mov eax, dword [esp + 0x58]
test eax, eax
mov ebx, dword [esp + 0x9c]
mov esi, dword [edi + 4]
je 0x4a627f
cmp eax, edi
je 0x4a6288
call fcn.00578ff3
mov eax, dword [esp + 0x58]
cmp ebp, esi
je 0x4a68e0
test eax, eax
mov edx, dword [ebx + 4]
mov dword [esp + 0x30], edx
jne 0x4a62a4
call fcn.00578ff3
mov eax, dword [esp + 0x58]
cmp ebp, dword [eax + 4]
jne 0x4a62ae
call fcn.00578ff3
lea esi, [ebp + 0xc]
mov ecx, esi
mov eax, ebx
call fcn.004a8af0
mov edi, dword [ebx + 4]
cmp eax, edi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ebx
je 0x4a630d
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4a68d6
mov ecx, eax
mov eax, dword [esi]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4a62fe
test dx, dx
je 0x4a62fa
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4a62fe
add eax, 4
add ecx, 4
test dx, dx
jne 0x4a62d8
xor eax, eax
jmp 0x4a6303
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jl 0x4a630d
lea eax, [esp + 0x68]
jmp 0x4a6319
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
lea eax, [esp + 0x48]
mov ecx, dword [eax]
test ecx, ecx
mov esi, dword [eax + 4]
je 0x4a6326
cmp ecx, ebx
je 0x4a632b
call fcn.00578ff3
cmp esi, dword [esp + 0x30]
mov eax, dword [esp + 0x58]
jne 0x4a63eb
cmp ebp, dword [eax + 4]
jne 0x4a6343
call fcn.00578ff3
mov ebp, dword [esp + 0x5c]
mov ecx, dword [ebp + 0x14]
mov edi, dword [ecx]
add ebp, 0x10
mov esi, ebp
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], esi
lea esp, [esp]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
cmp eax, dword [edx + 4]
jne 0x4a6372
call fcn.00578ff3
test esi, esi
mov ebx, dword [ebp + 4]
je 0x4a637d
cmp esi, ebp
je 0x4a6382
call fcn.00578ff3
cmp edi, ebx
je 0x4a68bd
test esi, esi
jne 0x4a6393
call fcn.00578ff3
cmp edi, dword [esi + 4]
jne 0x4a639d
call fcn.00578ff3
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
cmp ecx, dword [edx + 4]
lea esi, [edi + 0xc]
jne 0x4a63b2
call fcn.00578ff3
mov eax, dword [esp + 0x5c]
push esi
push ecx
mov ecx, dword [esp + 0xa4]
add eax, 0xc
push eax
call fcn.004a8070
add esp, 4
push eax
lea ebx, [esp + 0x78]
call fcn.004203d0
lea esi, [esp + 0x50]
call fcn.0046ca60
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
jmp 0x4a6360
cmp ebp, dword [eax + 4]
jne 0x4a63f5
call fcn.00578ff3
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
lea eax, [ebp + 0x10]
mov edi, eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], edi
mov eax, dword [esp + 0x58]
cmp ebp, dword [eax + 4]
jne 0x4a6415
call fcn.00578ff3
test edi, edi
mov esi, dword [ebp + 0x14]
lea eax, [ebp + 0x10]
je 0x4a6423
cmp edi, eax
je 0x4a6428
call fcn.00578ff3
cmp dword [esp + 0x64], esi
je 0x4a68bd
mov ecx, dword [esp + 0x58]
cmp ebp, dword [ecx + 4]
jne 0x4a6440
call fcn.00578ff3
lea esi, [ebp + 0xc]
push esi
mov ecx, ebx
call fcn.004a8070
test edi, edi
mov edx, dword [eax + 4]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], edx
jne 0x4a645f
call fcn.00578ff3
mov eax, dword [esp + 0x64]
cmp eax, dword [edi + 4]
jne 0x4a646d
call fcn.00578ff3
mov ebx, dword [esp + 0x64]
mov ecx, dword [esp + 0x58]
add ebx, 0xc
cmp ebp, dword [ecx + 4]
jne 0x4a6482
call fcn.00578ff3
mov ecx, dword [esp + 0x9c]
push esi
call fcn.004a8070
mov ecx, ebx
mov edi, eax
call fcn.0046c5c0
test edi, edi
mov esi, eax
mov dword [esp + 0x44], esi
jne 0x4a64a7
call fcn.00578ff3
mov ebp, dword [edi + 4]
cmp esi, ebp
mov dword [esp + 0x40], edi
je 0x4a64f5
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4a68d6
mov eax, dword [ebx]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4a64e6
test dx, dx
je 0x4a64e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4a64e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4a64c0
xor eax, eax
jmp 0x4a64eb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jl 0x4a64f5
lea eax, [esp + 0x40]
jmp 0x4a6501
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], edi
lea eax, [esp + 0x34]
mov ecx, dword [eax]
test ecx, ecx
mov esi, dword [eax + 4]
je 0x4a6510
cmp ecx, dword [esp + 0x3c]
je 0x4a6515
call fcn.00578ff3
cmp esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
je 0x4a65c7
cmp ebx, dword [ebp + 4]
jne 0x4a653b
call fcn.00578ff3
cmp ebx, dword [ebp + 4]
jne 0x4a653b
call fcn.00578ff3
mov edi, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
cmp edi, dword [edx + 4]
jne 0x4a654d
call fcn.00578ff3
lea esi, [ebx + 0xc]
push esi
push ecx
mov ecx, dword [esp + 0xa4]
lea eax, [edi + 0xc]
push eax
call fcn.004a8070
add esp, 4
mov ecx, eax
call fcn.004a81e0
mov ecx, dword [esi + 4]
mov edi, eax
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x4a6811
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x4a65b7
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4a65b7
call fcn.00403ce0
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4a65ad
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [edi], ebp
jmp 0x4a6809
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, edi
call fcn.00404050
jmp 0x4a6809
cmp ebx, dword [ebp + 4]
jne 0x4a65d1
call fcn.00578ff3
mov eax, dword [ebx + 0xc]
lea edi, [ebx + 0xc]
push str.FontZH_V2
push eax
call fcn.00579288
add esp, 8
test eax, eax
je 0x4a67c7
cmp ebx, dword [ebp + 4]
jne 0x4a65f7
call fcn.00578ff3
mov eax, dword [edi]
push str.FontEN_V2
push eax
call fcn.00579288
add esp, 8
test eax, eax
je 0x4a67c7
cmp ebx, dword [ebp + 4]
jne 0x4a6619
call fcn.00578ff3
mov eax, dword [edi]
push str.FontSize_V2
push eax
call fcn.00579288
add esp, 8
test eax, eax
je 0x4a67c7
cmp ebx, dword [ebp + 4]
jne 0x4a663b
call fcn.00578ff3
mov eax, dword [edi]
push str.ColorPy_V2
push eax
call fcn.00579288
add esp, 8
test eax, eax
je 0x4a67c7
cmp ebx, dword [ebp + 4]
jne 0x4a665d
call fcn.00578ff3
mov eax, dword [edi]
push str.ColorOutput_V2
push eax
call fcn.00579288
add esp, 8
test eax, eax
je 0x4a67c7
cmp ebx, dword [ebp + 4]
jne 0x4a667f
call fcn.00578ff3
mov eax, dword [edi]
push str.ColorSelect_V2
push eax
call fcn.00579288
add esp, 8
test eax, eax
je 0x4a67c7
cmp ebx, dword [ebp + 4]
jne 0x4a66a1
call fcn.00578ff3
mov eax, dword [edi]
push str.ColorNotSelect_V2
push eax
call fcn.00579288
add esp, 8
test eax, eax
je 0x4a67c7
lea esi, [esp + 0x60]
call fcn.00420560
mov eax, dword [eax]
push str.ColorCursor_V2
push eax
call fcn.00579288
add esp, 8
test eax, eax
je 0x4a67c7
call fcn.00420560
mov eax, dword [eax]
push str.ColorBK_V2
push eax
call fcn.00579288
add esp, 8
test eax, eax
je 0x4a67c7
call fcn.00420560
mov eax, dword [eax]
push str.StatusBarCnEn
push eax
call fcn.00579288
add esp, 8
test eax, eax
je 0x4a67c7
call fcn.00420560
mov eax, dword [eax]
push str.StatusBarSample
push eax
call fcn.00579288
add esp, 8
test eax, eax
je 0x4a67c7
call fcn.00420560
mov eax, dword [eax]
push str.StatusBarSharp
push eax
call fcn.00579288
add esp, 8
test eax, eax
je 0x4a67c7
call fcn.00420560
mov eax, dword [eax]
push str.StatusBarPunc
push eax
call fcn.00579288
add esp, 8
test eax, eax
je 0x4a67c7
call fcn.00420560
mov eax, dword [eax]
push str.StatusBarSoftKB
push eax
call fcn.00579288
add esp, 8
test eax, eax
je 0x4a67c7
call fcn.00420560
mov eax, dword [eax]
push str.StatusBarDict
push eax
call fcn.00579288
add esp, 8
test eax, eax
je 0x4a67c7
call fcn.00420560
mov eax, dword [eax]
push str.StatusBarPropSet
push eax
call fcn.00579288
add esp, 8
test eax, eax
je 0x4a67c7
call fcn.00420560
mov eax, dword [eax]
push str.StatusBarMiniAndMenu
push eax
call fcn.00579288
add esp, 8
test eax, eax
jne 0x4a6811
cmp ebx, dword [ebp + 4]
jne 0x4a67d1
call fcn.00578ff3
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
cmp ecx, dword [edx + 4]
jne 0x4a67e3
call fcn.00578ff3
mov eax, dword [esp + 0x5c]
push edi
push ecx
mov ecx, dword [esp + 0xa4]
add eax, 0xc
push eax
call fcn.004a8070
add esp, 4
push eax
lea ebx, [esp + 0x84]
call fcn.004203d0
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
cmp dword [esp + 0x1c], 0
jne 0x4a68a0
cmp ebx, dword [ebp + 4]
jne 0x4a6826
call fcn.00578ff3
mov eax, dword [ebx + 0xc]
push str.SkinGUID
push eax
call fcn.00579288
add esp, 8
test eax, eax
jne 0x4a68a0
cmp ebx, dword [ebp + 4]
jne 0x4a6845
call fcn.00578ff3
mov ecx, dword [ebx + 0x10]
mov esi, dword [esp + 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4a6898
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4a688b
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4a688b
call fcn.00403ce0
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4a6882
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x18], ebx
jmp 0x4a6898
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x1c]
call fcn.00404050
mov dword [esp + 0x1c], 1
lea esi, [esp + 0x60]
call fcn.0046ca60
mov edi, dword [esp + 0x60]
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x5c]
jmp 0x4a6407
lea esi, [esp + 0x58]
call fcn.00464b40
mov ebp, dword [esp + 0x5c]
mov edi, dword [esp + 0x98]
jmp 0x4a6269
push 0x80004005
call fcn.00404550
cmp dword [esp + 0x28], 0
je 0x4a7182
cmp dword [esp + 0x1c], 0
jne 0x4a6f49
mov edx, dword [0x5fcd20]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcd20
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, str.SkinGUID
mov byte [esp + 0x94], 1
call fcn.00404460
mov esi, eax
lea edx, [esp + 0x40]
push edx
mov ecx, 0x5bd0e8
mov byte [esp + 0x94], 2
call fcn.00404460
mov edi, eax
lea eax, [esp + 0x34]
push eax
mov ecx, str.SOFTWARETencentQQPinyin
mov byte [esp + 0x94], 3
call fcn.00404460
lea ecx, [esp + 0x3c]
push edi
push ecx
mov ebx, eax
mov byte [esp + 0x98], 4
call fcn.00423280
lea edx, [esp + 0x60]
push esi
push edx
mov ebx, eax
mov byte [esp + 0xa0], 5
call fcn.00423280
add esp, 0x10
mov byte [esp + 0x90], 7
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 0x4a69ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 8
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a69d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 9
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a69fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 0xa
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a6a23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, 0x5c77f0
call fcn.00404460
lea edx, [esp + 0x1c]
push edx
mov ecx, str.SkinFile
mov byte [esp + 0x94], 0xb
call fcn.00404460
lea eax, [esp + 0x28]
push eax
mov ecx, 0x5c77f0
mov byte [esp + 0x94], 0xc
call fcn.00404460
mov esi, dword [esp + 0x98]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
mov byte [esp + 0x94], 0xd
call fcn.004a8070
lea edx, [esp + 0x68]
push edx
mov edi, eax
mov ebp, dword [edi + 4]
push ecx
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.004a8070
add esp, 4
lea ebx, [esp + 0x20]
mov esi, eax
call fcn.004204f0
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x4a6aac
cmp eax, edi
je 0x4a6ab1
call fcn.00578ff3
cmp dword [esi + 4], ebp
mov byte [esp + 0x90], 0xc
mov eax, dword [esp + 0x28]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a6adf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 0xb
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 0x4a6b07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 0xa
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a6b2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4a6ef2
lea ecx, [esp + 0x28]
push ecx
mov ecx, str.SkinFile
call fcn.00404460
lea edx, [esp + 0x2c]
mov bl, 0xe
push edx
mov ecx, 0x5c77f0
mov byte [esp + 0x94], bl
call fcn.00404460
lea eax, [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0xa4]
mov byte [esp + 0x9c], 0xf
call fcn.004a8070
add esp, 4
mov ecx, eax
call fcn.004a81e0
lea edi, [esp + 0x20]
call fcn.004035d0
mov byte [esp + 0x90], bl
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a6bb7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 0xa
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a6bdf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.00403ce0
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x50]
push ecx
mov ecx, 0x5bd000
mov byte [esp + 0x94], 0x10
call fcn.00404460
lea edx, [esp + 0x1c]
mov byte [esp + 0x90], 0x11
mov ebx, 1
push edx
mov dword [esp + 0x30], ebx
call fcn.00425c40
add esp, 4
test al, al
jne 0x4a6c5b
cmp dword [esi - 0xc], 0
je 0x4a6c5b
lea eax, [esp + 0x28]
push eax
mov ecx, 0x5c06a8
call fcn.00404460
lea ecx, [esp + 0x1c]
push ecx
mov ebx, 3
call fcn.00425c40
add esp, 4
test al, al
mov byte [esp + 0x17], 0
je 0x4a6c60
mov byte [esp + 0x17], 1
test bl, 2
je 0x4a6c8c
mov eax, dword [esp + 0x28]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0x2c], ebx
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a6c8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 1
mov dword [esp + 0x90], 0x10
je 0x4a6cbc
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a6cbc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x17], 0
je 0x4a6cdb
push str.10000000_0000_0000_0000_000000000001
mov ebx, 0x24
lea eax, [esp + 0x1c]
call fcn.00404050
jmp 0x4a6eca
cmp dword [esi - 0xc], 0
jge 0x4a6ce6
or eax, 0xffffffff
jmp 0x4a6d01
push 0x5bd000
push esi
call fcn.0057880c
add esp, 8
test eax, eax
jne 0x4a6cfd
or eax, 0xffffffff
jmp 0x4a6d01
sub eax, esi
sar eax, 1
lea ecx, [esp + 0x28]
lea edx, [esp + 0x1c]
call fcn.00403560
mov byte [esp + 0x90], 0x12
call fcn.0047e920
mov edi, eax
call fcn.0047f240
cmp dword [edi + 0x2c], 0
mov dword [esp + 0x2c], 0
jbe 0x4a6e8f
mov eax, dword [edi + 0x28]
mov esi, dword [eax]
lea ecx, [edi + 0x24]
mov ebp, ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebp
lea ebx, [ebx]
test ebp, ebp
mov edi, dword [ecx + 4]
je 0x4a6d5b
cmp ebp, ecx
je 0x4a6d60
call fcn.00578ff3
cmp esi, edi
je 0x4a6e88
test ebp, ebp
jne 0x4a6d71
call fcn.00578ff3
cmp esi, dword [ebp + 4]
jne 0x4a6d7b
call fcn.00578ff3
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a6e6e
mov ecx, dword [esi + 0x18]
sub ecx, eax
sar ecx, 2
je 0x4a6e6e
xor edi, edi
cmp esi, dword [ebp + 4]
jne 0x4a6da0
call fcn.00578ff3
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4a6e6e
mov eax, dword [esi + 0x18]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x4a6e6e
cmp esi, dword [ebp + 4]
jne 0x4a6dc5
call fcn.00578ff3
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4a6dd8
mov eax, dword [esi + 0x18]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4a6ddd
call fcn.00578ff3
mov edx, dword [esi + 0x14]
lea ebx, [edi*4]
cmp dword [ebx + edx], 0
je 0x4a6e2a
cmp esi, dword [ebp + 4]
jne 0x4a6df7
call fcn.00578ff3
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4a6e0a
mov eax, dword [esi + 0x18]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4a6e0f
call fcn.00578ff3
mov eax, dword [esi + 0x14]
add eax, ebx
mov eax, dword [eax]
add eax, 0x10
push eax
lea eax, [esp + 0x2c]
call fcn.00425c40
add esp, 4
test al, al
jne 0x4a6e32
add edi, 1
jmp 0x4a6d96
cmp esi, dword [ebp + 4]
jne 0x4a6e3c
call fcn.00578ff3
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4a6e4f
mov eax, dword [esi + 0x18]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4a6e54
call fcn.00578ff3
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx + edi*4]
add eax, 4
lea edi, [esp + 0x18]
call fcn.004035d0
mov dword [esp + 0x2c], 1
lea esi, [esp + 0x68]
call fcn.0046f3e0
mov esi, dword [esp + 0x6c]
mov ebp, dword [esp + 0x68]
mov ecx, dword [esp + 0x50]
jmp 0x4a6d50
cmp dword [esp + 0x2c], 0
jne 0x4a6ea2
push str.10000000_0000_0000_0000_000000000001
mov ebx, 0x24
lea eax, [esp + 0x1c]
call fcn.00404050
mov byte [esp + 0x90], 0x10
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a6eca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 0xa
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 0x4a6ef2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a6f1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a6f42
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x9c]
mov esi, dword [esp + 0x18]
mov ecx, str.10000000_0000_0000_0000_000000000001
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4a6f7a
test dx, dx
je 0x4a6f76
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4a6f7a
add eax, 4
add ecx, 4
test dx, dx
jne 0x4a6f54
xor eax, eax
jmp 0x4a6f7f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x4a70f7
cmp dword [esi - 0xc], 0
je 0x4a70f7
push esi
push ecx
call fcn.0047e920
add esp, 4
push eax
call fcn.0047e9b0
mov esi, eax
test esi, esi
je 0x4a7068
lea ecx, [esp + 0x50]
push 0x5c
lea edi, [esi + 8]
push ecx
call fcn.00436680
add esi, 0xc
lea edx, [esp + 0x60]
push esi
push edx
mov ebx, eax
mov byte [esp + 0xa0], 0x13
call fcn.00423280
add esp, 0x10
mov byte [esp + 0x90], 0x14
mov esi, dword [eax]
mov eax, 1
test byte [0x6036fc], al
jne 0x4a7004
or dword [0x6036fc], eax
push 0x5afe30
call fcn.0057a6a7
add esp, 4
push esi
push 0x6036dc
xor ecx, ecx
call fcn.00485970
mov byte [esp + 0x90], 0x13
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a7039
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 0
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a7061
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x9c]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, str.SkinGUID
call fcn.00404460
lea edx, [esp + 0x34]
push edx
mov ecx, 0x5c77f0
mov byte [esp + 0x94], 0x15
call fcn.00404460
lea eax, [esp + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebx
mov byte [esp + 0x9c], 0x16
call fcn.004a8070
add esp, 4
mov ecx, eax
call fcn.004a81e0
mov ecx, dword [esp + 0x18]
mov edi, eax
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x4a7132
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x4a7127
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4a7127
call fcn.00403ce0
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4a70f0
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [edi], ebp
jmp 0x4a7132
test byte [0x6036fc], 1
jne 0x4a7114
or dword [0x6036fc], 1
push 0x5afe30
call fcn.0057a6a7
add esp, 4
push 0
push 0x6036dc
xor ecx, ecx
call fcn.00485970
jmp 0x4a7068
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, edi
call fcn.00404050
mov byte [esp + 0x90], 0x15
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a715a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 0
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 0x4a7182
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x90], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a71ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 8