joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428a8d
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x469b7c
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4947b8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
xor edi, edi
mov ecx, dword [eax + 4]
add ecx, esi
push edi
mov edx, dword [ecx + 0xc]
and edx, 0xfffffffe
mov eax, edx
or eax, 4
cmp dword [ecx + 0x38], edi
cmove edx, eax
push edx
call fcn.004017ca
push 1
push esi
lea ecx, [esp + 0x14]
call fcn.004250d3
mov dword [esp + 0x38], edi
mov eax, dword [esi]
mov ecx, dword [eax + 4]
test byte [ecx + esi + 0xc], 6
jne 0x428b4b
mov ecx, dword [ecx + esi + 0x38]
push 1
push dword [ebp + 0x10]
mov eax, dword [ecx]
push edi
push edi
lea edx, [esp + 0x24]
push edx
call dword [eax + 0x28]
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
adc ecx, dword [esp + 0x20]
cmp eax, dword [0x46f7c0]
jne 0x428b4b
cmp ecx, dword [0x46f7c4]
jne 0x428b4b
mov eax, dword [esi]
push edi
mov ecx, dword [eax + 4]
add ecx, esi
mov edx, dword [ecx + 0xc]
or edx, 2
mov eax, edx
or eax, 4
cmp dword [ecx + 0x38], edi
cmove edx, eax
push edx
call fcn.004017ca
or dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov ecx, dword [eax + ecx + 0x38]
test ecx, ecx
je 0x428b66
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42923c
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x28a0
call fcn.0045b5d0
mov eax, dword [0x4947b8]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x28a0], 0
push esi
push edi
lea eax, [ebp - 0x289c]
push eax
lea eax, [ebp - 0x2888]
push eax
mov esi, ecx
mov dword [ebp - 0x289c], 0x2880
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea ecx, [ebp - 0x2888]
mov eax, dword [ecx + 0x1a0]
cmp eax, 6
je 0x4292cc
cmp eax, 0x47
je 0x4292cc
mov ecx, dword [ecx]
test ecx, ecx
jne 0x429282
and dword [ebp - 0x2898], ecx
xor eax, eax
lea edi, [ebp - 0x2894]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2898]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
push dword [ebp - 0x2898]
push str._08X
push esi
call fcn.004299b0
add esp, 0xc
jmp 0x42931a
movzx eax, byte [ecx + 0x19b]
push eax
movzx eax, byte [ecx + 0x19a]
push eax
movzx eax, byte [ecx + 0x199]
push eax
movzx eax, byte [ecx + 0x198]
push eax
movzx eax, byte [ecx + 0x197]
push eax
movzx eax, byte [ecx + 0x196]
push eax
movzx eax, byte [ecx + 0x195]
push eax
movzx eax, byte [ecx + 0x194]
push eax
push str._02x_02x_02x_02x_02x_02x_02x_02x
push esi
call fcn.004299b0
add esp, 0x28
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004492e4
leave
ret
Function at 0x42a62f
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x4947b8]
xor eax, esp
mov dword [esp + 0x194], eax
push 0x49f280
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x42a671
lea eax, [esp]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
push 0x49f284
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.004492e4
mov esp, ebp
pop ebp
ret

Function at 0x42a821
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
push 0xffffffffffffffff
mov dword [ebp - 4], eax
xor edi, edi
push edi
lea eax, [ebp - 8]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 0x49f1a8
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push edi
push dword [esi + 4]
test eax, eax
je 0x42a86c
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x42a882
push method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_56
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
pop esi
leave
ret
Function at 0x42a886
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
xor eax, eax
push eax
push eax
push 1
mov esi, ecx
push eax
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, dword [ebp + 8]
mov edi, eax
mov dword [ebx + 4], edi
test edi, edi
jne 0x42a8e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
push 1
mov ecx, ebx
mov esi, eax
call dword [edx]
mov dword [esp + 0x18], esi
call fcn.00412d79
mov edx, str.thread.entry_event
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], eax
call fcn.0042a547
mov esi, dword [esp + 0x10]
xor eax, eax
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 8], eax
xor ecx, ecx
mov dword [ebx + 8], eax
cmp dword [esi + 8], ecx
jne 0x42a92b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
push 1
mov ecx, ebx
mov esi, eax
call dword [edx]
mov dword [esp + 0x18], esi
call fcn.00412d79
mov edx, str.thread.exit_event
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], eax
call fcn.0042a547
mov esi, dword [esp + 0x10]
xor ecx, ecx
lea eax, [esp + 0x14]
push eax
push ecx
push ebx
push 0x42a9b2
push ecx
push ecx
mov dword [esp + 0x2c], ecx
call fcn.0044ca24
add esp, 0x18
mov dword [esi + 4], eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x42a999
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
push 1
mov ecx, ebx
mov dword [esp + 0x1c], eax
call dword [edx]
test edi, edi
je 0x42a96b
push edi
call esi
mov eax, dword [esp + 0x10]
cmp dword [eax + 8], 0
je 0x42a97a
push dword [eax + 8]
call esi
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
call fcn.00412d79
mov edx, str.thread
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], eax
call fcn.0042a547
test edi, edi
je 0x42a9a9
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42b242
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ebx, ecx
mov eax, edx
xor edi, edi
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
je 0x42b307
cmp byte [ebp + 8], 0
je 0x42b28d
test byte [eax], 8
je 0x42b28d
xor eax, eax
mov dword [ebp - 4], eax
call fcn.00412d79
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x10]
push eax
push ecx
lea eax, [ebp - 4]
push eax
push ecx
push ecx
mov ecx, ebx
call fcn.0042b6c2
add esp, 0x14
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, esi
mov ecx, eax
call fcn.00431ee2
mov edi, eax
test edi, edi
je 0x42b307
call fcn.00412d79
cmp dword [esi + 4], eax
jne 0x42b2bd
cmp dword [esi], 0x2733
je 0x42b2cf
call fcn.00412d79
cmp dword [esi + 4], eax
jne 0x42b303
cmp dword [esi], 0x4d5
jne 0x42b303
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x8004667e
push ebx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [ebp - 8]
push 0
and byte [eax], 0xfc
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, esi
mov ecx, eax
call fcn.00431ee2
mov edi, eax
test edi, edi
jne 0x42b312
call fcn.00412d79
and dword [esi], 0
mov dword [esi + 4], eax
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42b319
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, ecx
mov esi, edx
cmp edi, 0xffffffff
jne 0x42b33a
call fcn.00412d79
mov esi, dword [ebp + 0xc]
mov dword [esi], 0x2719
jmp 0x42b365
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push dword [ebp + 8]
push esi
push edi
call dword [sym.imp.WS2_32.dll_connect]
mov esi, dword [ebp + 0xc]
mov edx, esi
mov ecx, eax
call fcn.00431ee2
test eax, eax
jne 0x42b368
call fcn.00412d79
and dword [esi], 0
mov dword [esi + 4], eax
call fcn.00412d79
lea edx, [ebp - 0xc]
mov ecx, esi
mov dword [ebp - 0xc], 0x2734
mov dword [ebp - 8], eax
call fcn.0042a52a
test al, al
je 0x42b3a2
call fcn.00412d79
lea edx, [ebp - 0xc]
mov ecx, esi
mov dword [ebp - 0xc], 0x2733
mov dword [ebp - 8], eax
call fcn.0042a52a
test al, al
jne 0x42b3e1
mov edx, esi
mov ecx, edi
call fcn.0042b8c5
test eax, eax
js 0x42b3e1
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ecx
push ecx
mov ecx, edi
mov dword [ebp - 8], 4
call fcn.0042b726
add esp, 0x14
cmp eax, 0xffffffff
je 0x42b3e1
call fcn.00412d79
mov ecx, dword [ebp - 4]
mov dword [esi], ecx
mov dword [esi + 4], eax
pop edi
pop esi
leave
ret
Function at 0x42b3e5
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
mov bl, dl
cmp edi, 0xffffffff
jne 0x42b40d
call fcn.00412d79
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 0x2719
mov dword [ecx + 4], eax
jmp 0x42b50a
cmp byte [ebp + 0x14], 0
je 0x42b425
test bl, 0x10
je 0x42b425
call fcn.00412d79
mov ecx, dword [ebp + 0x18]
and dword [ecx], 0
jmp 0x42b405
mov esi, dword [ebp + 0x18]
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
xor eax, eax
push eax
push eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
call dword [sym.imp.WS2_32.dll_WSARecv]
mov edx, esi
mov ecx, eax
call fcn.00431ee2
cmp dword [esi], 0x40
mov dword [ebp - 8], eax
jne 0x42b46d
call fcn.00412d79
mov dword [esi], 0x2746
jmp 0x42b480
cmp dword [esi], 0x4d2
jne 0x42b486
call fcn.00412d79
mov dword [esi], 0x274d
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x42b48f
or eax, 0xffffffff
jmp 0x42b4a1
call fcn.00412d79
and dword [esi], 0
mov dword [esi + 4], eax
mov eax, dword [ebp - 0xc]
test eax, eax
jg 0x42b50c
test bl, 0x10
je 0x42b4aa
test eax, eax
je 0x42b4fc
test bl, 1
jne 0x42b50a
call fcn.00412d79
lea edx, [ebp - 0x18]
mov ecx, esi
mov dword [ebp - 0x18], 0x2733
mov dword [ebp - 0x14], eax
call fcn.0042a52a
test al, al
je 0x42b4e9
call fcn.00412d79
lea edx, [ebp - 0x20]
mov ecx, esi
mov dword [ebp - 0x20], 0x4d5
mov dword [ebp - 0x1c], eax
call fcn.0042a52a
test al, al
jne 0x42b50a
push esi
mov ecx, edi
call fcn.0042b797
pop ecx
test eax, eax
jns 0x42b428
jmp 0x42b50a
call fcn.0042a5cd
mov dword [esi], 2
mov dword [esi + 4], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42b797
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4947b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp edi, 0xffffffff
jne 0x42b7c9
call fcn.00412d79
mov dword [esi + 4], eax
mov dword [esi], 0x2719
or eax, edi
jmp 0x42b81f
xor ebx, ebx
push ebx
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x110], 1
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x114], ebx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x110]
push eax
lea eax, [edi + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
mov edx, esi
mov ecx, eax
call fcn.00431ee2
mov edi, eax
test edi, edi
je 0x42b813
jle 0x42b81d
call fcn.00412d79
mov dword [esi + 4], eax
mov dword [esi], ebx
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004492e4
leave
ret
Function at 0x42b82e
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4947b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp edi, 0xffffffff
jne 0x42b860
call fcn.00412d79
mov dword [esi + 4], eax
mov dword [esi], 0x2719
or eax, edi
jmp 0x42b8b6
xor ebx, ebx
push ebx
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x110], 1
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x114], ebx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push ebx
push ebx
lea eax, [ebp - 0x110]
push eax
push ebx
lea eax, [edi + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
mov edx, esi
mov ecx, eax
call fcn.00431ee2
mov edi, eax
test edi, edi
je 0x42b8aa
jle 0x42b8b4
call fcn.00412d79
mov dword [esi + 4], eax
mov dword [esi], ebx
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004492e4
leave
ret

Function at 0x42b8c5
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4947b8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov esi, edx
cmp edi, 0xffffffff
jne 0x42b8f5
call fcn.00412d79
mov dword [esi + 4], eax
mov dword [esi], 0x2719
or eax, edi
jmp 0x42b950
push ebx
xor eax, eax
inc eax
xor ebx, ebx
push ebx
mov dword [ebp - 0x208], edi
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x104], edi
mov dword [ebp - 0x108], eax
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push ebx
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
lea eax, [edi + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
mov edx, esi
mov ecx, eax
call fcn.00431ee2
mov edi, eax
test edi, edi
js 0x42b94d
call fcn.00412d79
mov dword [esi], ebx
mov dword [esi + 4], eax
mov eax, edi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004492e4
leave
ret
Function at 0x43066f
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46c22e
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4947b8]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x4947b8]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], eax
xor esi, esi
lea eax, [esp + 0x68]
mov dword [esp + 0x10], esi
push eax
mov ecx, ebx
mov dword [esp + 0x18], esi
call fcn.004312c1
mov edi, eax
lea eax, [esp + 0x38]
push eax
mov ecx, ebx
mov dword [esp + 0xac], esi
call fcn.004312a6
cmp dword [edi + 0x14], 0x10
mov esi, eax
jb 0x4306f5
mov edi, dword [edi]
cmp dword [esi + 0x14], 0x10
jb 0x4306fd
mov esi, dword [esi]
test esi, esi
je 0x430706
cmp byte [esi], 0
jne 0x430708
xor esi, esi
test edi, edi
je 0x430711
cmp byte [edi], 0
jne 0x430713
xor edi, edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
lea eax, [esp + 0x14]
push eax
push ebx
push edi
push esi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov edx, eax
lea ecx, [esp + 0x1c]
call fcn.0042b95e
mov edi, dword [esp + 0x18]
mov ecx, eax
mov eax, dword [ecx]
mov dword [edi], eax
mov eax, dword [ecx + 4]
lea ecx, [esp + 0x38]
mov dword [edi + 4], eax
call fcn.00407e25
lea ecx, [esp + 0x68]
call fcn.00407e25
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], esi
xor ecx, ecx
inc ecx
xor eax, eax
mov dword [esp + 0xa8], ecx
cmp dword [edi], eax
je 0x43078a
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
mov byte [esp + 0xa8], 2
mov ebx, ecx
jmp 0x4307e1
lea eax, [esp + 0x80]
push eax
mov ecx, ebx
call fcn.004312c1
mov edi, eax
lea eax, [esp + 0x50]
mov dword [esp + 0xa8], 3
push eax
mov ecx, ebx
mov dword [esp + 0x14], 2
call fcn.004312a6
mov dword [esp + 0xa8], 4
mov edx, dword [esp + 0x14]
push edi
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], 6
call fcn.004312dc
pop ecx
pop ecx
push 0xe
pop ebx
mov edi, dword [esp + 0x28]
push eax
mov ecx, edi
call fcn.0042f6f2
or ebx, 0x10
test bl, 8
je 0x430809
mov ecx, dword [esp + 0x30]
and ebx, 0xfffffff7
mov dword [esp + 0x10], ebx
test ecx, ecx
je 0x430809
call fcn.0042a4de
test bl, 4
je 0x43081a
lea ecx, [esp + 0x50]
and ebx, 0xfffffffb
call fcn.00407e25
test bl, 2
je 0x43082e
lea ecx, [esp + 0x80]
and ebx, 0xfffffffd
call fcn.00407e25
mov dword [esp + 0xa8], 1
test bl, 1
je 0x43084b
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x43084b
call fcn.0042a4de
test esi, esi
je 0x430856
push esi
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, edi
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.004492e4
mov esp, ebp
pop ebp
ret 0x10
Function at 0x439735
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46b56b
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4947b8]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x4947b8]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov edi, ecx
push dword [esp + 0x10]
xor ebx, ebx
push dword [ebp + 0xc]
lea ecx, [esp + 0x1c]
push dword [ebp + 8]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00435b39
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0xc4], ebx
call fcn.00439cf9
mov byte [esp + 0xc0], 1
mov edx, dword [edi]
push eax
add edx, 0x18
lea ecx, [esp + 0x80]
call fcn.004391a3
pop ecx
mov esi, eax
push esi
lea ecx, [esp + 0x30]
call fcn.00407dca
lea eax, [esi + 0x18]
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0xc4], 3
call fcn.004393eb
mov byte [esp + 0xc0], 4
mov ecx, dword [edi]
lea eax, [esp + 0x2c]
mov ecx, dword [ecx + 0x50]
push eax
mov ecx, dword [ecx - 4]
lea eax, [esp + 0x14]
push eax
call fcn.00439217
lea ecx, [esp + 0x44]
mov byte [esp + 0xc0], 5
call fcn.00431f4c
lea ecx, [esp + 0x2c]
call fcn.00407e25
lea ecx, [esp + 0x94]
mov byte [esp + 0xc0], 6
call fcn.00431f4c
lea ecx, [esp + 0x7c]
call fcn.00407e25
lea ecx, [esp + 0x60]
mov byte [esp + 0xc0], bl
call fcn.00431f4c
lea ecx, [esp + 0x14]
call fcn.00407e25
mov eax, dword [edi]
add eax, 0x18
cmp dword [eax + 0x14], 0x10
mov dword [eax + 0x10], ebx
jb 0x43986c
mov eax, dword [eax]
mov byte [eax], bl
mov eax, dword [edi]
cmp dword [eax + 0x14], 0x10
mov dword [eax + 0x10], ebx
jb 0x43987b
mov eax, dword [eax]
mov byte [eax], bl
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.004492e4
mov esp, ebp
pop ebp
ret 8
Function at 0x43ce69
Capabilities:
Allocate thread local storage

Disassembly:
push 0x5c
mov eax, 0x46c7bb
call fcn.0044e593
xor ebx, ebx
mov dword [ebp - 0x68], 0xc15730e2
mov dword [ebp - 0x64], 0x7f0725e3
mov byte [ebp - 0x60], bl
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x58], bl
jmp 0x43ceff
mov ecx, dword [ebp - 0x64]
mov edx, 0x49efec
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x43cf0b
cmp byte [ebp - 0x60], 0
jne 0x43cef3
xor eax, eax
mov ecx, 0x49eff0
inc eax
lock xadd dword [ecx], eax
mov eax, dword [0x49efec]
mov byte [ebp - 0x60], 1
cmp eax, dword [ebp - 0x68]
je 0x43cf59
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x43cef6
cmp byte [ebp - 0x58], al
jne 0x43ceda
lea ecx, [ebp - 0x58]
call fcn.0043cda9
lea eax, [ebp - 0x58]
push eax
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0041304f
jmp 0x43ceff
mov eax, dword [ebp - 0x5c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x49efec]
cmp eax, dword [ebp - 0x68]
jne 0x43ce90
jmp 0x43cf59
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x43cf3f
cmp byte [ebp - 0x58], al
jne 0x43cf1f
lea ecx, [ebp - 0x58]
call fcn.0043cda9
lea eax, [ebp - 0x58]
push eax
push ebx
push 0x100002
call dword [sym.imp.KERNEL32.dll_OpenEventA]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0041304f
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x43cf46
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
lea edx, [ebp - 0x68]
mov dword [0x495e1c], eax
call fcn.0043ce02
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x43cf6c
cmp eax, 0xffffffff
je 0x43cf6c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0044e542
ret

Function at 0x43d73a
Capabilities:
Create new key via cryptacquirecontext
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push 0x24
mov eax, 0x46c87c
call fcn.0044e5ff
mov esi, ecx
xor ebx, ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x30], esi
mov byte [esi], bl
push str.Failed_CryptAcquireContext
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.00407d9b
push 0xf0000000
push 1
push ebx
push ebx
lea edi, [esi + 0x18]
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x43d78c
lea ecx, [ebp - 0x2c]
call fcn.00426e74
lea ecx, [ebp - 0x2c]
call fcn.00407e25
push str.Failed_CryptCreateHash
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00407d9b
lea eax, [esi + 0x1c]
push eax
push ebx
push ebx
push 0x8003
mov byte [ebp - 4], 3
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x43d7c8
lea ecx, [ebp - 0x2c]
call fcn.00426e74
lea ecx, [ebp - 0x2c]
call fcn.00407e25
mov eax, esi
call fcn.0044e551
ret
Function at 0x43d80e
Capabilities:
Hash data via wincrypt

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46c8ac
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x4947b8]
xor eax, esp
mov dword [esp + 0x428], eax
push ebx
push esi
push edi
mov eax, dword [0x4947b8]
xor eax, esp
push eax
lea eax, [esp + 0x440]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
xor esi, esi
mov eax, dword [edi]
push esi
mov ecx, dword [eax + 4]
add ecx, edi
xor eax, eax
cmp dword [ecx + 0x38], esi
push 4
pop edx
cmove eax, edx
push eax
call fcn.004017ca
push esi
push ecx
push ecx
mov ecx, edi
call fcn.00428a8d
push esi
push 0x400
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
call fcn.004288ec
mov eax, dword [edi + 0xc]
mov esi, dword [edi + 8]
push str.Failed_CryptHashData
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
call fcn.00407d9b
and dword [esp + 0x448], 0
push 0
push esi
lea eax, [esp + 0x3c]
push eax
push dword [ebx + 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x43d8c8
lea ecx, [esp + 0x1c]
call fcn.00426e74
or dword [esp + 0x448], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00407e25
xor esi, esi
cmp dword [edi + 0xc], esi
jg 0x43d878
jl 0x43d8e7
cmp dword [edi + 8], esi
ja 0x43d878
mov ecx, dword [esp + 0x440]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.004492e4
mov esp, ebp
pop ebp
ret 4