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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xe0
mov dword [esp + 0x3c], ecx
lea esi, [ebp + 8]
mov eax, dword [0x520014]
xor eax, ebp
mov dword [esp + 0xd8], eax
xor ebx, ebx
dec ebx
lea edi, [esp + 0xa0]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx]
mov dword [esp], edi
call dword [eax]
sub esp, 4
lea ecx, [esp + 0x98]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [esp], edi
call fcn.00489780
sub esp, 4
lea ecx, [esp + 0x94]
mov byte [ecx], 0xff
mov eax, dword [esi + 0x4c]
movzx eax, byte [eax + 9]
mov dword [esp], eax
call fcn.00481050
sub esp, 4
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x80], xmm0
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x4874f9
mov byte [esp + 0x7c], 0xff
mov dword [esp], eax
lea ecx, [esp + 0x7c]
call fcn.00488810
sub esp, 4
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], 0xffffff00
mov dword [esp + 0x68], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], ebx
xor eax, eax
mov byte [esp + 0x68], al
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], al
mov eax, dword [esi + 0x48]
mov ecx, dword [eax + 0x24]
cmp ecx, 1
jne 0x487487
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4872c8
lock inc dword [eax + 4]
lea edi, [esp + 0x78]
mov dword [esp], eax
mov ecx, edi
call fcn.0047df00
sub esp, 4
mov byte [edi - 4], 1
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
mov esi, dword [eax + 0x20]
cmp byte [esp + 0x50], 0
jne 0x48773b
lea edi, [esp + 0x54]
mov dword [edi], 0x5033c0
mov dword [edi + 4], esi
mov dword [edi + 8], 0
mov dword [edi + 0xc], ecx
mov dword [esp], edi
call fcn.00488900
mov byte [edi - 4], 1
lea esi, [ebp + 8]
test byte [0x5221e8], 0x19
je 0x487337
mov dword [esp + 4], esi
mov dword [esp], 0
mov ecx, str.ThreadPool_RunTask
xor edx, edx
call fcn.00463670
mov eax, dword [esi + 8]
mov dword [esp + 0x48], eax
mov eax, dword [0x526fa4]
test eax, eax
jne 0x48755d
mov eax, dword [esi + 0x10]
mov dword [esp + 0x44], eax
mov eax, dword [0x526fa4]
test eax, eax
jne 0x487585
mov al, byte [0x5221dc]
mov byte [esp + 0x37], al
test al, 0x19
jne 0x4875ae
mov dword [esp + 0x38], 0
mov edi, ebx
mov dword [esp + 0x40], ebx
mov eax, dword [esi + 0x4c]
mov al, byte [eax + 0xa]
and al, 0x7f
cmp al, 1
mov dword [esp + 0x4c], edi
jne 0x48752f
mov dword [esp], esi
mov ecx, dword [esp + 0x3c]
call fcn.004878a0
sub esp, 4
lea edi, [esp + 0xb0]
mov dword [edi], 0
mov dword [esp], edi
mov ecx, esi
call fcn.0046d3b0
sub esp, 4
mov ecx, edi
call fcn.0046d3f0
test byte [esp + 0x37], 0x19
jne 0x4876a3
mov eax, dword [0x526fa4]
test eax, eax
jne 0x4876ea
mov eax, dword [0x526fa4]
test eax, eax
jne 0x487713
test byte [0x5221e8], 0x19
je 0x487403
mov dword [esp], 0
mov ecx, 0x503c0d
xor edx, edx
call fcn.00463830
cmp byte [esp + 0x50], 0
je 0x48741e
mov dword [esp + 0x54], 0x5033c0
mov dword [esp], 0
call fcn.00488900
cmp byte [esp + 0x68], 0
jne 0x487521
cmp byte [esp + 0x74], 0
je 0x487439
lea ecx, [esp + 0x78]
call fcn.0047df80
lea ecx, [esp + 0x7c]
call fcn.00488890
cmp byte [esp + 0x80], 0
jne 0x4874e8
lea ecx, [esp + 0x94]
call fcn.004810d0
lea ecx, [esp + 0x98]
call fcn.00489880
mov ecx, esi
call fcn.00487bc0
mov ecx, dword [esp + 0xd8]
xor ecx, ebp
call fcn.0048a678
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x50
cmp ecx, 2
jne 0x487317
mov eax, dword [eax + 0x20]
test eax, eax
je 0x48749b
lock inc dword [eax + 4]
lea edi, [esp + 0x6c]
mov dword [esp], eax
mov ecx, edi
call fcn.00459180
sub esp, 4
mov byte [edi - 4], 1
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
mov edi, dword [eax + 0x20]
cmp byte [esp + 0x50], 0
jne 0x48775d
lea esi, [esp + 0x54]
mov dword [esi], 0x5033c0
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov dword [esp], esi
call fcn.00488900
mov byte [esi - 4], 1
jmp 0x487314
lea ecx, [esp + 0x84]
call fcn.00463bc0
jmp 0x487450
lea edi, [esp + 0x84]
mov ecx, edi
call fcn.00463ba0
mov byte [edi - 4], 1
mov eax, dword [esp + 0xa4]
mov byte [esp + 0x7c], 0xff
test eax, eax
cmove eax, edi
jmp 0x48726f
lea ecx, [esp + 0x6c]
call fcn.00459210
jmp 0x487429
cmp al, 2
jne 0x487544
mov dword [esp], esi
mov ecx, dword [esp + 0x3c]
call fcn.00463650
jmp 0x48739e
test al, al
jne 0x4873a1
mov dword [esp], esi
mov ecx, dword [esp + 0x3c]
call fcn.00463630
jmp 0x48739e
mov eax, dword [0x526fa4]
test eax, eax
je 0x48734b
call fcn.004ebcc0
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
mov ecx, eax
call fcn.004ec1f0
sub esp, 4
jmp 0x48734b
mov eax, dword [0x526fa4]
cmp eax, 2
jne 0x48735f
call fcn.004ebcc0
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov ecx, eax
call fcn.004ec0e0
sub esp, 4
jmp 0x48735f
mov eax, dword [esi + 0x48]
lea ecx, [ebp + 8]
mov esi, dword [ecx + 0x4c]
mov ebx, dword [eax + 0x24]
mov dword [esp], 0x1c
call fcn.00489952
mov edi, eax
mov eax, dword [ebx*4 + 0x518c8c]
mov dword [edi], 0x5033d8
movq xmm0, qword [esi]
movq qword [edi + 4], xmm0
mov cl, byte [esi + 8]
mov byte [edi + 0xc], cl
movzx ecx, word [esi + 0xd]
mov word [edi + 0x11], cx
mov ecx, dword [esi + 9]
mov dword [edi + 0xd], ecx
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0xa0]
mov dword [edi + 0x18], eax
call fcn.00470b00
mov ebx, eax
xor eax, eax
dec eax
lea esi, [esp + 0xa8]
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esp], esi
call fcn.00470f50
pcmpeqd xmm0, xmm0
lea ecx, [esp + 0xb0]
movdqa xmmword [ecx], xmm0
movdqa xmmword [ecx + 0x10], xmm0
mov word [ecx], 0x801
mov dword [ecx + 4], str.task_info
mov dword [ecx + 0x10], edi
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], esi
lea esi, [ebp + 8]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], eax
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 8], str.ThreadPool_TaskInfo
mov dword [esp + 4], 0x5221dc
mov dword [esp], 0x58
call fcn.00474ee0
mov dword [esp + 0x40], eax
mov ebx, edx
mov edi, str.ThreadPool_TaskInfo
lea ecx, [esp + 0xb0]
call fcn.00475ef0
mov dword [esp + 0x38], 0x5221dc
jmp 0x48737e
mov eax, dword [esp + 0x38]
cmp byte [eax], 0
je 0x4873cd
mov eax, dword [esp + 0x40]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ebx
movq xmm0, qword [esp + 0xb0]
movq qword [esp + 8], xmm0
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.004758f0
jmp 0x4873cd
mov eax, dword [0x526fa4]
cmp eax, 2
jne 0x4873da
call fcn.004ebcc0
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov ecx, eax
call fcn.004ec1d0
sub esp, 4
jmp 0x4873da
mov eax, dword [0x526fa4]
test eax, eax
je 0x4873e7
call fcn.004ebcc0
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
mov ecx, eax
call fcn.004ec2b0
sub esp, 4
jmp 0x4873e7
mov dword [esp + 0x54], 0x5033c0
mov dword [esp], 0
mov edi, ecx
call fcn.00488900
mov ecx, edi
mov byte [esp + 0x50], 0
jmp 0x4872f1
mov dword [esp + 0x54], 0x5033c0
mov dword [esp], 0
mov esi, ecx
call fcn.00488900
mov ecx, esi
mov byte [esp + 0x50], 0
jmp 0x4874c4