joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405b40
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x28
mov eax, dword [0x5382cc]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
push ebx
push ebp
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ebx
cmp eax, ebx
jne 0x405b73
mov dword [esp + 0x10], 0xffffffff
jmp 0x405b79
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push ebx
push ebx
push ebp
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x405ba7
push 0x50ea0c
mov eax, 0x50ea0c
call fcn.004086c0
add esp, 4
jmp 0x405c87
push 0
lea edx, [esp + 0x1c]
push edx
push 8
lea eax, [esp + 0x30]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x405bd7
push 0x50ea0c
mov eax, 0x50ea0c
call fcn.004086c0
add esp, 4
jmp 0x405c87
mov eax, 8
cmp dword [esp + 0x18], eax
je 0x405bf9
mov eax, 1
push 0x50ea0c
call fcn.00408730
add esp, 4
jmp 0x405c87
cmp dword [esp + 0x40], ebx
je 0x405c35
mov ebx, eax
cmp dword [esp + 0x10], eax
jae 0x405c1b
mov eax, 5
push 0x50ea0c
call fcn.00408730
add esp, 4
jmp 0x405c87
mov ecx, dword [esp + 0x24]
mov dx, word [esp + 0x28]
mov dword [esi], ecx
mov cx, word [esp + 0x2a]
mov word [esi + 4], dx
mov word [esi + 6], cx
jmp 0x405c7f
mov esi, dword [esp + 0x24]
cmp esi, dword [esp + 0x10]
jbe 0x405c43
mov ebx, esi
jmp 0x405c07
mov edx, dword [esp + 0x38]
xor ebx, ebx
push ebx
push ebx
push ebp
push edx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x405c6c
push 0x50ea0c
mov eax, 0x50ea0c
call fcn.004086c0
add esp, 4
jmp 0x405c87
mov ecx, dword [esp + 0x20]
mov edx, edi
call fcn.00405260
test eax, eax
je 0x405c87
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x405c91
mov dword [eax], ebx
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b46ff
add esp, 0x28
ret
Function at 0x406570
Capabilities:
Get file size

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, eax
mov eax, dword [esi]
mov edi, dword [esi + 0x18]
lea ecx, [esp + 0x10]
push ecx
xor ebp, ebp
push eax
xor ebx, ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x4065b6
push 0x50ea0c
mov eax, 0x50ea0c
call fcn.004086c0
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ebx, dword [esp + 0x10]
mov ecx, dword [esi + 0xb4]
xor edx, edx
sub ebx, edi
mov edi, dword [esp + 0x14]
sbb edi, edx
sub ebx, 0x298
sbb edi, ebp
xor eax, eax
cmp edi, eax
jl 0x406648
jg 0x4065de
cmp ebx, ecx
jb 0x406648
mov ebp, dword [esi]
push 0
push 0
push edi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x40660d
push 0x50ea0c
mov eax, 0x50ea0c
call fcn.004086c0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x1c]
mov esi, 0x298
mov edx, ebp
call fcn.00405260
test eax, eax
je 0x406603
mov eax, dword [esp + 0x20]
test eax, eax
je 0x40662e
mov dword [eax], ebx
mov dword [eax + 4], edi
mov eax, dword [esp + 0x24]
test eax, eax
je 0x406655
mov ecx, 1
mov word [eax], cx
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x406655
xor edx, edx
mov word [eax], dx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
Function at 0x406f00
Capabilities:
Get storage device properties

Disassembly:
sub esp, 0x1c
mov eax, dword [0x5382cc]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
push ebp
xor ebp, ebp
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
cmp eax, ebp
je 0x407040
cmp dword [esp + 0x28], ebp
je 0x407040
push ebx
push 0x2800
call fcn.004b53ff
mov ebx, eax
add esp, 4
cmp ebx, ebp
jne 0x406f63
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop ebx
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004b46ff
add esp, 0x1c
ret
push esi
push edi
xor edi, edi
jmp 0x406f70
push edi
push str..PhysicalDrive_d
mov ecx, 0x2800
call fcn.004050f0
add esp, 8
push ebp
push 0x80
push 3
push ebp
push 3
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x407016
xor eax, eax
push 0x2800
push ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call fcn.004b4620
add esp, 0xc
push ebp
lea eax, [esp + 0x18]
push eax
push 0x2800
push ebx
push 0xc
lea ecx, [esp + 0x30]
push ecx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x407009
mov eax, dword [ebx + 0x18]
cmp eax, ebp
jbe 0x407009
mov edx, dword [esp + 0x18]
add eax, ebx
push eax
mov eax, dword [esp + 0x38]
push edx
push str.DISKID:
call fcn.00406c90
add esp, 0xc
mov dword [esp + 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], ebp
jne 0x407020
inc edi
cmp edi, 0x10
jl 0x406f70
push ebx
call fcn.004b5322
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004b46ff
add esp, 0x1c
ret
mov ecx, dword [esp + 0x1c]
pop ebp
xor ecx, esp
or eax, 0xffffffff
call fcn.004b46ff
add esp, 0x1c
ret
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.004b53ff
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.004b5322
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.004b5322
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 0x4ea480
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 0x52b798
lea eax, [ebp - 0x18]
push eax
call fcn.004b47e8
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 0x52b798
lea edx, [ebp - 0x1c]
push edx
call fcn.004b47e8
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 0x50ebf8
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 0x4ea45b
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.004b4620
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 0x52b798
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.004b47e8
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 0x4eb368
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 0x52b98c
lea eax, [esp + 0x30]
push eax
call fcn.004b47e8
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.004b46ff
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.004b46ff
add esp, 0x634
ret
Function at 0x41fd70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4edee0
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.004b69d6
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.004ae180
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.004ae180
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.004b69d6
xor esi, esi
cmp edi, dword [esi + 0x18]
jne 0x41ff19
call fcn.004b69d6
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.004b6627
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.004ba7b9
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 0x4eaab8
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.004ae180
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.004b46ff
add esp, 0x34
ret 4
Function at 0x428bb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4eb838
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.004b5d21
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.004b5d21
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 0x4eb758
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.004ae180
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