joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x6a882596
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x37d73141
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x4010c6
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
push edi
xor eax, eax
mov ecx, 0x1181
lea edi, [esi + 4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov ecx, 0x3f84
lea edi, [esi + 0x460a]
rep stosd dword es:[edi], eax
lea edx, [esi + 0x1441e]
mov dword [esi + 0x1451e], eax
mov ecx, 0x40
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x19c]
test eax, eax
je 0x40111d
mov dword [esi + 0x1451e], 1
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x401113
lea eax, [esp + 8]
push eax
push 0x202
mov dword [esi + 0x1441a], 0
mov dword [esi], 0xffffffff
call sub.WSOCK32.dll_WSAStartup
pop edi
mov eax, esi
pop esi
add esp, 0x190
ret 4
Function at 0x401680
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x20
push ebx
push eax
mov ebx, ecx
call sub.WSOCK32.dll_gethostbyname
test eax, eax
jne 0x4016a7
mov dword [ebx + 0x1441a], 1
xor al, al
pop ebx
add esp, 0x20
ret 0xc
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
xor edx, edx
mov dword [esp + 4], edx
mov dword [esp + 8], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edx
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
push ebp
push esi
mov esi, dword [edx]
mov edx, ecx
push edi
shr ecx, 2
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x38]
mov ax, word [eax + 8]
push ecx
mov word [esp + 0x24], ax
call sub.WSOCK32.dll_htons
mov ebp, dword [esp + 0x3c]
test ebp, ebp
mov word [esp + 0x22], ax
je 0x401754
push ebp
call sub.WSOCK32.dll_gethostbyname
test eax, eax
jne 0x401729
pop edi
pop esi
pop ebp
mov dword [ebx + 0x1441a], 1
xor al, al
pop ebx
add esp, 0x20
ret 0xc
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov esi, dword [edx]
mov edx, ecx
shr ecx, 2
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ax, word [eax + 8]
mov word [esp + 0x10], ax
mov word [esp + 0x12], 0
push 0
push 1
push 2
call sub.WSOCK32.dll_socket
test eax, eax
mov dword [ebx], eax
jge 0x40177b
pop edi
pop esi
pop ebp
mov dword [ebx + 0x1441a], 2
xor al, al
pop ebx
add esp, 0x20
ret 0xc
test ebp, ebp
je 0x401790
push 0x10
lea ecx, [esp + 0x14]
push ecx
push eax
call sub.WSOCK32.dll_bind
test eax, eax
jl 0x4017ab
mov eax, dword [ebx]
push 0x10
lea edx, [esp + 0x24]
push edx
push eax
call sub.WSOCK32.dll_connect
test eax, eax
jge 0x4017c1
mov ecx, dword [ebx]
push ecx
call sub.WSOCK32.dll_closesocket
pop edi
pop esi
pop ebp
mov dword [ebx + 0x1441a], 3
xor al, al
pop ebx
add esp, 0x20
ret 0xc
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x20
ret 0xc
Function at 0x4017da
Capabilities:
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
mov eax, 0x4000
call fcn.00401f80
push esi
mov esi, ecx
mov eax, dword [esi + 0x1451e]
test eax, eax
push edi
lea edi, [esi + 0xa]
je 0x4017f9
movzx ecx, word [esi + 4]
lea eax, [esi + 0x1441e]
push eax
push ecx
jmp 0x401800
movzx edx, word [esi + 4]
push 0
push edx
mov ecx, esi
push edi
call fcn.00401680
test al, al
je 0x4018df
mov eax, dword [esi + 6]
dec eax
je 0x40187b
dec eax
je 0x40183b
dec eax
jne 0x4018a1
push edi
lea eax, [esi + 0x450a]
push eax
push str.SAMP_0.30
lea ecx, [esi + 0x10a]
push ecx
push str.HEAD__s_HTTP_1.0_r_nAccept:___r_nUser_Agent:__s_r_nReferer:_http:___s_r_nHost:__s_r_n_r_n
jmp 0x401894
lea edx, [esi + 0x50a]
mov eax, edx
push ebx
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401847
push edx
sub eax, ebx
push eax
push edi
lea eax, [esi + 0x450a]
push eax
push str.SAMP_0.30
lea ecx, [esi + 0x10a]
push ecx
lea edx, [esp + 0x24]
push str.POST__s_HTTP_1.0_r_nAccept:___r_nUser_Agent:__s_r_nReferer:_http:___s_r_nHost:__s_r_nContent_type:_application_x_www_form_urlencoded_r_nContent_length:__u_r_n_r_n_s
push edx
call fcn.00401a17
add esp, 0x20
pop ebx
jmp 0x4018a1
push edi
lea eax, [esi + 0x450a]
push eax
push str.SAMP_0.30
lea ecx, [esi + 0x10a]
push ecx
push str.GET__s_HTTP_1.0_r_nAccept:___r_nUser_Agent:__s_r_nReferer:_http:___s_r_nHost:__s_r_n_r_n
lea edx, [esp + 0x1c]
push edx
call fcn.00401a17
add esp, 0x18
lea eax, [esp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4018a8
mov ecx, dword [esi]
push 0
sub eax, edx
push eax
lea eax, [esp + 0x10]
push eax
push ecx
call sub.WSOCK32.dll_send
test eax, eax
jge 0x4018d8
pop edi
mov dword [esi + 0x1441a], 4
pop esi
add esp, 0x4000
ret
mov ecx, esi
call fcn.00401350
pop edi
pop esi
add esp, 0x4000
ret

Function at 0x403ad0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
test ebp, ebx
clc
invalid
call [esi + eax*8 - 0x7b]
fdivp st(0)
invalid
call dword [ecx - 0x3a]
test edi, ebx
clc
invalid
jmp [ebp - 0x3a]
test eax, esp
clc
invalid
dec dword [edi - 0x3a]
test ecx, esp
clc
invalid
call dword [edx - 0x3a]
test edx, esp
clc
invalid
dec dword [ecx - 0x3a]
test ebx, esp
clc
invalid
call [eax - 0x3a]
test esp, esp
clc
invalid
call [esi - 0x3a]
test ebp, esp
clc
invalid
dec dword [ecx - 0x3a]
test esi, esp
clc
invalid
invalid
cmp eax, 0xffeb17e8
inc dword [0x8daf3c0e]
test esp, edx
clc
invalid
Function at 0x405518
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x40986c], ebx
push esi
push edi
jne 0x405598
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4055d3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x40986c], eax
je 0x4055d3
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x409870], eax
call esi
cmp dword [0x4096f8], 2
mov dword [0x409874], eax
jne 0x405598
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x40987c], eax
je 0x405598
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x409878], eax
mov eax, dword [0x409878]
test eax, eax
je 0x4055dd
call eax
test eax, eax
je 0x4055c4
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x40987c]
test eax, eax
je 0x4055c4
test byte [ebp - 8], 1
jne 0x4055dd
cmp dword [0x409704], 4
jb 0x4055d7
or byte [ebp + 0x12], 0x20
jmp 0x4055fc
xor eax, eax
jmp 0x40560c
or byte [ebp + 0x12], 4
jmp 0x4055fc
mov eax, dword [0x409870]
test eax, eax
je 0x4055fc
call eax
mov ebx, eax
test ebx, ebx
je 0x4055fc
mov eax, dword [0x409874]
test eax, eax
je 0x4055fc
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x40986c]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40641c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00401f80
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4064b7
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x4096f8]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x4064b7
cmp eax, 1
je 0x4064d8
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4064b7
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x406484
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x4064b3
xor eax, eax
inc eax
jmp 0x4064f7
cmp edi, eax
jae 0x4064bb
xor eax, eax
jmp 0x4064f7
cmp eax, esi
jae 0x4064c2
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x4096f8]
jmp 0x4064db
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4176b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [0xa245c62e]
xor eax, 0x24a345c6
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.004172cf
push eax
push esi
push dword [ebp + 8]
call fcn.00417284
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004172cf
push eax
push esi
push dword [ebp + 8]
call fcn.00417284
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004172bf
int1
lodsb al, byte [esi]
movsb byte es:[edi], byte [esi]
invalid

Function at 0x41bca0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
lea eax, [ebx - 0x7e]
lea edi, [ebx + 2]
mov dword [ebp - 4], edi
mov dword [ebp + 0x14], 2
cmp eax, 0xff82
ja 0x41bcf4
add edi, 2
push edi
mov dword [ebp + 0x14], 4
mov dword [ebp - 4], edi
call fcn.0041ea68
push edi
mov esi, eax
push 0
push esi
call fcn.00423960
mov ecx, ebx
add esp, 0x10
shr ecx, 8
mov word [esi], 0x7e81
mov byte [esi + 2], cl
mov byte [esi + 3], bl
jmp 0x41bd0e
push edi
call fcn.0041ea68
push edi
mov esi, eax
push 0
push esi
call fcn.00423960
add esp, 0x10
mov byte [esi], 0x81
mov byte [esi + 1], bl
xor ecx, ecx
test ebx, ebx
je 0x41bd2e
mov edx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
add edx, esi
lea esp, [esp]
mov al, byte [ecx + edi]
mov byte [edx + ecx], al
inc ecx
cmp ecx, ebx
jb 0x41bd20
mov edi, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x41bd43
push eax
push edi
push esi
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
jmp 0x41bd4e
push edi
push esi
push eax
call fcn.004b6070
add esp, 0xc
cmp eax, 0xffffffff
jne 0x41bd62
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push esi
call fcn.0041e1e4
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41bd80
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x41bdc6
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_recv]
cmp dword [ebp + 0x14], 0
mov esi, eax
je 0x41be1e
cmp esi, 0xffffffff
jne 0x41be1e
call ebx
cmp eax, 0x2733
je 0x41bd96
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x10
mov ebx, dword [ebp + 0x10]
push ebx
push dword [ebp + 0xc]
push eax
call fcn.004b5e10
add esp, 0xc
cmp dword [ebp + 0x14], 0
mov esi, eax
je 0x41be0e
mov edi, edi
cmp esi, 0xffffffff
jne 0x41be0e
push esi
push dword [edi + 0xc]
call fcn.004b5760
add esp, 8
cmp eax, 2
je 0x41bdfb
cmp eax, 3
jne 0x41be1e
push ebx
push dword [ebp + 0xc]
push dword [edi + 0xc]
call fcn.004b5e10
add esp, 0xc
mov esi, eax
jmp 0x41bde0
test esi, esi
jne 0x41be1e
push esi
push dword [edi + 0xc]
call fcn.004b5760
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x41be30
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0xc], 0
jne 0x41be53
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_send]
pop esi
pop ebp
ret 0x10
push ebx
mov ebx, dword [ebp + 0x10]
push edi
push ebx
push dword [ebp + 0xc]
push dword [esi + 0xc]
call fcn.004b6070
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
jne 0x41be84
push eax
push dword [esi + 0xc]
call fcn.004b5760
add esp, 8
cmp eax, 2
je 0x41be58
cmp eax, 3
je 0x41be58
mov eax, edi
pop edi
pop ebx
pop esi
pop ebp
ret 0x10

Function at 0x41c8e0
Capabilities:
Check os version
Create new key via cryptacquirecontext
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x535820]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x9c
lea eax, [ebp - 0xa0]
push 0
push eax
mov esi, ecx
call fcn.00423960
add esp, 0xc
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x9c], 5
jne 0x41c96e
cmp dword [ebp - 0x98], 1
jne 0x41c96e
push 0xf0000000
push 0x18
push str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider__Prototype_
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x41c987
push str.XP_FAIL
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d8e4
mov esp, ebp
pop ebp
ret
push 0xf0000000
push 0x18
push str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x41c959
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0041d8e4
mov esp, ebp
pop ebp
ret
Function at 0x4343c1
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00429dc8
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4343f9
xor eax, eax
jmp 0x434425
cmp esi, dword [ebp - 4]
je 0x434422
cmp dword [ebp + 0xc], 0
je 0x434422
push dword [edi + 0x9c]
call fcn.00433fcf
push dword [edi + 0x9c]
mov esi, eax
call fcn.00423e55
pop ecx
pop ecx
cmp esi, eax
je 0x4343f5
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x43c9e0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor dl, dl
test esi, esi
je 0x43ca04
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
sub edi, eax
mov cl, byte [edi + eax]
xor cl, byte [eax]
lea eax, [eax + 1]
or dl, cl
dec esi
jne 0x43c9f6
pop edi
movzx eax, dl
pop esi
ret

Function at 0x43cb50
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
mov eax, 0x108
call fcn.0042d520
mov eax, dword [0x535820]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
test esi, esi
je 0x43cbd7
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x43cbd7
lea eax, [esp + 0x114]
push eax
push dword [esp + 0x114]
lea eax, [esp + 0x10]
push 0x100
push eax
call fcn.004e1e9b
add esp, 0x10
lea ecx, [esp + 4]
push 0
push ecx
test eax, eax
mov ecx, 0x100
cmovs eax, ecx
push eax
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0041d8e4
add esp, 0x108
ret
lea eax, [esp + 0x114]
push eax
push dword [esp + 0x114]
lea eax, [esp + 0x10]
push 0xff
push eax
call fcn.004e1e9b
add esp, 0x10
mov byte [esp + 0x107], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x43cc64
call fcn.0043ca10
test eax, eax
jle 0x43cc64
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 0xc]
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0041d8e4
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
call fcn.0041d8e4
add esp, 0x108
ret
Function at 0x40929b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x433bcc]
jne 0x4092a5
repz ret
jmp fcn.0041296c

Function at 0x412232
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x433bcc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00404ba2
and dword [ebp - 0x14], 0
cmp dword [0x461ee0], 0
mov dword [ebp - 0x18], eax
jne 0x4122e5
push 0x403320
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41238d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403314
push ebx
call edi
test eax, eax
je 0x41238d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403304
push ebx
mov dword [0x461ee0], eax
call edi
push eax
call esi
push 0x4032f0
push ebx
mov dword [0x461ee4], eax
call edi
push eax
call esi
push 0x4032d4
push ebx
mov dword [0x461ee8], eax
call edi
push eax
call esi
mov dword [0x461ef0], eax
test eax, eax
je 0x4122e5
push 0x4032bc
push ebx
call edi
push eax
call esi
mov dword [0x461eec], eax
mov eax, dword [0x461eec]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41233e
cmp dword [0x461ef0], ecx
je 0x41233e
push eax
call esi
push dword [0x461ef0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41233e
test ebx, ebx
je 0x41233e
call edi
test eax, eax
je 0x412335
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x412335
test byte [ebp - 8], 1
jne 0x41233e
or dword [ebp + 0x10], 0x200000
jmp 0x412371
mov eax, dword [0x461ee4]
cmp eax, dword [ebp - 0x18]
je 0x412371
push eax
call esi
test eax, eax
je 0x412371
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x412371
mov eax, dword [0x461ee8]
cmp eax, dword [ebp - 0x18]
je 0x412371
push eax
call esi
test eax, eax
je 0x412371
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x461ee0]
call esi
test eax, eax
je 0x41238d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41238f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040929b
leave
ret

Function at 0x4146f0
Capabilities:
Delete file
Get uefi variable

Disassembly:
sub esp, 0x818
cmp dword [0x4dd64c], 0x37
jne 0x414756
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableW]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0xc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
push 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
lea eax, [esp + 0x41c]
push eax
push 0x403400
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
mov ecx, dword [0x4dda60]
mov eax, dword [0x4dd130]
mov dl, byte [ecx + esi + 0x38d6]
mov byte [eax + esi], dl
add esp, 0x818
ret
Function at 0x414c90
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x4dd64c]
sub esp, 0x830
push ebx
push ebp
push esi
push edi
cmp eax, 0x422
jne 0x414d31
push 0
push 0
push 0
call fcn.00403dfe
add esp, 0xc
push 0x403440
push 0
call fcn.00403dfe
push 0
call fcn.00403dc3
add esp, 0xc
push 0
call fcn.004039d7
add esp, 4
push 0
call fcn.00403dc3
add esp, 4
push 0x40344c
push 0x403450
push 0x462228
call fcn.00403dfe
add esp, 0xc
push 0
push 0
push 0
push 0
push 0
call fcn.004037e2
add esp, 0x14
push 0
push 0
push 0
push 0
call fcn.00403937
push 0
push 0
push 0
call fcn.00403d32
mov eax, dword [0x4dd64c]
add esp, 0x1c
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov edi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov ebx, dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
mov ebp, 0x2443831
cmp eax, 0x47
jne 0x414d85
push 0x403458
call esi
push 0
push 0
push 0
push 0
call edi
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0x4034c8
call ebx
dec ebp
mov eax, dword [0x461598]
mov dword [0x4dd64c], eax
jne 0x414d48
mov esi, dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameW]
mov edi, 0x79a863
lea ecx, [ecx]
cmp eax, 0x4c5
jne 0x414db7
push 0
lea edx, [esp + 0x44]
push edx
push 0
call esi
mov eax, dword [0x4dd64c]
dec edi
jne 0x414da0
mov eax, dword [0x46158c]
mov dword [0x4dda60], eax
call fcn.004149a0
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 0x10