joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41abf0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4918f1
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4bcad4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
push 0x20219
push str.SOFTWAREICafe8
push reloc.WS2_32.dll_bind
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 1
call fcn.0041c310
mov byte [ebp - 4], 2
cmp dword [ebp - 0x54], ebx
je 0x41acb1
lea eax, [ebp - 0x4c]
push eax
push str.CityId
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x4c], ebx
call fcn.0041d300
cmp eax, ebx
jne 0x41aca9
mov ecx, dword [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x48]
push 0x498b94
push edx
call fcn.00411ea0
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0040127b
cmp dword [ebp - 0x34], 0x10
mov byte [ebp - 4], 2
jb 0x41aca9
mov eax, dword [ebp - 0x48]
push eax
call fcn.004777ca
add esp, 4
lea ecx, [ebp - 0x54]
call fcn.0041d2d0
cmp dword [ebp - 0x1c], ebx
jne 0x41ace2
lea ecx, [ebp - 0x2c]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4c], esp
push 2
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push 0x499f74
mov byte [ecx], bl
call fcn.00401602
call fcn.0041a730
add esp, 0x20
lea edx, [ebp - 0x2c]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push edx
mov ecx, esi
mov byte [esi], bl
call fcn.0040127b
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x58], 1
mov byte [ebp - 4], 1
call fcn.0041d2d0
cmp dword [ebp - 0x18], 0x10
jb 0x41ad1e
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004777ca
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004751f1
mov esp, ebp
pop ebp
ret
Function at 0x41b350
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
xor ebx, ebx
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
cmp esi, edi
jne 0x41b372
lea ebx, [edi + 0x57]
jmp 0x41b418
push edi
lea eax, [ebp - 4]
push eax
push edi
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp + 8]
push edi
call fcn.00401f44
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
test eax, eax
jne 0x41b3a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x41b3a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x41b412
mov edx, dword [ebp - 8]
push edx
call fcn.00477e48
mov esi, eax
mov eax, dword [ebp + 0xc]
add esp, 4
mov dword [eax], esi
test esi, esi
je 0x41b3fd
mov ecx, dword [ebp - 4]
push ecx
call fcn.00477e48
mov edi, eax
add esp, 4
test edi, edi
je 0x41b3fd
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 4]
push eax
push edi
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp + 8]
push esi
call fcn.00401f44
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
test eax, eax
jne 0x41b402
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x41b402
mov ebx, 8
test edi, edi
je 0x41b40f
push edi
call fcn.00477a8f
add esp, 4
mov esi, dword [ebp + 0xc]
xor edi, edi
cmp ebx, edi
je 0x41b427
cmp dword [esi], edi
je 0x41b427
push esi
mov dword [esi], edi
call fcn.00477a8f
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41bf30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491a90
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4bcad4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x4bafc8]
xor ebx, ebx
cmp eax, 0xffffffff
je 0x41bfde
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x41bfde
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 0x48]
push edx
mov dword [ebp - 4], ebx
call fcn.00411ad0
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0040127b
cmp dword [ebp - 0x34], 0x10
mov byte [ebp - 4], bl
jb 0x41bfb9
mov eax, dword [ebp - 0x48]
push eax
call fcn.004777ca
add esp, 4
push esi
lea ecx, [ebp - 0x2c]
push ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.0041be10
add esp, 0x10
cmp dword [ebp - 0x18], 0x10
mov bl, al
jb 0x41bfde
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004777ca
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004751f1
mov esp, ebp
pop ebp
ret
Function at 0x41c360
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x4bcad4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
lea edx, [ebp - 0x808]
push edx
lea edx, [ebp - 0x404]
push edx
lea edx, [ebp - 0x80c]
push edx
push 0
push eax
mov eax, dword [ecx]
push eax
mov dword [ebp - 0x80c], 1
mov dword [ebp - 0x808], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x41c469
mov eax, dword [ebp - 0x80c]
cmp eax, 1
jne 0x41c3fc
lea eax, [ebp - 0x404]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c3d0
sub eax, edx
push eax
lea ecx, [ebp - 0x404]
push ecx
mov ecx, edi
call fcn.00401602
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004751f1
mov esp, ebp
pop ebp
ret 8
cmp eax, 2
jne 0x41c464
push 0x400
lea edx, [ebp - 0x804]
push edx
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov dword [ebp - 0x808], eax
test eax, eax
je 0x41c44d
cmp eax, 0x400
ja 0x41c44d
lea ecx, [ebp - 0x804]
push ecx
mov ecx, edi
call fcn.004050f5
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004751f1
mov esp, ebp
pop ebp
ret 8
pop edi
mov eax, 0xea
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004751f1
mov esp, ebp
pop ebp
ret 8
mov eax, 0x3f4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004751f1
mov esp, ebp
pop ebp
ret 8

Function at 0x41c6a0
Capabilities:
Enumerate device drivers on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490198
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4bcad4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
push ebx
push ebx
mov dword [ebp - 0x10], ebx
call sub.PSAPI.DLL_EnumDeviceDrivers
test eax, eax
je 0x41c742
mov edi, dword [ebp - 0x10]
shr edi, 2
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 4
mul edx
seto cl
push 0x4bf581
neg ecx
or ecx, eax
push ecx
call fcn.00479d17
mov esi, eax
add esp, 8
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x41c742
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x10]
push eax
push ecx
push esi
call sub.PSAPI.DLL_EnumDeviceDrivers
test eax, eax
je 0x41c739
cmp edi, ebx
jle 0x41c739
mov ebx, dword [ebp + 8]
push esi
mov ecx, ebx
call fcn.0041c630
add esi, 4
dec edi
jne 0x41c728
mov esi, dword [ebp - 0x14]
push esi
call fcn.004777ca
add esp, 4
mov al, 1
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 0x41cd50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp esi, edi
je 0x41ceac
cmp dword [ebp + 0xc], edi
je 0x41ceac
push esi
call fcn.0041cca0
add esp, 4
test eax, eax
je 0x41ceac
mov eax, dword [esi + 0x3c]
lea ecx, [eax + esi]
mov edx, 0x20b
cmp word [ecx + 0x18], dx
mov edx, dword [eax + esi + 0x50]
push ebx
movzx ebx, word [ecx + 6]
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x18], ecx
lea edx, [ebx + ebx*4]
jne 0x41cdb1
lea eax, [eax + edx*8 + 0x108]
jmp 0x41cdb8
lea eax, [eax + edx*8 + 0xf8]
movzx edx, word [ecx + 0x14]
mov dword [ebp - 0x14], eax
lea eax, [edx + ecx + 0x24]
cmp ebx, edi
jbe 0x41ce18
mov dword [ebp - 0x10], ebx
lea ebx, [ebx]
mov edx, dword [eax - 4]
mov ecx, dword [eax + 4]
mov edi, edx
cmp edx, ecx
ja 0x41cdde
mov edi, ecx
mov esi, dword [eax]
add edi, esi
cmp dword [ebp - 0xc], edi
ja 0x41cdf2
cmp edx, ecx
ja 0x41cded
mov edx, ecx
add esi, edx
mov dword [ebp - 0xc], esi
add ecx, dword [eax + 8]
cmp dword [ebp - 8], ecx
ja 0x41cdfd
mov dword [ebp - 8], ecx
add eax, 0x28
dec dword [ebp - 0x10]
jne 0x41cdd0
mov eax, dword [ebp - 8]
cmp dword [ebp + 0xc], eax
jb 0x41ce50
mov ecx, dword [ebp - 0xc]
cmp dword [ebp - 4], ecx
jb 0x41ce50
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 4]
push 0x40
push 0x3000
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
jne 0x41ce59
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 4]
push eax
push str.VirtualAlloc_failed__SizeOfImage:_x__LastError:_d
push str.UBASE::PeMapImage
push 2
call fcn.0041c000
add esp, 0x14
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
push ecx
push 0
push edi
call fcn.00477750
mov edx, dword [ebp - 0x14]
push edx
push esi
push edi
call fcn.00475200
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 0x14]
add esp, 0x18
lea eax, [ecx + eax + 0x18]
test ebx, ebx
je 0x41cea3
lea esi, [eax + 0x14]
mov eax, dword [esi]
mov edx, dword [esi - 4]
add eax, dword [ebp + 8]
mov ecx, dword [esi - 8]
push edx
push eax
add ecx, edi
push ecx
call fcn.00475200
add esp, 0xc
add esi, 0x28
dec ebx
jne 0x41ce85
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41d3d0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [edi], 0xffffffff
mov ebx, 0x10
mov dword [eax], 0
cmp dword [esi + 0x14], ebx
jb 0x41d3f9
mov eax, dword [esi]
jmp 0x41d3fb
mov eax, esi
push 0
push 0
push 3
push 0
push 1
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x41d440
cmp dword [esi + 0x14], ebx
jb 0x41d41f
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.CreateFileA__s_GENERIC_READ_failed__LastError:_d
push str.UBASE::MmMapFile
push 2
call fcn.0041c000
add esp, 0x14
jmp 0x41d4fd
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, dword [ebp + 0xc]
mov dword [edi], eax
test eax, eax
je 0x41d4d7
cmp eax, 0xffffffff
je 0x41d4d7
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push 0
push 0
push 0
push 2
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
test eax, eax
jne 0x41d49f
cmp dword [esi + 0x14], ebx
jb 0x41d481
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.CreateFileMapping__s_PAGE_READONLY_failed__LastError:_d
push str.UBASE::MmMapFile
push 2
call fcn.0041c000
add esp, 0x14
jmp 0x41d4fd
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
jne 0x41d51e
cmp dword [esi + 0x14], ebx
jb 0x41d4b9
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.MapViewOfFile__s_FILE_MAP_READ_failed__LastError:_d
push str.UBASE::MmMapFile
push 2
call fcn.0041c000
add esp, 0x14
jmp 0x41d4fd
cmp dword [esi + 0x14], ebx
jb 0x41d4de
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [edi]
push eax
push edx
push esi
push str.GetFileSize__s_failed__FileSize:_d_LastError:_d
push str.UBASE::MmMapFile
push 2
call fcn.0041c000
add esp, 0x18
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x41d50f
push eax
call esi
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x41d51c
push eax
call esi
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x42b800
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493051
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x4bcad4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x258], edi
mov dword [ebp - 0x254], edi
mov dword [ebp - 0x250], edi
lea eax, [ebp - 0x258]
push eax
mov dword [ebp - 4], edi
call fcn.00412c30
add esp, 4
test al, al
jne 0x42b889
mov eax, dword [ebp - 0x258]
cmp eax, edi
je 0x42b86b
push eax
call fcn.004777ca
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004751f1
mov esp, ebp
pop ebp
ret
push 0x2c
mov dword [ebp - 0x240], edi
call fcn.00477826
add esp, 4
cmp eax, edi
je 0x42b9ef
mov dword [ebp - 0x244], eax
mov dword [eax], eax
mov eax, dword [ebp - 0x244]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x244]
mov dword [eax + 8], eax
mov ecx, dword [ebp - 0x244]
mov ebx, 1
mov byte [ecx + 0x28], bl
mov edx, dword [ebp - 0x244]
mov byte [edx + 0x29], bl
mov ecx, dword [ebp - 0x254]
mov eax, dword [ebp - 0x258]
sub ecx, eax
sar ecx, 2
mov byte [ebp - 4], bl
test ecx, ecx
je 0x42b97a
mov edi, edi
mov edx, dword [eax + edi*4]
push edx
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x42b95f
lea eax, [ebp - 0x234]
push eax
push esi
mov dword [ebp - 0x234], 0x224
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x42b958
lea ecx, [ecx]
push 0
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x248]
call fcn.0042b080
push eax
lea edx, [ebp - 0x260]
push edx
lea ecx, [ebp - 0x248]
call fcn.00406b87
lea eax, [ebp - 0x234]
push eax
push esi
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x42b920
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x254]
mov eax, dword [ebp - 0x258]
sub ecx, eax
add edi, ebx
sar ecx, 2
cmp edi, ecx
jb 0x42b8f0
mov edx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x244]
mov esi, dword [ebp + 8]
mov ecx, dword [eax]
push edx
push esi
push eax
push ecx
lea eax, [ebp - 0x25c]
push eax
call fcn.0042b770
mov ecx, dword [esi]
add esp, 0x14
cmp ecx, dword [esi + 4]
setne bl
mov eax, dword [ebp - 0x244]
mov ecx, dword [eax]
push eax
push ecx
lea edx, [ebp - 0x25c]
push edx
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 2
call fcn.004065ac
mov eax, dword [ebp - 0x244]
push eax
call fcn.004777ca
mov eax, dword [ebp - 0x258]
add esp, 4
test eax, eax
je 0x42b9e8
push eax
call fcn.004777ca
add esp, 4
mov al, bl
jmp 0x42b86d
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x238], edi
call fcn.004755fa
push 0x4b68e8
lea edx, [ebp - 0x26c]
push edx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.004783d3
int3
Function at 0x42d2a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4932e8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4bcad4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.0047567f
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
xor ebx, ebx
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push ebx
add edi, 0x14
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edi
mov dword [ebp - 4], ebx
mov byte [ecx], bl
call fcn.00401332
mov dword [esi + 0x30], vtable.boost::exception.0
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 0xffffffff
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.1.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.0
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 4

Function at 0x42d520
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4933c0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4bcad4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.0047567f
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push 0
lea edx, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
mov dword [ebp - 4], 0
mov byte [ecx], 0
call fcn.00401332
mov dword [esi + 0x30], vtable.boost::exception.0
mov ecx, dword [edi + 0x34]
mov dword [ebp - 4], 1
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x42d5ac
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.1.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x42d750
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4932e8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4bcad4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.0047567f
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
xor ebx, ebx
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push ebx
add edi, 0x14
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edi
mov dword [ebp - 4], ebx
mov byte [ecx], bl
call fcn.00401332
mov dword [esi + 0x30], vtable.boost::exception.0
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 0xffffffff
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.1.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.0
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 4

Function at 0x42da40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4933c0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4bcad4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.0047567f
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push 0
lea edx, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
mov dword [ebp - 4], 0
mov byte [ecx], 0
call fcn.00401332
mov dword [esi], vtable.boost::thread_resource_error.0
mov dword [esi + 0x30], vtable.boost::exception.0
mov ecx, dword [edi + 0x34]
mov dword [ebp - 4], 1
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x42dad2
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.1.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x42e9a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4bf22c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, dword [ebp + 8]
test eax, eax
je 0x42e9dc
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x42e9dc
mov eax, dword [ecx]
test eax, eax
je 0x42e9dc
mov dword [ecx], 0
mov cl, byte [eax]
movzx edx, cl
cmp edx, ebx
jae 0x42e9fb
push eax
call fcn.004777ca
add esp, 4
lea eax, [ebx + 1]
push eax
call fcn.00477826
add esp, 4
cmp ebx, 0xff
ja 0x42e9f9
movzx ecx, bl
mov byte [eax + ebx], cl
pop ebx
pop ebp
ret
xor ecx, ecx
mov byte [eax + ebx], cl
pop ebx
pop ebp
ret

Function at 0x42ea10
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4bf22c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42ea28
mov eax, dword [eax + 4]
jmp 0x42ea2a
xor eax, eax
push esi
mov esi, dword [ebp + 0xc]
cmp esi, 0xff
ja 0x42ea4c
test eax, eax
je 0x42ea4c
cmp dword [eax], 0
jne 0x42ea4c
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + esi]
mov byte [ecx], dl
mov dword [eax], ecx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
push eax
call fcn.004777ca
add esp, 4
pop esi
pop ebp
ret
Function at 0x4300f0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
pop ebp
jmp fcn.0042fae0

Function at 0x430100
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493991
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x4bcad4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [ebp - 0xb8], esi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edi
mov dword [esi], vtable.boost::asio::detail::win_iocp_io_service.0
mov dword [ebp - 4], edi
mov dword [esi + 0x14], edi
push 0x9c
lea ecx, [ebp - 0xac]
push edi
push ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
call fcn.00477750
add esp, 0xc
push 3
push 2
push edi
push edi
mov dword [ebp - 0xac], 0x9c
mov dword [ebp - 0xa8], 6
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
push 2
lea edx, [ebp - 0xac]
push edx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
neg eax
sbb eax, eax
and eax, 0xfffffe0b
add eax, 0x1f4
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 3
mov dword [esi + 0x34], edi
call fcn.0042e540
mov ebx, eax
call fcn.00437180
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb0], eax
cmp ebx, edi
je 0x4301f3
push str.mutex
lea eax, [ebp - 0xb4]
push eax
call fcn.0042e120
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 5
cmp eax, 0xffffffff
jb 0x43020b
or eax, 0xffffffff
push eax
push edi
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [esi + 0x14], eax
cmp eax, edi
jne 0x43024b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0xb4], ebx
call fcn.00437180
mov dword [ebp - 0xb0], eax
cmp ebx, edi
je 0x43024b
push str.iocp
lea ecx, [ebp - 0xb4]
push ecx
call fcn.0042e120
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004751f1
mov esp, ebp
pop ebp
ret 8