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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5201a2
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x577698]
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.004bf850
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x78], ebx
cmp eax, ebx
jbe 0x4bdee9
mov dword [esp + 0x14], eax
push 0x18
call fcn.004e757b
add esp, 4
cmp eax, ebx
je 0x4bddf9
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 0x4bddfb
xor esi, esi
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x28], esi
call fcn.004c12b0
push esi
lea ecx, [esp + 0x28]
push esi
push ecx
call fcn.0047cc9e
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 0x4bde4a
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.004bf400
mov byte [esp + 0x78], 1
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x4bdea7
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4bdea7
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 0x4bdea7
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 0x4bdede
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4bdede
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 0x4bdede
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
sub dword [esp + 0x14], 1
jne 0x4bddd1
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.004c1020
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 0x4bdf4e
cmp edi, dword [esp + 0x4c]
je 0x4bdf53
call fcn.004e8466
cmp ebx, esi
je 0x4be13b
test edi, edi
jne 0x4be11f
call fcn.004e8466
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x4bdf74
call fcn.004e8466
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.004c1090
mov byte [esp + 0x78], 6
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4bdfcc
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4bdfcc
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 0x4bdfcc
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 0x4be126
call fcn.004e8466
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x4bdff0
call fcn.004e8466
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
test edi, edi
jne 0x4be12d
call fcn.004e8466
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x4be013
call fcn.004e8466
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 0x4be134
call fcn.004e8466
cmp ebx, dword [edi + 0x18]
jne 0x4be03b
call fcn.004e8466
mov eax, dword [esi]
mov dword [esp + 0x34], eax
test eax, eax
je 0x4be051
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 0x4be06f
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.004bf560
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x7c], 7
call fcn.004be1c0
mov byte [esp + 0x78], 6
mov esi, dword [esp + 0x14]
test esi, esi
je 0x4be0d2
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4be0d2
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 0x4be109
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4be109
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 0x4be109
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
lea esi, [esp + 0x24]
call fcn.004c0dd0
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
jmp 0x4bdf40
mov eax, dword [edi]
jmp 0x4bdf6a
mov eax, dword [edi]
jmp 0x4bdfe6
mov eax, dword [edi]
jmp 0x4be009
mov edi, dword [edi]
jmp 0x4be031
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x7c]
mov edi, dword [ecx + 0x30]
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
mov dword [esp + 0x1c], edi
call eax
mov byte [esp + 0x78], 9
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x4be174
nop
mov edx, dword [esi + 0x7c]
push 0
push 0
call fcn.004c7150
mov edx, dword [esi + 4]
cmp edx, dword [esi + 8]
jne 0x4be160
mov byte [esp + 0x78], 0
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov ecx, edi
call edx
lea esi, [esp + 0x4c]
mov dword [esp + 0x78], 0xa
call fcn.004bfc30
mov eax, dword [esp + 0x4c]
push eax
call fcn.004e7360
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