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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d0922
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x4ffeb0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
lea eax, [esp + 0x54]
push eax
call fcn.00466230
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x80], ebx
cmp edi, ebx
jbe 0x46490b
mov dword [esp + 0x14], edi
jmp 0x4647e8
xor ebx, ebx
push 0x18
call fcn.0049c800
add esp, 4
cmp eax, ebx
je 0x464810
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax], vtable.apache::thrift::concurrency::ThreadManager::Worker.0
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], ebx
mov byte [eax + 0x14], 0
mov edi, eax
jmp 0x464812
xor edi, edi
push edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x28], edi
call fcn.004678e0
push edi
lea ecx, [esp + 0x28]
push edi
push ecx
call fcn.00406f40
mov byte [esp + 0x8c], 1
mov edx, dword [esp + 0x30]
mov ecx, dword [esi + 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 0x464861
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 + 0x58]
push ecx
lea ebx, [esp + 0x44]
mov byte [esp + 0x88], 2
call fcn.00465df0
mov ebx, 1
mov byte [esp + 0x80], bl
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4648c4
mov edi, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4648c4
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4648c4
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov byte [esp + 0x80], 0
mov edi, dword [esp + 0x28]
test edi, edi
je 0x4648fe
lea ecx, [edi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4648fe
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4648fe
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
sub dword [esp + 0x14], ebx
jne 0x4647e6
mov edi, dword [ebp + 8]
mov ecx, dword [esi + 0x6c]
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 + 0x80], 3
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x54]
add dword [esi + 8], edi
mov edx, dword [eax]
push eax
push ecx
push edx
push ecx
lea edi, [esi + 0x80]
call fcn.00467750
mov byte [esp + 0x80], 0
mov edx, dword [ebx]
mov eax, dword [edx + 0x10]
mov ecx, ebx
call eax
mov ecx, dword [esp + 0x6c]
mov ebx, dword [ecx]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x30], edx
test edi, edi
je 0x464977
cmp edi, dword [esp + 0x54]
je 0x46497c
call fcn.004a0da7
cmp ebx, dword [esp + 0x30]
je 0x464b7d
test edi, edi
jne 0x464b61
call fcn.004a0da7
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x46499f
call fcn.004a0da7
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
lea edx, [esp + 0x34]
push edx
call eax
mov ebx, eax
lea esi, [esp + 0x1c]
mov byte [esp + 0x80], 4
call fcn.004677c0
mov byte [esp + 0x80], 6
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4649fd
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4649fd
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 0x4649fd
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 0x464b68
call fcn.004a0da7
xor eax, eax
mov esi, dword [esp + 0x28]
cmp esi, dword [eax + 0x18]
jne 0x464a25
call fcn.004a0da7
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
test edi, edi
jne 0x464b6f
call fcn.004a0da7
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x464a48
call fcn.004a0da7
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x14]
push eax
call edx
mov ebx, eax
test edi, edi
jne 0x464b76
call fcn.004a0da7
cmp esi, dword [edi + 0x18]
jne 0x464a70
call fcn.004a0da7
mov eax, dword [ebx]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x464a86
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x40], edx
mov esi, dword [esi + 0x10]
mov dword [esp + 0x44], esi
test esi, esi
je 0x464aa4
add esi, 4
mov eax, 1
lock xadd dword [esi], eax
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x4c]
push edx
add ebx, 0xc0
mov byte [esp + 0x88], 8
call fcn.00465f40
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x84], 7
call fcn.00464c00
mov byte [esp + 0x80], 6
mov esi, dword [esp + 0x14]
test esi, esi
je 0x464b0d
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x464b0d
mov eax, dword [esi]
mov edx, dword [eax]
push 0
mov ecx, esi
call edx
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [esp + 0x80], 0
mov esi, dword [esp + 0x20]
test esi, esi
je 0x464b47
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x464b47
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 0x464b47
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
lea esi, [esp + 0x24]
call fcn.0040dd80
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
jmp 0x464965
mov eax, dword [edi]
jmp 0x464995
mov eax, dword [edi]
jmp 0x464a17
mov eax, dword [edi]
jmp 0x464a3e
mov edi, dword [edi]
jmp 0x464a66
mov eax, dword [esi + 0x7c]
mov ebx, dword [eax + 0x30]
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
mov dword [esp + 0x1c], ebx
call eax
mov byte [esp + 0x80], 9
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x464bb4
mov edi, dword [esi + 0x7c]
push 0
push 0
call fcn.0046f170
mov edx, dword [esi + 4]
cmp edx, dword [esi + 8]
jne 0x464ba0
mov byte [esp + 0x80], 0
mov eax, dword [ebx]
mov edx, dword [eax + 0x10]
mov ecx, ebx
call edx
lea esi, [esp + 0x54]
mov dword [esp + 0x80], 0xa
call fcn.004665f0
mov eax, dword [esp + 0x54]
push eax
call fcn.0049c830
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4