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

Disassembly:
push 0xffffffffffffffff
push 0x4f6bfe
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
cmp dword [0x532b28], 0
mov eax, dword [esp + 0xac]
mov dword [esp + 0x20], eax
jne 0x4a3d76
xor al, al
jmp 0x4a40b0
lea ecx, [esp + 0x24]
push ecx
call fcn.00403c40
mov dword [esp + 0xa4], 0
mov edx, dword [0x532b28]
mov eax, dword [edx + 0xd4]
test eax, eax
je 0x4a3dab
mov eax, dword [eax + 0x98]
push eax
lea eax, [esp + 0x28]
call fcn.004108f0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
sub eax, ecx
sar eax, 2
xor ebx, ebx
xor esi, esi
test eax, eax
jbe 0x4a3dfa
cmp esi, eax
jb 0x4a3dcd
call fcn.004c96d9
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + esi*4]
cmp dword [eax + 0x114], ebx
jne 0x4a3de8
cmp dword [eax + 0x120], ebx
jne 0x4a3de8
cmp byte [eax + 0x128], bl
je 0x4a3df8
mov eax, dword [esp + 0x34]
sub eax, ecx
inc esi
sar eax, 2
cmp esi, eax
jb 0x4a3dcd
jmp 0x4a3dfa
mov ebx, eax
mov byte [esp + 0x1b], 0
test ebx, ebx
jne 0x4a3ee9
mov dword [esp + 0x1c], 0xa
nop
push 0x170
call fcn.004c8f3d
add esp, 4
mov dword [esp + 0x3c], eax
mov byte [esp + 0xa4], 1
test eax, eax
je 0x4a3e3d
push 0
push 0
push eax
xor ecx, ecx
call fcn.0049f2c0
mov esi, eax
jmp 0x4a3e3f
xor esi, esi
mov byte [esp + 0xa4], 0
mov ecx, dword [0x532b28]
mov edx, dword [ecx + 0xd4]
mov edi, dword [edx + 0x98]
test esi, esi
je 0x4a3e93
cmp esi, 0xffffffff
je 0x4a3e93
lea ebp, [esi + 4]
push ebp
mov dword [esi + 0x14], edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [ebp]
xor eax, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
cmp dword [edi + 0x18], eax
jne 0x4a3e84
mov dword [edi + 0x18], esi
jmp 0x4a3e90
mov ecx, dword [edi + 0x1c]
mov dword [ecx + 0x24], esi
mov edx, dword [edi + 0x1c]
mov dword [esi + 0x20], edx
mov dword [edi + 0x1c], esi
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
mov ecx, edi
call edx
test eax, eax
je 0x4a3eb1
mov eax, dword [eax + 4]
test eax, eax
je 0x4a3eb1
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x3c]
mov ecx, edi
call eax
test ebx, ebx
jne 0x4a3eb7
mov ebx, esi
mov ecx, dword [0x532b28]
xor eax, eax
push eax
mov eax, 0x4a32d0
push eax
push ecx
mov edx, esi
call fcn.00402400
add esp, 0xc
sub dword [esp + 0x1c], 1
jne 0x4a3e10
mov byte [esp + 0x1b], 1
test ebx, ebx
je 0x4a4060
mov edx, dword [esp + 0x20]
push edx
mov eax, ebx
call fcn.0049f640
mov edi, dword [0x532b28]
push ebx
call fcn.004a38c0
lea esi, [esp + 0x40]
mov eax, ebx
call fcn.0049f700
mov edi, 8
mov byte [esp + 0xa4], 2
cmp dword [eax + 0x18], edi
jb 0x4a3f23
mov edx, dword [eax + 4]
jmp 0x4a3f26
lea edx, [eax + 4]
xor ebx, ebx
xor eax, eax
mov word [esp + 0x60], ax
mov ebp, 7
mov eax, edx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4a3f41
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x64]
call fcn.00401760
mov byte [esp + 0xa4], 4
cmp dword [esp + 0x58], edi
jb 0x4a3f76
mov ecx, dword [esp + 0x44]
push ecx
call fcn.004c8f17
add esp, 4
mov ecx, dword [esp + 0x60]
xor edx, edx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], dx
cmp dword [esp + 0x74], edi
jae 0x4a3f93
lea ecx, [esp + 0x60]
lea eax, [esp + 0x78]
push eax
call fcn.004a3aa0
mov byte [esp + 0xa4], 5
mov esi, dword [esp + 0x60]
cmp dword [esp + 0x74], edi
jae 0x4a3fb3
lea esi, [esp + 0x60]
mov ebp, dword [esp + 0x7c]
cmp dword [esp + 0x90], edi
jae 0x4a3fc4
lea ebp, [esp + 0x7c]
call fcn.0049e720
push esi
call fcn.00406720
add esp, 4
mov bl, al
call fcn.0049ea80
test bl, bl
je 0x4a3fff
push 0
mov edi, str.LastSkinIsColor
call fcn.0047f9a0
add esp, 4
push ebp
mov edi, str.skin
call fcn.0047f900
add esp, 4
mov edi, 8
cmp dword [esp + 0x90], edi
jb 0x4a4015
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.004c8f17
add esp, 4
xor edx, edx
xor ebx, ebx
mov esi, 7
mov byte [esp + 0xa4], dl
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], dx
cmp dword [esp + 0x74], edi
jb 0x4a404b
mov eax, dword [esp + 0x60]
push eax
call fcn.004c8f17
add esp, 4
xor ecx, ecx
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], cx
cmp byte [esp + 0x1b], cl
je 0x4a4082
mov edx, dword [0x532b28]
mov eax, dword [edx + 0xd4]
call fcn.0040f2f0
mov eax, dword [0x532b28]
mov ecx, dword [eax + 0xd4]
push ecx
call fcn.0040f3f0
mov eax, dword [esp + 0x30]
xor esi, esi
cmp eax, esi
je 0x4a4095
push eax
call fcn.004c8f17
add esp, 4
mov edx, dword [esp + 0x24]
push edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call fcn.004c8f17
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.004c8f08
add esp, 0x94
ret