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

Disassembly:
push 0xffffffffffffffff
push 0x44a9e2
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x46132c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor eax, eax
mov dword [esi + 8], eax
mov dword [esp + 0x1c], eax
mov dword [esi + 0xc], eax
lea ecx, [esi + 0x10]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], eax
mov byte [ecx + 4], al
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov edi, dword [esp + 0x24]
mov edx, dword [edi]
mov dword [esi], edx
mov edx, dword [edi + 4]
mov dword [esi + 4], edx
mov edx, dword [edi + 0x2c]
mov dword [esi + 0x2c], edx
mov edx, dword [edi + 0x30]
mov dword [esi + 0x30], edx
mov edx, dword [edi + 0x34]
push 0xffffffffffffffff
push eax
mov dword [esi + 0x34], edx
mov dl, byte [edi + 0x38]
lea eax, [edi + 0x10]
push eax
mov byte [esp + 0x28], 5
mov byte [esi + 0x38], dl
call fcn.00402290
mov ecx, dword [esi + 0x2c]
push ecx
call fcn.00415a74
mov edx, dword [esi + 0x2c]
mov ebx, eax
mov eax, dword [edi + 8]
push edx
push eax
push ebx
call fcn.004329b0
mov eax, dword [esi + 8]
push eax
mov dword [esi + 8], ebx
call fcn.00415a69
mov ecx, dword [esi + 0x30]
push ecx
call fcn.00415a74
mov edx, dword [esi + 0x30]
mov ebx, eax
mov eax, dword [edi + 0xc]
push edx
push eax
push ebx
call fcn.004329b0
mov eax, dword [esi + 0xc]
push eax
mov dword [esi + 0xc], ebx
call fcn.00415a69
push 9
call fcn.00415a74
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
movzx ecx, byte [ecx + 8]
mov byte [eax + 8], cl
mov ecx, dword [esi + 0x3c]
push ecx
mov dword [esi + 0x3c], eax
call fcn.00415a69
push 9
call fcn.00415a74
mov ecx, dword [edi + 0x40]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
movzx ecx, byte [ecx + 8]
mov byte [eax + 8], cl
mov ecx, dword [esi + 0x40]
push ecx
mov dword [esi + 0x40], eax
call fcn.00415a69
mov eax, dword [edi + 0x48]
push eax
mov dword [esi + 0x48], eax
call fcn.00415a74
mov edx, dword [esi + 0x48]
mov ebx, eax
mov eax, dword [edi + 0x44]
push edx
push eax
push ebx
call fcn.004329b0
mov eax, dword [esi + 0x44]
add esp, 0x48
push eax
mov dword [esi + 0x44], ebx
call fcn.00415a69
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x409a80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44ac38
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x46132c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.00407f30
xor edi, edi
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], edi
call fcn.00415840
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 + 0x54], edi
mov dword [esi + 0x58], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x409af0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44ac73
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x46132c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 1
call fcn.004070d0
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 0
call fcn.004159e0
mov ecx, esi
call fcn.00409830
mov eax, dword [esi + 0x14]
push eax
call fcn.00415a69
mov ecx, dword [esi]
push ecx
mov dword [esi + 0x14], 0
call fcn.00415a69
add esp, 8
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x414200
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44b9ea
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x46132c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea ecx, [esi + 4]
mov dword [esi], 0x44f69c
call fcn.00410dd0
xor eax, eax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], 1
mov byte [esi + 0x29], al
mov byte [esi + 0x2a], al
mov edx, 0xf
mov dword [esi + 0x44], edx
mov dword [esi + 0x40], eax
mov dword [esp + 0x18], eax
mov byte [esi + 0x30], al
mov dword [esi + 0x60], edx
mov dword [esi + 0x5c], eax
mov byte [esi + 0x4c], al
lea ecx, [esi + 0x68]
mov dword [esi + 0x64], 0x1fffffff
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x14], eax
mov byte [ecx + 4], al
lea edi, [esi + 0x88]
mov dword [esi + 0x84], 8
mov dword [edi + 0x18], edx
mov dword [edi + 0x14], eax
mov byte [edi + 4], al
push 7
push 0x44f6a8
mov byte [esp + 0x20], 4
call fcn.00402370
push 6
push 0x44f6a0
mov ecx, edi
call fcn.00402370
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x415874
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
mov dword [esi + 0x10], eax
push 0
lea eax, [esi + 0x14]
push eax
mov dword [eax], esi
mov eax, dword [esp + 0x14]
push eax
push 0
push 0
mov byte [esi + 0x1d], 1
mov dword [esp + 0x24], 0
mov dword [esi + 0x18], ecx
call fcn.0043447e
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
jne 0x4158be
mov byte [esi + 0x1d], al
mov eax, 1
pop esi
ret 0xc
mov ecx, dword [esp + 0xc]
mov dword [esi + 8], ecx
xor eax, eax
pop esi
ret 0xc
Function at 0x402132
Capabilities:
Hash data with md5

Disassembly:
xor ecx, ecx
mov byte [eax + 0x68], cl
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x420b9f
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x44fe60]
push ebx
push esi
mov ebx, 0x44fe60
push edi
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
push 3
mov dword [ebp - 4], eax
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x420bd1
cmp eax, 0xffff
jne 0x420bd4
dec esi
jns 0x420bc0
test esi, esi
jge 0x420bea
lea eax, [ebp - 4]
push str.SELECT__Value__FROM__Property__WHERE__Property____s
push eax
call fcn.00409c1a
pop ecx
pop ecx
jmp 0x420c57
jne 0x420bef
xor esi, esi
inc esi
test esi, esi
jl 0x420c4a
mov eax, dword [0x44fe60]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push dword [eax + esi*4]
lea eax, [ebp - 8]
push 0x449e00
push eax
call fcn.00409c1a
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
lea ecx, [ebp - 0xc]
call fcn.0040d578
add esp, 0x10
lea edi, [ebp - 4]
call fcn.00408e6a
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00405232
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00405232
dec esi
jns 0x420bf3
xor eax, eax
push 0
inc eax
lea ecx, [ebp - 4]
call fcn.00408eab
mov esi, dword [ebp - 4]
add esi, 0xfffffff0
mov eax, esi
call fcn.0040a130
mov edi, dword [ebp + 0xc]
add eax, 0x10
mov dword [edi], eax
mov eax, esi
call fcn.00405232
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x401370
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
push ebx
xor ebx, ebx
push edi
mov edi, dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], 5
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push ebx
push ebx
lea edx, [ebp - 0x130]
mov dword [ebp - 0x12c], eax
push edx
inc eax
push eax
mov dword [ebp - 0x130], 1
call edi
cmp eax, 1
jne 0x4013e1
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esi]
lea ecx, [ebp - 0x24]
push ecx
push ebx
push 2
lea edx, [ebp - 4]
push edx
push eax
mov byte [ebp - 4], bl
mov byte [ebp - 3], bl
mov dword [ebp - 0xc], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
sub dword [ebp - 8], 1
jne 0x401394
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4013f0
Capabilities:
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
xor eax, eax
push 0x18e
push eax
lea ecx, [ebp - 0x18e]
push ecx
mov word [ebp - 0x190], ax
call fcn.0040d8c0
add esp, 0xc
lea edx, [ebp - 0x190]
push edx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, 0xffffffff
jne 0x401434
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi], eax
mov eax, esi
mov esp, ebp
pop ebp
ret
Function at 0x402430
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax + 0x7c], 0
lea ecx, [ecx + eax + 0x78]
jne 0x40244b
xor eax, eax
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [ecx]
mov ecx, dword [esi + eax + 0x18]
add esi, eax
test ecx, ecx
je 0x4024d3
cmp dword [esi + 0x14], 0
je 0x4024d3
push ebx
mov ebx, dword [esi + 0x24]
push edi
mov edi, dword [esi + 0x20]
add edi, eax
add ebx, eax
mov dword [ebp - 4], 0
test ecx, ecx
jbe 0x4024b5
jmp 0x40247a
mov eax, dword [ebp + 8]
mov edx, dword [edi]
add edx, eax
mov eax, dword [ebp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4024a8
mov eax, dword [ebp - 4]
inc eax
add edi, 4
add ebx, 2
mov dword [ebp - 4], eax
cmp eax, dword [esi + 0x18]
jb 0x402477
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
movzx eax, word [ebx]
cmp eax, 0xffffffff
je 0x4024b5
cmp eax, dword [esi + 0x14]
jbe 0x4024be
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x1c]
lea edx, [ecx + eax*4]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + ecx]
pop edi
pop ebx
add eax, ecx
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x402660
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
mov dword [ebp - 4], 0
call fcn.0040d8c0
mov edx, dword [ebp + 8]
add esp, 0xc
push 0x208
lea ecx, [ebp - 0x20c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x4026a4
mov esp, ebp
pop ebp
ret
push esi
push 0
push 0
push 2
push 0
push 7
push 0xc0000000
lea eax, [ebp - 0x20c]
push eax
call dword [0x41be88]
mov esi, eax
cmp esi, 0xffffffff
je 0x4026fb
mov edx, dword [ebp + 0xc]
push 0
lea ecx, [ebp - 4]
push ecx
push edi
push edx
push esi
call dword [0x41be8c]
test eax, eax
je 0x4026f4
cmp dword [ebp - 4], edi
jne 0x4026f4
push esi
call dword [0x41becc]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [0x41becc]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x402f70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
push ebx
mov al, 0x64
mov byte [ebp - 0xa], al
mov bl, 0x6c
mov byte [ebp - 6], al
push esi
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x130], 4
mov byte [ebp - 0xc], 0x6e
mov byte [ebp - 0xb], 0x74
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 0x2e
mov byte [ebp - 5], bl
mov byte [ebp - 4], bl
mov byte [ebp - 3], 0
call dword [0x41bec4]
mov esi, eax
test esi, esi
jne 0x402fc3
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x1c]
mov al, 0x65
push ecx
push esi
mov byte [ebp - 0x1c], 0x52
mov byte [ebp - 0x1b], 0x74
mov byte [ebp - 0x1a], bl
mov byte [ebp - 0x19], 0x47
mov byte [ebp - 0x18], al
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x56
mov byte [ebp - 0x15], al
mov byte [ebp - 0x14], 0x72
mov byte [ebp - 0x13], 0x73
mov byte [ebp - 0x12], 0x69
mov byte [ebp - 0x11], 0x6f
mov byte [ebp - 0x10], 0x6e
mov byte [ebp - 0xf], 0
call fcn.00402430
add esp, 8
test eax, eax
je 0x402fbb
lea edx, [ebp - 0x130]
push edx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x12c], 0xa
pop esi
sbb eax, eax
inc eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4033e0
Capabilities:
Get file size

Disassembly:
push esi
push 0
push 0x80
push 3
push 0
push 2
push 0xc0000000
push eax
call dword [0x41be88]
mov esi, eax
cmp esi, 0xffffffff
jne 0x403405
xor eax, eax
pop esi
ret
push ebx
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
push 0
push 4
push 0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
test edi, edi
jne 0x403436
push esi
call dword [0x41becc]
pop edi
pop ebx
xor eax, eax
pop esi
ret
push 0
push 0
push 0
push 0
push 6
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
mov ecx, eax
test ecx, ecx
jne 0x403461
push esi
call dword [0x41becc]
push edi
call dword [0x41becc]
pop edi
pop ebx
xor eax, eax
pop esi
ret
mov edx, ebx
call fcn.00402e10
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [0x41becc]
push edi
call dword [0x41becc]
pop edi
pop ebx
mov eax, 1
pop esi
ret
Function at 0x403490
Capabilities:
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x411ff8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5ec
push ebx
push esi
push edi
xor eax, eax
push 0x18e
push eax
lea ecx, [ebp - 0x1e2]
push ecx
mov word [ebp - 0x1e4], ax
call fcn.0040d8c0
add esp, 0xc
lea edx, [ebp - 0x1e4]
push edx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov edi, dword [sym.imp.WS2_32.dll_WSACleanup]
cmp eax, 0xffffffff
jne 0x4034ee
call edi
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x403522
lea esi, [ebp - 0x14]
call fcn.00401370
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x403522
push eax
call ebx
call edi
xor eax, eax
push 0x40e
push eax
lea ecx, [ebp - 0x5f2]
push ecx
mov word [ebp - 0x5f4], ax
call fcn.0040d8c0
mov edx, dword [ebp + 8]
add esp, 0xc
push edx
push str._c_ping_0.0.0.0__n_4__del___s_
lea edx, [ebp - 0x5f4]
call fcn.00401350
push 0x3c
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.0040d8c0
add esp, 0x14
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x5f4]
push edx
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x4c], 0x600
mov dword [ebp - 0x40], str._SystemRoot_System32cmd.exe
mov dword [ebp - 0x3c], ecx
call dword [0x41beac]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40359f
push eax
call ebx
call edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4035e0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 4], 0
push eax
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
pop eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push 0x208
mov dword [ebp - 8], ecx
call fcn.004071ea
push 0x208
mov esi, eax
call fcn.004071ea
push 0x104
push 0
push esi
mov edi, eax
call fcn.0040d8c0
push 0x104
push 0
push edi
call fcn.0040d8c0
add esp, 0x20
push 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.explorer.exe
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, 0x78
mov word [esi + 2], ax
mov ecx, 0x70
mov word [esi + 4], cx
mov edx, 0x65
mov word [esi], dx
mov eax, 0x6f
mov word [esi + 8], ax
mov ecx, 0x72
mov word [esi + 0xa], cx
mov eax, ecx
mov edx, 0x6c
mov word [esi + 6], dx
mov edx, 0x65
mov word [esi + 0xe], ax
mov ecx, 0x2e
mov word [esi + 0x10], cx
mov ecx, edx
mov eax, 0x78
mov word [esi + 0xc], dx
mov word [esi + 0x12], dx
mov word [esi + 0x14], ax
mov word [esi + 0x16], cx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
push eax
call dword [0x41bed0]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
push edi
add edx, 0x38
push edx
call dword [0x41bed4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push edi
add ecx, 0x40
push ecx
call dword [0x41bed4]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
push eax
call dword [0x41bed8]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xa0]
push edx
call dword [0x41bed0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 0xc]
add eax, 0xc
cmp ebx, eax
je 0x403736
lea ecx, [ecx]
mov ecx, dword [ebp - 8]
cmp dword [ebx + 0x18], ecx
je 0x403720
mov ebx, dword [ebx]
cmp ebx, eax
jne 0x403710
jmp 0x403736
push edi
lea edx, [ebx + 0x24]
push edx
call dword [0x41bed4]
push esi
add ebx, 0x2c
push ebx
call dword [0x41bed4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xa0]
push ecx
call dword [0x41bed8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4039a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
push str.ole32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov al, 0x69
mov byte [ebp - 0x18], al
mov cl, 0x74
mov byte [ebp - 0x16], al
mov byte [ebp - 0x13], al
mov byte [ebp - 0x30], al
mov byte [ebp - 0x28], al
mov byte [ebp - 0x26], al
mov byte [ebp - 0x24], al
mov byte [ebp - 0x21], al
mov dl, 0x65
lea eax, [ebp - 0x1c]
xor ebx, ebx
push eax
push esi
mov byte [ebp - 0x1c], 0x43
mov byte [ebp - 0x1b], 0x6f
mov byte [ebp - 0x1a], 0x49
mov byte [ebp - 0x19], 0x6e
mov byte [ebp - 0x17], cl
mov byte [ebp - 0x15], 0x61
mov byte [ebp - 0x14], 0x6c
mov byte [ebp - 0x12], 0x7a
mov byte [ebp - 0x11], dl
mov byte [ebp - 0x10], bl
mov byte [ebp - 0x3c], 0x43
mov byte [ebp - 0x3b], 0x4c
mov byte [ebp - 0x3a], 0x53
mov byte [ebp - 0x39], 0x49
mov byte [ebp - 0x38], 0x44
mov byte [ebp - 0x37], 0x46
mov byte [ebp - 0x36], 0x72
mov byte [ebp - 0x35], 0x6f
mov byte [ebp - 0x34], 0x6d
mov byte [ebp - 0x33], 0x53
mov byte [ebp - 0x32], cl
mov byte [ebp - 0x31], 0x72
mov byte [ebp - 0x2f], 0x6e
mov byte [ebp - 0x2e], 0x67
mov byte [ebp - 0x2d], bl
mov byte [ebp - 0x2c], 0x43
mov byte [ebp - 0x2b], 0x6f
mov byte [ebp - 0x2a], 0x55
mov byte [ebp - 0x29], 0x6e
mov byte [ebp - 0x27], 0x6e
mov byte [ebp - 0x25], cl
mov byte [ebp - 0x23], 0x61
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x20], 0x7a
mov byte [ebp - 0x1f], dl
mov byte [ebp - 0x1e], bl
mov byte [ebp - 0xc], 0x43
mov byte [ebp - 0xb], 0x6f
mov byte [ebp - 0xa], 0x47
mov byte [ebp - 9], dl
mov byte [ebp - 8], cl
mov byte [ebp - 7], 0x4f
mov byte [ebp - 6], 0x62
mov byte [ebp - 5], 0x6a
mov byte [ebp - 4], dl
mov byte [ebp - 3], 0x63
mov byte [ebp - 2], cl
mov byte [ebp - 1], bl
call edi
lea ecx, [ebp - 0x3c]
push ecx
push esi
mov dword [0x41bee0], eax
call edi
lea edx, [ebp - 0x2c]
push edx
push esi
mov dword [0x41bee4], eax
call edi
mov dword [0x41bee8], eax
lea eax, [ebp - 0xc]
push eax
push esi
call edi
mov dword [0x41bedc], eax
cmp dword [0x41bee0], ebx
je 0x403ae5
cmp dword [0x41bee4], ebx
je 0x403ae5
cmp dword [0x41bee8], ebx
je 0x403ae5
cmp eax, ebx
je 0x403ae5
pop edi
pop esi
lea eax, [ebx + 1]
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b201
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x417514]
jne 0x40b20b
repz ret
jmp fcn.0040ed04

Function at 0x40e9c5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040ac72
and dword [ebp - 4], 0
cmp dword [0x41b930], 0
mov ebx, eax
jne 0x40ea76
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40eb27
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40eb27
push eax
call fcn.0040ac00
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41b930], eax
call esi
push eax
call fcn.0040ac00
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41b934], eax
call esi
push eax
call fcn.0040ac00
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41b938], eax
call esi
push eax
call fcn.0040ac00
pop ecx
mov dword [0x41b940], eax
test eax, eax
je 0x40ea76
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040ac00
pop ecx
mov dword [0x41b93c], eax
mov eax, dword [0x41b93c]
cmp eax, ebx
je 0x40eace
cmp dword [0x41b940], ebx
je 0x40eace
push eax
call fcn.0040ac7b
push dword [0x41b940]
mov esi, eax
call fcn.0040ac7b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40eace
test edi, edi
je 0x40eace
call esi
test eax, eax
je 0x40eac5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40eac5
test byte [ebp - 0xc], 1
jne 0x40eace
or dword [ebp + 0x10], 0x200000
jmp 0x40eb07
mov eax, dword [0x41b934]
cmp eax, ebx
je 0x40eb07
push eax
call fcn.0040ac7b
pop ecx
test eax, eax
je 0x40eb07
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40eb07
mov eax, dword [0x41b938]
cmp eax, ebx
je 0x40eb07
push eax
call fcn.0040ac7b
pop ecx
test eax, eax
je 0x40eb07
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41b930]
call fcn.0040ac7b
pop ecx
test eax, eax
je 0x40eb27
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40eb29
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000172a
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10044e30]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
cmp byte [esi + 8], 0
je 0x1000174a
mov al, 1
jmp 0x100017bc
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [esi + 0xc], eax
je 0x1000177e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetEmailName
push eax
call edi
test eax, eax
mov dword [esi], eax
je 0x1000177e
push str.ResetFunction
push dword [esi + 0xc]
call edi
test eax, eax
mov dword [esi + 4], eax
jne 0x100017b5
and word [ebp - 0x24], 0
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x22]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x24]
push str.Err:_ld
push eax
call fcn.10001712
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor al, al
jmp 0x100017bb
mov byte [esi + 8], 1
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1001b896
leave
ret 4

Function at 0x100018ad
Capabilities:
Read file via mapping

Disassembly:
push esi
push edi
push dword [esp + 0xc]
xor edi, edi
push edi
push 2
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
cmp eax, edi
mov dword [esi], eax
jne 0x100018dd
push dword [esp + 0xc]
push 0x810
push edi
push 4
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, edi
jne 0x100018e7
xor al, al
jmp 0x10001906
push edi
push edi
push edi
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
mov dword [esi + 4], eax
jne 0x10001904
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100018e3
mov al, 1
pop edi
pop esi
ret 4

Function at 0x10002dda
Capabilities:
Read file via mapping

Disassembly:
push esi
push edi
push dword [esp + 0xc]
xor edi, edi
push edi
push 2
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
cmp eax, edi
mov dword [esi], eax
jne 0x10002e07
push dword [esp + 0xc]
push 0x48
push edi
push 4
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, edi
jne 0x10002e11
xor al, al
jmp 0x10002e30
push edi
push edi
push edi
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
mov dword [esi + 4], eax
jne 0x10002e2e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10002e0d
mov al, 1
pop edi
pop esi
ret 4