joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4070f0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
xor esi, esi
push edi
xor edi, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], esi
cmp dword [esp + 0x30], esi
je 0x40712a
cmp dword [esp + 0x34], esi
je 0x40712a
push 0x200
call fcn.004b55bf
mov ebx, eax
add esp, 4
cmp ebx, esi
jne 0x407135
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
lea eax, [esp + 0x14]
push eax
push 0x20119
push esi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x407294
mov edx, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x20]
push ecx
push ebx
push esi
push edx
mov dword [esp + 0x30], 0x100
call ebp
test eax, eax
jne 0x40722a
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x40718d
mov eax, 0x80000002
lea ecx, [esp + 0x1c]
push ecx
push 0x20119
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x407203
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x20]
lea eax, [ebx + 4]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x38], 1
mov dword [esp + 0x28], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4071f8
mov eax, ebx
mov dword [ebx], 0x5c2e5c5c
call fcn.00407060
cmp edx, edi
jb 0x4071f8
ja 0x4071f2
cmp eax, dword [esp + 0x24]
jbe 0x4071f8
mov dword [esp + 0x24], eax
mov edi, edx
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
push ebx
inc esi
push esi
push edx
mov dword [esp + 0x30], 0x100
call ebp
test eax, eax
je 0x407180
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
ja 0x407240
cmp dword [esp + 0x24], 0
jbe 0x407294
mov ecx, dword [esp + 0x24]
push edi
push ecx
push str._012I64X
mov ecx, 0x200
call fcn.004050f0
add esp, 0xc
test eax, eax
jne 0x407279
push ebx
mov dword [esp + 0x1c], 0xffffffff
call fcn.004b54e2
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
push ebx
push edx
push str.MAC:
call fcn.00406c90
add esp, 0xc
mov dword [esp + 0x18], eax
push ebx
call fcn.004b54e2
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x409d40
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea6a0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5382cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [0x542bfc]
xor edi, edi
cmp ecx, edi
jne 0x409d8b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
jne 0x409d98
mov dword [ebp - 0x14], edi
jmp 0x409db0
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x409e56
mov ecx, dword [0x542bfc]
mov eax, dword [ecx]
cmp eax, edi
je 0x409d77
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x409d77
mov dword [ebp - 4], edi
mov ebx, 0x542bfc
call fcn.00409e70
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, edi
jne 0x409dee
mov dword [ebp - 0x18], 1
push 0x52b868
lea eax, [ebp - 0x18]
push eax
call fcn.004b49a8
mov ecx, dword [0x542bfc]
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x409e08
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp eax, edi
jne 0x409e1d
mov dword [ebp - 0x1c], 4
push 0x52b868
lea edx, [ebp - 0x1c]
push edx
call fcn.004b49a8
mov dword [ebp - 4], 0xffffffff
jmp 0x409e42
mov eax, dword [0x542bfc]
mov eax, dword [eax]
test eax, eax
je 0x409e54
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409e70
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x409e9d
xor ecx, ecx
jmp 0x409ea9
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
push esi
mov esi, ecx
test ecx, ecx
je 0x409f5d
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
mov eax, dword [esi]
cmp dword [esp + 0x10], eax
jne 0x409ed0
mov dword [esp + 0xc], esi
jmp 0x409f30
push eax
push 1
push 0x40
call edi
test eax, eax
jne 0x409f29
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x409f1c
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call ebp
test eax, eax
je 0x409f30
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x409f30
push 0x50ec78
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x409f30
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x409f53
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x409ec2
mov eax, dword [esp + 0xc]
pop edi
pop ebp
test eax, eax
jne 0x409f71
mov ecx, dword [ebx]
add ecx, 8
call fcn.0040a0e0
test eax, eax
je 0x409f71
mov edx, dword [esp + 8]
mov dword [eax], edx
pop esi
add esp, 8
ret

Function at 0x409f80
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x4ea67b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5382cc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.004b47e0
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [esp + 0x14], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x40a018
push 0x52b868
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.004b49a8
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov dword [esp + 0x14], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8

Function at 0x40dee0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4eb598
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x5382cc]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.0040f1d0
push eax
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x70], 0
call fcn.0040f230
add esp, 0x10
push 0x52ba5c
lea eax, [esp + 0x30]
push eax
call fcn.004b49a8
int3
Function at 0x4139e0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x634
mov eax, dword [0x5382cc]
xor eax, esp
mov dword [esp + 0x630], eax
push esi
push 0x104
lea eax, [esp + 0x14]
push eax
mov esi, 0x1234abcd
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
xor ecx, ecx
cmp eax, ecx
je 0x413aaf
cmp eax, 0x104
ja 0x413aaf
xor edx, edx
mov word [esp + eax*2 + 0x10], dx
mov ax, word [esp + 0x10]
cmp ax, 0x41
jb 0x413a37
cmp ax, 0x5a
jbe 0x413a44
mov eax, dword [esp + 0x10]
add eax, 0xffffff9f
cmp ax, 0x19
ja 0x413a4b
xor edx, edx
mov word [esp + 0x16], dx
push 0x104
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ecx
lea eax, [esp + 0x220]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0x104
lea ecx, [esp + 0x440]
push ecx
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x413aa9
mov eax, dword [esp + 4]
pop esi
mov ecx, dword [esp + 0x630]
xor ecx, esp
call fcn.004b48bf
add esp, 0x634
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x634]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004b48bf
add esp, 0x634
ret
Function at 0x41fd70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4ee0b0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5382cc]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x88]
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + 4]
xor ebx, ebx
mov dword [esp + 0x88], ecx
cmp byte [eax + 0x3d], bl
jne 0x41fdda
mov edx, dword [esp + 0x8c]
mov edx, dword [edx]
jmp 0x41fdc0
cmp dword [eax + 0xc], edx
jge 0x41fdca
mov eax, dword [eax + 8]
jmp 0x41fdce
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0x3d], bl
je 0x41fdc0
mov dword [esp + 0x88], ecx
mov esi, dword [ebp]
mov eax, dword [ebp + 0x18]
mov edi, ecx
mov dword [esp + 0x18], eax
cmp esi, ebx
je 0x41fdee
cmp esi, esi
je 0x41fdfa
call fcn.004b6b96
mov ecx, dword [esp + 0x88]
cmp ecx, dword [esp + 0x18]
je 0x41fe12
mov edx, dword [esp + 0x8c]
mov eax, dword [edx]
cmp eax, dword [ecx + 0xc]
jge 0x41ff04
mov ecx, vtable.qtray::TraySrvArg.0
mov eax, 0xf
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x20], bl
mov dword [esp + 0x24], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], bl
mov byte [esp + 0x46], bl
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x80], ebx
mov edx, dword [edx]
push 0xffffffffffffffff
mov dword [esp + 0x74], eax
push ebx
lea eax, [esp + 0x30]
mov dword [esp + 0x54], ecx
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x54], edx
mov byte [esp + 0x5c], bl
mov dword [esp + 0x60], ebx
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
call fcn.0040cf90
mov cx, word [esp + 0x44]
mov dl, byte [esp + 0x46]
mov word [esp + 0x74], cx
mov byte [esp + 0x76], dl
push edi
push esi
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x20]
push ecx
mov eax, ebp
mov byte [esp + 0x90], 1
call fcn.0041ff70
cmp dword [esp + 0x70], 0x10
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ebp, vtable.qtray::TraySrvArg.0
mov dword [esp + 0x4c], ebp
jb 0x41fecc
mov edx, dword [esp + 0x5c]
push edx
call fcn.004ae340
add esp, 4
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov dword [esp + 0x1c], ebp
jb 0x41fef4
mov eax, dword [esp + 0x2c]
push eax
call fcn.004ae340
add esp, 4
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp esi, ebx
jne 0x41ff32
call fcn.004b6b96
xor esi, esi
cmp edi, dword [esi + 0x18]
jne 0x41ff19
call fcn.004b6b96
lea eax, [edi + 0x10]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 8
mov esi, dword [esi]
jmp 0x41ff0f
Function at 0x420b00
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [0x542bf0]
push esi
mov esi, dword [0x542be4]
push 0x104
push eax
lea ecx, [esi + 0x14]
push 0x105
push ecx
call fcn.004b67e7
add esp, 0x10
cmp dword [esi], 0xffffffff
mov dword [esi + 0x224], 0x411bb0
mov dword [esi + 0x220], 0x4115c0
je 0x420b4c
mov dword [esi + 0x10], 0
mov eax, 1
pop esi
pop ecx
ret
lea edx, [esp + 4]
push edx
push 0
push esi
push 0x420bf0
push 0
push 0
mov dword [esp + 0x1c], 0
call fcn.004ba979
add esp, 0x18
mov dword [esi], eax
mov eax, 1
pop esi
pop ecx
ret

Function at 0x420b80
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 0x224]
test eax, eax
je 0x420b97
mov ecx, dword [esi + 0x228]
push ecx
push esi
call eax
add esp, 8
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x420bda
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x420bd1
mov edx, dword [esi]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0xffffffff
mov eax, 1
ret
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0xffffffff
mov eax, 1
ret
Function at 0x4225f0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4eacd8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5382cc]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5382cc]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4c]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
mov dword [esp + 0x44], ebx
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x68]
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call edx
add edi, eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x42276f
mov bl, 1
movsx ecx, word [esp + 0x14]
dec ecx
cmp ecx, 5
ja case.default.0x422685
jmp dword [ecx*4 + 0x4227b4]
cmp eax, 0xb
jne case.default.0x422685
mov eax, dword [esi]
mov edx, dword [eax + 0xa4]
lea ecx, [ebp + 4]
push ecx
mov ecx, esi
call edx
mov byte [ebp + 0x4c], bl
jmp 0x42273c
mov edx, dword [esi]
mov ecx, esi
cmp eax, 0xb
jne 0x422733
mov edx, dword [edx + 0xa4]
lea eax, [ebp + 0x20]
push eax
call edx
mov byte [ebp + 0x4d], bl
jmp 0x42273c
mov edx, dword [esi]
mov ecx, esi
cmp eax, 8
jne 0x422733
mov edx, dword [edx + 0x98]
lea eax, [ebp + 0x3c]
push eax
call edx
mov byte [ebp + 0x4e], bl
jmp 0x42273c
mov edx, dword [esi]
mov ecx, esi
cmp eax, 8
jne 0x422733
mov edx, dword [edx + 0x98]
lea eax, [ebp + 0x40]
push eax
call edx
mov byte [ebp + 0x4f], bl
jmp 0x42273c
mov edx, dword [esi]
mov ecx, esi
cmp eax, 8
jne 0x422733
mov edx, dword [edx + 0x98]
lea eax, [ebp + 0x44]
push eax
call edx
mov byte [ebp + 0x50], bl
jmp 0x42273c
mov edx, dword [esi]
mov ecx, esi
cmp eax, 8
jne 0x422733
mov edx, dword [edx + 0x98]
lea eax, [ebp + 0x48]
push eax
call edx
mov byte [ebp + 0x51], bl
jmp 0x42273c
mov edx, dword [esi]
mov ecx, esi
push eax
mov eax, dword [edx + 0xac]
call eax
mov edx, dword [esi]
add edi, eax
mov eax, dword [edx + 0x6c]
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x68]
add edi, eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call edx
add edi, eax
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x422676
mov eax, dword [esi]
mov edx, dword [eax + 0x64]
mov ecx, esi
call edx
mov esi, eax
add esi, edi
cmp dword [esp + 0x34], 0x10
jb 0x422790
mov eax, dword [esp + 0x20]
push eax
call fcn.004ae340
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004b48bf
add esp, 0x34
ret 4
Function at 0x428bb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4eba68
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x5382cc]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [0x5413bc]
mov edx, dword [eax + 0xc]
mov ecx, 0x5413bc
call edx
add eax, 0x10
xor ebx, ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov byte [esp + 0x18], bl
mov dword [esp + 0x1c], ebx
cmp eax, ebx
jne 0x428c0f
mov dword [esp + 0x1c], 0x6a
jmp 0x428c1f
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov byte [esp + 0x18], bl
mov edx, dword [esp + 0x38]
push edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], ebx
call fcn.00428930
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
cmp esi, ebx
je 0x428c8a
cmp byte [esp + 0x18], bl
je 0x428c56
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x428c56
push eax
call fcn.004b5ee1
add esp, 4
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428c76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x20
ret
cmp byte [esp + 0x18], bl
je 0x428ca1
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x428ca1
push eax
call fcn.004b5ee1
add esp, 4
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428cc1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x20
ret

Function at 0x42ba40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4eb988
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5382cc]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0x11
push str.TimedOutException
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
call fcn.0040c3d0
lea eax, [esp + 4]
push eax
push esi
mov dword [esp + 0x30], 0
call fcn.0040a570
cmp dword [esp + 0x1c], 0x10
jb 0x42baaf
mov ecx, dword [esp + 8]
push ecx
call fcn.004ae340
add esp, 4
mov eax, esi
mov dword [esi], vtable.apache::thrift::concurrency::TimedOutException.0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
add esp, 0x28
ret
Function at 0x42bc60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4eea35
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5382cc]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x24]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [ebx], vtable.apache::thrift::concurrency::ThreadManager::Impl.0
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x34], edi
mov dword [ebx + 0x38], edi
push 4
mov byte [esp + 0x20], 2
lea esi, [ebx + 0x3c]
call fcn.004ae310
add esp, 4
cmp eax, edi
je 0x42bcc9
mov dword [eax], esi
jmp 0x42bccb
xor eax, eax
mov dword [esi], eax
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov byte [esp + 0x1c], 3
lea esi, [ebx + 0x5c]
push 8
mov dword [esi], vtable.apache::thrift::concurrency::Mutex.0
call fcn.004ae310
add esp, 4
cmp eax, edi
je 0x42bcfc
mov dword [eax], edi
mov dword [eax + 4], edi
mov edi, eax
lea ebp, [esi + 4]
push edi
lea ecx, [ebp + 4]
mov dword [ebp], edi
call fcn.00437830
push edi
push edi
push ebp
call fcn.0040fe00
add esp, 0xc
push esi
lea edi, [ebx + 0x68]
mov byte [esp + 0x20], 4
call fcn.00438b20
push esi
lea edi, [ebx + 0x70]
mov byte [esp + 0x20], 5
call fcn.00438b20
lea esi, [ebx + 0x78]
mov byte [esp + 0x1c], 6
call fcn.00438a60
lea eax, [ebx + 0x80]
push eax
mov byte [esp + 0x20], 7
call fcn.0042e450
lea eax, [ebx + 0xa0]
push eax
mov byte [esp + 0x20], 8
call fcn.0042e450
lea eax, [ebx + 0xc0]
push eax
mov byte [esp + 0x20], 9
call fcn.0042e8a0
mov eax, ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x42bd90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4ee644
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5382cc]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
mov dword [edi], vtable.apache::thrift::concurrency::ThreadManager::Impl.0
push 0
mov esi, edi
mov dword [esp + 0x20], 0xa
call fcn.0042ceb0
lea esi, [edi + 0xc0]
mov dword [esp + 0x10], esi
mov byte [esp + 0x1c], 0xb
call fcn.0042ec40
mov esi, dword [esi]
push esi
call fcn.004ae340
lea esi, [edi + 0xa0]
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x1c], 0xc
call fcn.0042e860
mov esi, dword [esi]
push esi
call fcn.004ae340
lea esi, [edi + 0x80]
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x1c], 0xd
call fcn.0042e860
mov esi, dword [esi]
push esi
call fcn.004ae340
mov byte [esp + 0x20], 6
mov esi, dword [edi + 0x7c]
add esp, 4
mov dword [edi + 0x78], vtable.apache::thrift::concurrency::Monitor.0
test esi, esi
je 0x42be4f
push esi
call fcn.00438bd0
push esi
call fcn.004ae340
add esp, 4
mov byte [esp + 0x1c], 5
mov esi, dword [edi + 0x74]
mov dword [edi + 0x70], vtable.apache::thrift::concurrency::Monitor.0
test esi, esi
je 0x42be71
push esi
call fcn.00438bd0
push esi
call fcn.004ae340
add esp, 4
mov byte [esp + 0x1c], 4
mov esi, dword [edi + 0x6c]
mov dword [edi + 0x68], vtable.apache::thrift::concurrency::Monitor.0
test esi, esi
je 0x42be93
push esi
call fcn.00438bd0
push esi
call fcn.004ae340
add esp, 4
mov byte [esp + 0x1c], 3
mov dword [edi + 0x5c], vtable.apache::thrift::concurrency::Mutex.0
mov esi, dword [edi + 0x64]
test esi, esi
je 0x42bed0
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x42bed0
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 0x42bed0
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
lea esi, [edi + 0x3c]
mov dword [esp + 0x10], esi
mov byte [esp + 0x1c], 0xe
call fcn.0042e390
mov esi, dword [esi]
push esi
call fcn.004ae340
mov byte [esp + 0x20], 1
mov esi, dword [edi + 0x38]
add esp, 4
test esi, esi
je 0x42bf22
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x42bf22
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 0x42bf22
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
lea esi, [edi + 0x18]
mov byte [esp + 0x1c], 0
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x42bf48
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
cmp ecx, esi
setne dl
movzx edx, dl
push edx
call eax
mov dword [esi + 0x10], 0
mov dword [edi], vtable.apache::thrift::concurrency::ThreadManager.0
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 4
Function at 0x432540
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4eb358
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5382cc]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x5382cc]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
mov esi, ecx
mov ecx, dword [esp + 8]
push ecx
push edx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
call fcn.00432a80
mov dword [esp + 0x38], 0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
lea eax, [esp + 0xc]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00432600
cmp dword [esp + 0x24], 0x10
jb 0x4325da
mov edx, dword [esp + 0x10]
push edx
call fcn.004ae340
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004b48bf
mov esp, ebp
pop ebp
ret 0x1c