joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421430
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7ba8
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x55a3d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x238], ebx
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ebx
mov dword [ebp - 0x23c], edi
mov word [edi], ax
push 0x206
lea edx, [ebp - 0x216]
mov dword [ebp - 4], ebx
xor ecx, ecx
push ebx
push edx
mov dword [ebp - 0x238], 1
mov word [ebp - 0x218], cx
call fcn.004b9c30
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push 0x23
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
cmp esi, ebx
jl 0x4214e9
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4214c6
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
mov ecx, edi
call fcn.00411fc0
jmp 0x42157e
lea edx, [ebp - 0x2d8]
push edx
call fcn.00403200
lea eax, [ebp - 0x2d8]
push str.SHGetFolderPath___returned_error_code:
push eax
mov dword [ebp - 4], 1
call fcn.00404d50
add esp, 8
push esi
lea ecx, [ebp - 0x2d8]
push ecx
call fcn.0041b300
lea esi, [ebp - 0x234]
lea eax, [ebp - 0x2d8]
call fcn.00402e30
mov edx, esi
push edx
push 1
mov byte [ebp - 4], 2
call fcn.00423a40
add esp, 8
cmp dword [ebp - 0x220], 8
jb 0x421557
mov eax, dword [ebp - 0x234]
push eax
call fcn.004b5907
add esp, 4
xor ecx, ecx
mov word [ebp - 0x234], cx
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov byte [ebp - 4], bl
call fcn.00401690
mov eax, edi
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.004b58f8
mov esp, ebp
pop ebp
ret
Function at 0x4238b0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f74d8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x55a3d0]
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]
xor ebx, ebx
mov dword [ebp - 0x34], ecx
cmp ecx, ebx
je 0x423a14
cmp dword [eax + 0x10], ebx
setne cl
test cl, cl
jne 0x423929
push 0xf
xor eax, eax
push str.Incorrect_state
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.004125c0
push 0xa7
mov ecx, str.srcNSLogWrapper.cpp
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.00429bf0
cmp dword [eax + 0x14], 8
jb 0x423931
mov eax, dword [eax]
push ebx
push 0x80
push 4
push ebx
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x42399c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, ebx
je 0x423976
push ebx
cmp edi, 0x400000
jb 0x423982
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x423a14
push edi
push ebx
push 4
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x30], eax
cmp eax, ebx
jne 0x4239a4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x423a16
push edi
push ebx
push ebx
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
jne 0x4239d0
mov ecx, dword [ebp - 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
push esi
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x423a16
mov eax, dword [ebp - 0x34]
lea ecx, [eax + ebx]
cmp edi, eax
jbe 0x423a32
sub edi, eax
test edi, edi
je 0x4239eb
push edi
push ecx
push ebx
call fcn.004b5c40
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edx, dword [ebp - 0x30]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call ebx
push 0
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call ebx
xor eax, eax
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.004b58f8
mov esp, ebp
pop ebp
ret
xor edi, edi
jmp 0x4239eb
Function at 0x423a40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7a01
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x55a3d0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [0x564e40]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
cmp eax, ebx
je 0x423c44
mov ecx, dword [eax + 0x1c]
cmp dword [ebp + 8], ecx
jg 0x423c44
cmp byte [eax + 0x20], bl
je 0x423c44
mov dword [ebp - 4], ebx
mov eax, dword [0x564e3c]
cmp eax, ebx
je 0x423c44
mov dword [ebp - 0x100], eax
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 1
mov edx, dword [0x564e40]
lea esi, [ebp - 0x30]
call fcn.0041f860
mov byte [ebp - 4], 2
cmp dword [ebp - 0x20], ebx
setne al
cmp al, bl
jne 0x423b0c
xor ecx, ecx
push 0xf
mov word [ebp - 0x4c], cx
push str.Incorrect_state
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], ebx
call fcn.004125c0
push 0x116
mov ecx, str.srcNSLogWrapper.cpp
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.00429bf0
mov eax, dword [ebp - 0x30]
mov esi, 8
cmp dword [ebp - 0x1c], esi
jae 0x423b1c
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x423c14
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], esi
jae 0x423b37
lea eax, [ebp - 0x30]
lea edx, [ebp - 0x70]
push edx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
jne 0x423b4f
mov dword [ebp - 0x108], ebx
jmp 0x423b61
mov eax, dword [ebp - 0x50]
xor ecx, ecx
xor esi, esi
add eax, ecx
adc esi, dword [ebp - 0x54]
mov dword [ebp - 0x108], esi
mov ecx, dword [edi + 0x10]
lea eax, [eax + ecx + 0x18]
cmp eax, 0x200000
jbe 0x423c14
lea ecx, [eax - 0x1ffc00]
lea eax, [ebp - 0x30]
push eax
call fcn.004238b0
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x423c14
lea ecx, [ebp - 0x1a4]
push ecx
call fcn.00403200
lea edx, [ebp - 0x1a4]
push 0x513474
push edx
mov byte [ebp - 4], 4
call fcn.00404d50
add esp, 8
push esi
lea eax, [ebp - 0x1a4]
push eax
call fcn.004024b0
lea esi, [ebp - 0x4c]
lea eax, [ebp - 0x1a4]
call fcn.00402e30
mov ecx, esi
push ecx
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.00411e40
mov ecx, esi
call fcn.00412770
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 8
call fcn.00401690
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0xfc]
push eax
call fcn.0046b7a6
push 0x52e1c8
lea ecx, [ebp - 0xfc]
push ecx
call fcn.004b9b55
cmp dword [edi + 0x14], 8
jb 0x423c1e
mov eax, dword [edi]
jmp 0x423c20
mov eax, edi
mov edx, dword [ebp + 8]
push eax
push edx
call fcn.0046c168
add esp, 8
lea ecx, [ebp - 0x30]
call fcn.00412770
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b58f8
mov esp, ebp
pop ebp
ret
Function at 0x4258d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f55eb
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x55a3d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 4]
push 0x427040
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0x14], 0x55dfb0
mov dword [ebp - 0x10], 0
call fcn.00428910
mov dword [ebx], eax
lea esi, [ebx + 4]
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x1c], 2
mov byte [esi + 0x20], al
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x24], 2
mov dword [esi + 0x28], eax
mov dword [ebp - 4], eax
mov edx, dword [ebx]
add edx, 0x14
push edx
call fcn.00428c00
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x426370
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
call fcn.004a2200
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
cmp esi, 0xffffffff
jne 0x42638f
mov esi, 0x2719
jmp 0x4263c6
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov ecx, dword [ebp + 0xc]
push 4
push ecx
push 4
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esi, eax
call fcn.004a2200
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edi
test esi, esi
jne 0x4263d3
call fcn.004a2200
mov ecx, esi
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x4263e5
lea edx, [ebp - 8]
push edx
mov ecx, str.set_option
call fcn.004129f0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x428220
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [esi], 0x40
push ebx
mov ebx, dword [ebp + 0x18]
push edi
jne 0x42823f
mov edi, 0x2745
call fcn.004a2200
mov dword [esi], edi
mov dword [esi + 4], eax
xor eax, eax
cmp dword [esi], eax
jne 0x42830e
cmp dword [ebp + 0x14], eax
je 0x4282ab
cmp ebx, eax
je 0x4282ab
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 8]
push edx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x10]
push edx
push ecx
push ecx
push eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.MSWSOCK.dll_GetAcceptExSockaddrs]
mov edi, dword [ebp - 4]
cmp edi, dword [ebx]
jbe 0x428296
mov edi, 0x2726
call fcn.004a2200
mov dword [esi], edi
mov dword [esi + 4], eax
jmp 0x4282a9
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
push edi
push ecx
push edx
call fcn.004b9410
add esp, 0xc
mov dword [ebx], edi
xor eax, eax
mov edi, dword [ebp + 0x1c]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
cmp edi, 0xffffffff
jne 0x4282ce
mov edi, 0x2719
call fcn.004a2200
mov dword [esi + 4], eax
mov dword [esi], edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 4
lea edx, [ebp - 0x14]
push edx
push 0x700b
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
call fcn.004a2200
mov ebx, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi], eax
mov dword [esi + 4], ebx
test edi, edi
jne 0x42830e
call fcn.004a2200
mov dword [esi + 4], eax
mov dword [esi], edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428890
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x56524c]
push ebx
mov ebx, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4288cc
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4288cc
mov eax, dword [ecx]
test eax, eax
je 0x4288cc
mov dword [ecx], 0
mov cl, byte [eax]
movzx edx, cl
cmp edx, ebx
jae 0x4288eb
push eax
call fcn.004b5907
add esp, 4
lea eax, [ebx + 1]
push eax
call fcn.004b5bb8
add esp, 4
cmp ebx, 0xff
ja 0x4288e9
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 0x429330
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
push 1
push ecx
push edx
mov dword [ebp - 4], 0
call dword [sym.imp.WS2_32.dll_WSASend]
mov ebx, eax
call fcn.004a2200
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi], eax
mov dword [esi + 4], edi
cmp eax, 0x40
jne 0x429381
mov edi, 0x2746
jmp 0x42938d
cmp eax, 0x4d2
jne 0x429397
mov edi, 0x274d
call fcn.004a2200
mov dword [esi + 4], eax
mov dword [esi], edi
test ebx, ebx
je 0x4293a4
or eax, 0xffffffff
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
xor edi, edi
call fcn.004a2200
mov dword [esi], edi
pop edi
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429510
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push ebx
push edi
mov edi, eax
xor ebx, ebx
cmp edi, 0xffffffff
je 0x429610
cmp byte [ebp + 0xc], bl
je 0x429579
mov ebx, dword [ebp + 8]
test byte [ebx], 8
je 0x429579
xor eax, eax
mov dword [esp + 0xc], eax
call fcn.004a2200
or byte [ebx], 8
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 4
lea edx, [esp + 0x10]
push edx
push 0x80
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov ebx, eax
call fcn.004a2200
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test ebx, ebx
jne 0x429579
call fcn.004a2200
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ebx, eax
call fcn.004a2200
mov dword [esp + 0xc], eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 4], eax
test ebx, ebx
je 0x429610
call fcn.004a2200
cmp dword [esi + 4], eax
jne 0x4295b8
cmp dword [esi], 0x2733
je 0x4295ca
call fcn.004a2200
cmp dword [esi + 4], eax
jne 0x42960c
cmp dword [esi], 0x4d5
jne 0x42960c
lea ecx, [esp + 0xc]
push ecx
push 0x8004667e
push edi
mov dword [esp + 0x18], 0
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [ebp + 8]
and byte [eax], 0xfc
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ebx, eax
call fcn.004a2200
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi], eax
mov dword [esi + 4], edi
test ebx, ebx
jne 0x42961c
xor edi, edi
call fcn.004a2200
mov dword [esi], edi
mov dword [esi + 4], eax
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4297b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
push 0
push 0
push 1
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
mov dword [esi + 4], edi
test edi, edi
jne 0x429807
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov dword [esp + 0x10], ebx
call fcn.004a2200
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x429807
lea eax, [esp + 0x10]
push eax
mov ecx, str.thread.entry_event
call fcn.004129f0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, dword [ebp + 8]
mov dword [ebx + 8], eax
mov dword [esi + 8], eax
cmp dword [ebx + 8], 0
jne 0x429859
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi]
mov ebx, eax
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov dword [esp + 0x10], ebx
call fcn.004a2200
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x429856
lea ecx, [esp + 0x10]
push ecx
mov ecx, str.thread.exit_event
call fcn.004129f0
mov ebx, dword [ebp + 8]
lea edx, [esp + 0xc]
push edx
push 0
push esi
push 0x429730
push 0
push 0
mov dword [esp + 0x24], 0
call fcn.004b8545
add esp, 0x18
mov dword [ebx + 4], eax
test eax, eax
jne 0x4298d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
test edi, edi
je 0x4298a0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x4298ae
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x10], esi
call fcn.004a2200
mov dword [esp + 0x14], eax
test esi, esi
je 0x4298d2
lea eax, [esp + 0x10]
push eax
mov ecx, str.thread
call fcn.004129f0
test edi, edi
je 0x4298e6
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x429fb0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7320
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x55a3d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push ebx
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
jne 0x42a010
mov eax, esi
call fcn.00429cd0
xor esi, esi
call fcn.004a2200
mov dword [edi + 4], eax
mov dword [edi], esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov edx, dword [0x56524c]
lea ecx, [ebp - 0x10]
push edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x56524c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push edi
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00429d60
test eax, eax
je 0x42a062
cmp ebx, 0xffffffff
je 0x42a056
inc ebx
push edi
mov ecx, esi
call fcn.00429d60
test eax, eax
jne 0x42a050
mov edx, dword [ebp - 0x14]
mov eax, dword [0x56524c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x42a082
push eax
call fcn.004b5907
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42a290
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push 0xffffffffffffffff
push 0
lea edx, [ebp - 8]
push edx
push 2
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x564ed4
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push 0
test eax, eax
je 0x42a2dd
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 4]
push edx
push method.boost::serialization::typeid_system::extended_type_info_typeid_arg.virtual_16
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov eax, dword [esi + 4]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esp, ebp
pop ebp
ret
Function at 0x42a5d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5a1f
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x55a3d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edi
mov dword [ebp - 4], edi
mov dword [esi], vtable.boost::asio::detail::win_iocp_io_service.0
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
lea eax, [esi + 0x34]
mov byte [ebp - 4], 3
push eax
mov dword [esi + 0x30], edi
call fcn.0042a4f0
mov ebx, eax
call fcn.004a2200
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
cmp ebx, edi
je 0x42a659
lea ecx, [ebp - 0x18]
push ecx
mov ecx, str.mutex
call fcn.004129f0
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
or ecx, 0xffffffff
mov byte [ebp - 4], 5
mov dword [ebp + 0xc], ecx
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x10], ecx
ja 0x42a677
lea eax, [ebp + 0x10]
mov edx, dword [eax]
push edx
push edi
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [esi + 0x14], eax
cmp eax, edi
jne 0x42a6af
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x18], ebx
call fcn.004a2200
mov dword [ebp - 0x14], eax
cmp ebx, edi
je 0x42a6af
lea eax, [ebp - 0x18]
push eax
mov ecx, str.iocp
call fcn.004129f0
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 0xc

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1183
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x55a3d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
lea ecx, [esi + 4]
mov dword [esi], vtable.NetworkService::FunctionCallRequest.0
call fcn.00481000
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
push eax
mov ecx, esi
mov dword [esi + 0x38], edi
call fcn.0046c770
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 8
Function at 0x42a970
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4dd9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x55a3d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov byte [esi + 0x28], bl
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [ebp - 4], 3
push 0x3c
mov dword [esi + 0x44], ebx
call fcn.004b5bb8
add esp, 4
cmp eax, ebx
je 0x42aa0b
mov dword [esi + 0x40], eax
mov dword [eax], eax
mov eax, dword [esi + 0x40]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x40]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0x40]
mov al, 1
mov byte [ecx + 0x38], al
mov edx, dword [esi + 0x40]
mov byte [edx + 0x39], al
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.004b59ab
push 0x52daf4
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.004b9b55
int3