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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bdae2
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x4e9688]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
lea eax, [esp + 0x4c]
push eax
call fcn.00471840
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x78], ebx
cmp eax, ebx
jbe 0x46fe99
mov dword [esp + 0x14], eax
push 0x18
call fcn.0049130d
add esp, 4
cmp eax, ebx
je 0x46fda9
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax], vtable.apache::thrift::concurrency::ThreadManager::Worker.0
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], ebx
mov byte [eax + 0x14], 0
mov esi, eax
jmp 0x46fdab
xor esi, esi
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x28], esi
call fcn.00473020
push esi
lea ecx, [esp + 0x28]
push esi
push ecx
call fcn.00455ec0
mov byte [esp + 0x84], 1
mov edx, dword [esp + 0x30]
mov ecx, dword [edi + 0x34]
add esp, 4
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], esp
cmp eax, ebx
je 0x46fdfa
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [esp + 0x34]
push edx
call eax
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x54]
push edx
mov byte [esp + 0x84], 2
call fcn.004713f0
mov byte [esp + 0x78], 1
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x46fe57
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x46fe57
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x46fe57
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov byte [esp + 0x78], 0
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x46fe8e
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x46fe8e
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x46fe8e
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
sub dword [esp + 0x14], 1
jne 0x46fd81
mov eax, dword [edi + 0x6c]
mov esi, dword [eax + 0x30]
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
mov dword [esp + 0x1c], esi
call eax
mov ecx, dword [ebp + 8]
mov byte [esp + 0x78], 3
add dword [edi + 8], ecx
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x4c]
mov edx, dword [eax]
push eax
push ecx
push edx
push ecx
sub edi, 0xffffff80
call fcn.00472d90
mov byte [esp + 0x78], 0
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x64]
mov ebx, dword [ecx]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
lea ecx, [ecx]
mov esi, dword [esp + 0x64]
test edi, edi
je 0x46fefe
cmp edi, dword [esp + 0x4c]
je 0x46ff03
call fcn.00492f40
cmp ebx, esi
je 0x4700eb
test edi, edi
jne 0x4700cf
call fcn.00492f40
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x46ff24
call fcn.00492f40
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0x2c]
push eax
call edx
mov ecx, eax
lea esi, [esp + 0x1c]
mov byte [esp + 0x78], 4
call fcn.00472e00
mov byte [esp + 0x78], 6
mov eax, dword [esp + 0x30]
test eax, eax
je 0x46ff7c
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x46ff7c
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x46ff7c
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x10], 1
test edi, edi
jne 0x4700d6
call fcn.00492f40
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x46ffa0
call fcn.00492f40
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
test edi, edi
jne 0x4700dd
call fcn.00492f40
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x46ffc3
call fcn.00492f40
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x14]
push eax
call edx
mov esi, eax
test edi, edi
jne 0x4700e4
call fcn.00492f40
cmp ebx, dword [edi + 0x18]
jne 0x46ffeb
call fcn.00492f40
mov eax, dword [esi]
mov dword [esp + 0x34], eax
test eax, eax
je 0x470001
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x38], edx
mov ebx, dword [ebx + 0x10]
mov dword [esp + 0x3c], ebx
test ebx, ebx
je 0x47001f
add ebx, 4
mov eax, 1
lock xadd dword [ebx], eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x44]
push edx
add eax, 0xc0
push eax
mov byte [esp + 0x84], 8
call fcn.00471550
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x7c], 7
call fcn.00470170
mov byte [esp + 0x78], 6
mov esi, dword [esp + 0x14]
test esi, esi
je 0x470082
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x470082
mov edx, dword [esi]
mov eax, dword [edx]
push 0
mov ecx, esi
call eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [esp + 0x78], 0
mov esi, dword [esp + 0x20]
test esi, esi
je 0x4700b9
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4700b9
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4700b9
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
lea esi, [esp + 0x24]
call fcn.00419040
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
jmp 0x46fef0
mov eax, dword [edi]
jmp 0x46ff1a
mov eax, dword [edi]
jmp 0x46ff96
mov eax, dword [edi]
jmp 0x46ffb9
mov edi, dword [edi]
jmp 0x46ffe1
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x7c]
mov ebx, dword [ecx + 0x30]
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
mov dword [esp + 0x1c], ebx
call eax
mov byte [esp + 0x78], 9
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x470124
nop
mov edi, dword [esi + 0x7c]
push 0
push 0
call fcn.0047a890
mov edx, dword [esi + 4]
cmp edx, dword [esi + 8]
jne 0x470110
mov byte [esp + 0x78], 0
mov eax, dword [ebx]
mov edx, dword [eax + 0x10]
mov ecx, ebx
call edx
lea esi, [esp + 0x4c]
mov dword [esp + 0x78], 0xa
call fcn.00471c00
mov eax, dword [esp + 0x4c]
push eax
call fcn.00491276
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4