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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd8
mov esi, esp
mov dword [esi + 0xc0], ebp
mov dword [esi + 0xc4], esp
mov dword [esi + 0xd0], 0xffffffff
mov dword [esi + 0xcc], 0x4e8dc0
mov dword [esi + 8], ecx
lea eax, [esi + 0xc8]
mov dword [esi + 4], edx
mov ecx, dword fs:[0]
mov dword [esi + 0xc8], ecx
mov dword fs:[0], eax
mov dword [esi + 0xd0], 0
call fcn.004c2ed0
lock dec byte [eax + 0x18]
mov ebx, eax
je 0x4c3862
mov eax, ebx
add eax, 0x18
mov dword [esi + 0x30], eax
mov eax, dword [0x5b7ae0]
mov dword [esi + 0x18], ebx
test eax, eax
je 0x4c3380
mov dword [esi + 0x14], eax
mov eax, dword [esi + 4]
mov edi, 0x3e8
mul edi
mov ebx, eax
mov eax, dword [esi + 8]
seto byte [esi + 4]
mul edi
mov edi, edx
mov ecx, eax
add edi, ebx
setb al
or al, byte [esi + 4]
je 0x4c35cb
xor edx, edx
jmp 0x4c35e6
mov ecx, dword [0x5b70c4]
cmp ecx, 0xffffffff
jne 0x4c33cb
mov dword [esi + 0x4c], 0xffffffff
lea ecx, [esi + 0x4c]
mov eax, dword [0x5b70d0]
push 0
push 0
push 0xc0000000
push ecx
call eax
test eax, eax
jne 0x4c3882
mov ecx, dword [esi + 0x4c]
mov eax, 0xffffffff
lock cmpxchg dword [0x5b70c4], ecx
je 0x4c33cb
mov edi, eax
push ecx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, edi
mov eax, dword [esi + 8]
mov ebx, 0x3b9aca00
mov dword [esi + 0x40], ecx
mul ebx
mov edi, eax
mov eax, dword [esi + 4]
mov ecx, edx
mul ebx
mov ebx, edi
mov edi, eax
add edi, ecx
mov ecx, 0xffffff9c
adc edx, 0
add ebx, dword [ebp + 8]
adc edi, 0
mov dword [esi + 0x3c], ebx
adc edx, 0
mov dword [esi + 0x58], edi
setb al
cmp ecx, ebx
mov ecx, 0xffffffff
mov ebx, 0
sbb ecx, edi
mov ecx, 0x31
sbb ecx, edx
movzx ecx, al
sbb ebx, ecx
jb 0x4c3631
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x54], edx
mov ebx, edx
mov dword [esi + 0x50], ecx
mov edx, ecx
add eax, 0x63
mov dword [esi + 8], eax
adc edi, 0
mov ecx, dword [esi + 8]
adc ebx, 0
mov dword [esi + 4], edi
adc edx, 0
mov dword [esi + 0xc], ebx
or edi, edx
mov dword [esi + 0x10], edx
or ecx, ebx
or ecx, edi
sete byte [esi + 0x14]
bsr ecx, ebx
bsr eax, edx
xor ecx, 0x1f
xor eax, 0x1f
add ecx, 0x20
test edx, edx
cmovne ecx, eax
bsr eax, dword [esi + 8]
bsr edi, dword [esi + 4]
xor eax, 0x1f
xor edi, 0x1f
add eax, 0x20
cmp dword [esi + 4], 0
cmovne eax, edi
mov edi, 0
add eax, 0x40
or ebx, edx
mov ebx, 0
mov edx, 0
cmovne eax, ecx
mov ecx, 0x79
sub ecx, eax
mov eax, 0x7f
sbb ebx, ebx
sbb edi, edi
sbb edx, edx
cmp eax, ecx
mov eax, 0
mov dword [esi + 0x28], edi
sbb eax, ebx
mov eax, 0
sbb eax, edi
mov eax, 0
mov edi, 0
sbb eax, edx
setb al
or al, byte [esi + 0x14]
mov eax, dword [esi + 4]
cmovne eax, edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 8]
cmovne eax, edi
mov dword [esi + 0x1c], eax
jne 0x4c3639
mov eax, ecx
mov dword [esi + 0x24], ecx
mov ecx, ebx
xor eax, 0x7f
or ecx, edx
or eax, dword [esi + 0x28]
or ecx, eax
mov eax, ebx
mov ebx, dword [esi + 0x18]
je 0x4c37f7
mov ecx, dword [esi + 8]
mov dword [esi + 0xb0], ecx
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 4]
mov dword [esi + 0xb4], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0xb8], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0xac], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xbc], eax
mov eax, dword [esi + 0x24]
xor al, 0x7f
mov ch, al
shr al, 3
and al, 0xf
and ch, 7
neg al
mov cl, ch
movsx eax, al
mov edi, dword [esi + eax + 0xb8]
mov ebx, dword [esi + eax + 0xbc]
shld ebx, edi, cl
shl edi, cl
not cl
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], edi
mov edi, dword [esi + eax + 0xb4]
mov ebx, dword [esi + eax + 0xb0]
mov eax, edi
shr eax, 1
shr eax, cl
mov cl, ch
shld edi, ebx, cl
shl ebx, cl
mov ecx, ebx
mov ebx, dword [esi + 0x24]
mov dword [esi + 0x20], edi
add ebx, 1
adc dword [esi + 0x2c], 0
adc dword [esi + 0x28], 0
adc edx, 0
jae 0x4c3641
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
jmp 0x4c37df
mov eax, dword [ebp + 8]
mov edx, 0x431bde83
mul edx
shr edx, 0x12
add ecx, edx
adc edi, 0
mov dword [esi + 4], ecx
setae al
movzx edx, al
mov ebx, dword [esi + 0x18]
mov eax, 0xffffffff
test edx, edx
je 0x4c3619
imul ecx, dword [ebp + 8], 0x68c26139
xor edx, edx
ror ecx, 6
cmp ecx, 0x10c7
mov ecx, dword [esi + 4]
setae dl
add ecx, edx
adc edi, 0
jb 0x4c3619
xor eax, eax
neg edi
sbb eax, eax
or eax, ecx
push eax
push 1
push 0x546840
mov edi, dword [esi + 0x30]
push edi
call dword [esi + 0x14]
xor eax, eax
xchg byte [edi], al
jmp 0x4c3862
mov ebx, dword [esi + 0x18]
jmp 0x4c37fd
mov ebx, dword [esi + 0x18]
jmp 0x4c37f7
or dword [esi + 0x38], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x80], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x84], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x9c], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x8c], eax
mov eax, ebx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x24], ebx
mov ch, bl
shr al, 3
and ch, 7
and al, 0xf
mov cl, ch
movzx eax, al
mov ebx, dword [esi + eax + 0x88]
mov edi, dword [esi + eax + 0x8c]
mov dword [esi + 0x48], edx
mov edx, ebx
add ebx, ebx
shrd edx, edi, cl
mov dword [esi + 8], edx
mov edx, dword [esi + eax + 0x84]
mov dword [esi + 0xc], edx
mov edx, dword [esi + 0xc]
shr edx, cl
not cl
shl ebx, cl
mov cl, ch
or ebx, edx
mov edx, dword [esi + 0xc]
shr edi, cl
mov dword [esi + 4], ebx
mov ebx, dword [esi + 0x28]
mov eax, dword [esi + eax + 0x80]
mov dword [esi + 0x14], edi
mov edi, dword [esi + 0x2c]
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
shrd eax, edx, cl
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x34]
nop dword [eax + eax]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], edi
mov edi, dword [esi + 8]
mov edx, dword [esi + 4]
mov ebx, dword [esi + 0x44]
shld dword [esi + 0x14], edi, 1
shld edi, edx, 1
shld edx, ebx, 1
shld ebx, eax, 1
mov dword [esi + 4], edx
mov edx, dword [esi + 0x38]
mov dword [esi + 8], edi
mov edi, dword [esi + 0xc]
mov dword [esi + 0xc], 0
shld eax, edx, 1
or eax, edi
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x20]
shld edx, eax, 1
shld eax, ecx, 1
add ecx, ecx
or ecx, dword [esi + 0x10]
or edx, edi
or eax, edi
mov edi, dword [esi + 0x2c]
mov dword [esi + 0x38], edx
mov edx, dword [esi + 0x14]
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], ecx
mov ecx, 0x63
cmp ecx, ebx
mov ecx, 0
sbb ecx, dword [esi + 4]
mov ecx, 0
sbb ecx, dword [esi + 8]
mov ecx, 0
sbb ecx, edx
sar ecx, 0x1f
mov eax, ecx
and ecx, 0x64
and eax, 1
sub ebx, ecx
sbb dword [esi + 4], 0
mov dword [esi + 0x10], eax
mov eax, edx
mov edx, dword [esi + 0x24]
mov dword [esi + 0x44], ebx
mov ebx, dword [esi + 0x28]
sbb dword [esi + 8], 0
sbb eax, 0
add edx, 0xffffffff
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x48]
adc edi, 0xffffffff
mov dword [esi + 0x24], edx
adc ebx, 0xffffffff
mov ecx, edi
adc eax, 0xffffffff
or edx, ebx
or ecx, eax
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x34]
or edx, ecx
mov ecx, dword [esi + 0x1c]
jne 0x4c3710
mov eax, dword [esi + 0x20]
mov ebx, dword [esi + 0x18]
shld eax, ecx, 1
add ecx, ecx
or eax, dword [esi + 0xc]
or ecx, dword [esi + 0x10]
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], ecx
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
mov edi, dword [esi + 0x1c]
mov eax, 0
neg edi
sbb eax, dword [esi + 0x20]
cmp dword [esi + 0x3c], 0xffffff9d
sbb dword [esi + 0x58], 0xffffffff
sbb edx, 0x31
sbb ecx, 0
mov ecx, 0x80000000
cmovb ecx, eax
mov eax, 0
cmovae edi, eax
mov dword [esi + 0x64], ecx
lea ecx, [esi + 0x60]
mov dword [esi + 0x60], edi
mov eax, dword [0x5b70d8]
push ecx
push 0
mov edi, dword [esi + 0x30]
push edi
push dword [esi + 0x40]
call eax
test eax, eax
mov eax, 0
xchg byte [edi], al
je 0x4c3862
cmp al, 1
jne 0x4c3862
mov eax, dword [0x5b70d8]
push 0
push 0
push dword [esi + 0x30]
push dword [esi + 0x40]
call eax
lock dec dword [ebx]
jne 0x4c386e
mov ecx, ebx
call fcn.004c0390
mov eax, dword [esi + 0xc8]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea edx, [esi + 0x5c]
lea ecx, [esi + 0x78]
mov dword [esi + 0x68], 0x54686c
mov dword [esi + 0x6c], 1
mov dword [esi + 0x60], 0
mov dword [esi + 0x5c], eax
mov dword [esi + 0xd0], 1
mov dword [esi + 0x78], edx
mov dword [esi + 0x70], ecx
lea ecx, [esi + 0x60]
mov edx, 0x5468a4
mov dword [esi + 0x7c], fcn.0041ec40
mov dword [esi + 0x74], 1
call fcn.0050ae80
ud2