joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4079b0
Capabilities:
Enumerate gui resources

Disassembly:
push esi
mov esi, dword [edi + 0x14]
test esi, esi
je 0x4079fa
mov ecx, esi
mov eax, 0x4300fb
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4079e0
test dl, dl
je 0x4079dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4079e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4079c0
xor eax, eax
jmp 0x4079e5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4079fa
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x4079fc
xor eax, eax
pop esi
ret
xor esi, esi
cmp dword [edi + 0x20], 0x4300fb
je 0x4079f6
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
push 0x407870
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
test eax, eax
setne bl
test bl, bl
jne 0x407a37
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3b02
je 0x407a35
test eax, eax
jne 0x407a37
mov bl, 1
test esi, esi
je 0x407a42
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
movzx eax, bl
pop ebx
pop esi
ret

Function at 0x407dc0
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
mov eax, dword [0x437654]
xor eax, esp
mov dword [esp + 0x198], eax
push esi
lea eax, [esp + 8]
push eax
push 0x101
mov esi, ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x407e2a
mov eax, dword [esp + 8]
cmp al, 1
jne 0x407e24
shr eax, 8
cmp al, 1
jne 0x407e24
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 4], eax
mov al, 1
pop esi
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.00417790
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x19c]
pop esi
xor ecx, esp
xor al, al
call fcn.00417790
mov esp, ebp
pop ebp
ret
Function at 0x407e50
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x437654]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jne 0x407e81
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00417790
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0xc], 1
jne 0x407e6e
cmp dword [ebp + 8], 0xffffffff
jne 0x407e90
mov dword [ebp + 8], eax
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.0041c300
mov edx, dword [ebp + 8]
add esp, 0xc
push 0
push 0x400
lea ecx, [ebp - 0x404]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x408], eax
test eax, eax
jle 0x407f85
push ebx
push edi
mov edi, edi
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x407ee5
lea eax, [ebp - 0x404]
push eax
mov ebx, 0x400
jmp 0x407f36
add eax, 0x401
push eax
call fcn.00416ad5
mov ecx, dword [esi + 0x1c]
add ecx, 0x401
push ecx
mov edi, eax
push 0
push edi
call fcn.0041c300
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x14]
push edx
push eax
push edi
call fcn.00419960
mov edx, dword [esi + 0x1c]
push 0x400
lea ecx, [ebp - 0x404]
push ecx
add edx, edi
push edx
call fcn.00419960
mov ebx, dword [esi + 0x1c]
add esp, 0x28
add ebx, 0x400
push edi
call fcn.00407cb0
cmp dword [ebp - 0x408], 0x400
jl 0x407f83
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.0041c300
mov edx, dword [ebp + 8]
add esp, 0xc
push 0
push 0x400
lea ecx, [ebp - 0x404]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x408], eax
test eax, eax
jg 0x407ed0
pop edi
pop ebx
mov eax, dword [esi + 0x88]
test eax, eax
je 0x407fa4
mov ecx, dword [esi + 0x8c]
mov edx, dword [esi + 0x14]
push ecx
push edx
push str.pipe_read_data
call eax
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop esi
call fcn.00417790
mov esp, ebp
pop ebp
ret 4

Function at 0x407fd0
Capabilities:
Send data
Send data on socket
Send http request

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov edx, dword [esi + 4]
cmp edx, 0xffffffff
je 0x408020
cmp dword [esi + 0xc], 2
jne 0x408020
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x408020
mov eax, dword [ebp + 8]
cmp eax, 0xffffffff
jne 0x407ff5
mov eax, edx
cmp byte [esi + 8], 1
jne 0x408036
mov edx, dword [esi + 0x18]
push 0
inc edx
push edx
push ecx
push eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x408027
push str._____________n______________AHttpSocket::sendMsg_failed_________
call fcn.00417e81
add esp, 4
call fcn.00407d60
xor al, al
pop esi
pop ebp
ret 4
mov edx, dword [esi + 0x10]
push str.pipe_write_data
mov ecx, esi
call fcn.00408040
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x408100
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x437654]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 4], 0xffffffff
je 0x40815f
cmp dword [esi + 0x34], 0x10
lea eax, [esi + 0x20]
jb 0x408124
mov eax, dword [eax]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
movzx ecx, word [esi + 0x3c]
mov dword [ebp - 0x10], eax
mov eax, 2
push ecx
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
lea edx, [ebp - 0x14]
mov word [ebp - 0x12], ax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x408170
call fcn.00407d60
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00417790
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop esi
call fcn.00417790
mov esp, ebp
pop ebp
ret
Function at 0x408dc0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi + 0x10]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408dd0
push ebx
sub eax, edx
push edi
lea edi, [eax + 1]
mov eax, dword [esi + 8]
xor ebx, ebx
cmp eax, ebx
je 0x408df3
push eax
call fcn.00417841
add esp, 4
mov dword [esi + 8], ebx
push edi
call fcn.00416ad5
push edi
push ebx
push eax
mov dword [esi + 8], eax
call fcn.0041c300
xor eax, eax
add esp, 0x10
mov dword [ebp - 4], eax
cmp edi, eax
jle 0x408e51
mov edx, dword [esi + 0x10]
mov cl, byte [edx + eax]
cmp cl, 0x3a
je 0x408e51
mov edx, dword [esi + 8]
mov byte [eax + edx], cl
mov edx, dword [esi + 0x10]
mov cl, byte [edx + eax]
cmp cl, 0x2e
jne 0x408e2f
inc ebx
jmp 0x408e4c
cmp dword [ebp - 4], 1
je 0x408e4c
test cl, cl
jns 0x408e45
mov dword [ebp - 4], 1
cmp cl, 0x39
jg 0x408e4c
mov dword [ebp - 4], 0
inc eax
cmp eax, edi
jl 0x408e13
mov edx, dword [esi + 8]
mov eax, edx
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408e60
sub eax, edi
cmp eax, 1
ja 0x408e8e
test edx, edx
je 0x408f25
push edx
call fcn.00417841
add esp, 4
pop edi
mov dword [esi + 8], 0
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 3
jne 0x408ea2
xor ebx, ebx
cmp dword [ebp - 4], ebx
jne 0x408ea4
pop edi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
je 0x408f12
mov edi, dword [eax + 0xc]
cmp dword [edi], ebx
je 0x408f12
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x408ec9
push eax
call fcn.00417841
add esp, 4
mov dword [esi + 8], ebx
mov eax, dword [edi]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edi, eax
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408ee0
sub eax, edx
inc eax
push eax
call fcn.00416ad5
add esp, 4
mov dword [esi + 8], eax
mov ecx, edi
mov edx, eax
lea ebx, [ebx]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x408f00
pop edi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x408f25
push eax
call fcn.00417841
mov dword [esi + 8], ebx
add esp, 4
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c090
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b54b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x437654]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00417427
push 4
mov dword [ebp - 4], 0
call fcn.0041791d
mov edi, eax
add esp, 4
test edi, edi
je 0x40c110
call fcn.00416f82
mov dword [edi], eax
call fcn.00416d41
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0041706b
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40c106
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00417093
jmp 0x40c112
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415710
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c017
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x437654]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [edi], vtable.CmodRCInfoBase.0
xor ebx, ebx
mov esi, 0xf
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
mov byte [edi + 4], bl
mov dword [ebp - 4], ebx
push 0x18
mov dword [edi + 0x28], ebx
call fcn.0041791d
add esp, 4
cmp eax, ebx
je 0x41582c
mov dword [edi + 0x24], eax
mov dword [eax], eax
mov eax, dword [edi + 0x24]
mov dword [eax + 4], eax
mov eax, dword [edi + 0x24]
mov dword [eax + 8], eax
mov ecx, dword [edi + 0x24]
mov al, 1
mov byte [ecx + 0x14], al
mov edx, dword [edi + 0x24]
mov byte [edx + 0x15], al
mov dword [edi + 0x44], esi
mov dword [edi + 0x40], ebx
mov byte [edi + 0x30], bl
mov dword [edi + 0x4c], ebx
mov dword [edi + 0x54], ebx
mov dword [edi + 0x50], ebx
mov dword [edi + 0x58], ebx
lea esi, [edi + 0x5c]
mov byte [ebp - 4], 3
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
call fcn.00401fb0
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x20], ebx
xor eax, eax
mov dword [edi + 0x9c], ebx
mov dword [edi + 0x84], ebx
mov dword [edi + 0x8c], ebx
mov dword [edi + 0x94], ebx
mov dword [edi + 0x80], vtable.ARCCustomInfo.0
mov dword [edi + 0xa0], ebx
mov dword [edi + 0x90], ebx
mov dword [edi + 0x88], ebx
mov word [edi + 0x98], ax
mov byte [edi + 0xa4], bl
lea ecx, [edi + 0xa8]
push ecx
mov byte [ebp - 4], 5
call fcn.00409230
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.00417a25
push 0x4349d0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.0041987c
int3

Function at 0x417790
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x437654]
jne 0x41779a
repz ret
jmp fcn.0041d82a
Function at 0x4268ac
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x437654]
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.0041d10e
and dword [ebp - 0x14], 0
cmp dword [0x439c00], 0
mov dword [ebp - 0x18], eax
jne 0x42695f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x426a07
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x426a07
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x439c00], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x439c04], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x439c08], eax
call edi
push eax
call esi
mov dword [0x439c10], eax
test eax, eax
je 0x42695f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x439c0c], eax
mov eax, dword [0x439c0c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4269b8
cmp dword [0x439c10], ecx
je 0x4269b8
push eax
call esi
push dword [0x439c10]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4269b8
test ebx, ebx
je 0x4269b8
call edi
test eax, eax
je 0x4269af
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4269af
test byte [ebp - 8], 1
jne 0x4269b8
or dword [ebp + 0x10], 0x200000
jmp 0x4269eb
mov eax, dword [0x439c04]
cmp eax, dword [ebp - 0x18]
je 0x4269eb
push eax
call esi
test eax, eax
je 0x4269eb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4269eb
mov eax, dword [0x439c08]
cmp eax, dword [ebp - 0x18]
je 0x4269eb
push eax
call esi
test eax, eax
je 0x4269eb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x439c00]
call esi
test eax, eax
je 0x426a07
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x426a09
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00417790
leave
ret
Function at 0x4248a5
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.0041e46c
and dword [ebp - 4], 0
cmp dword [0x44c388], 0
mov ebx, eax
jne 0x424956
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x424a07
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x424a07
push eax
call fcn.0041e3fa
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44c388], eax
call esi
push eax
call fcn.0041e3fa
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44c38c], eax
call esi
push eax
call fcn.0041e3fa
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44c390], eax
call esi
push eax
call fcn.0041e3fa
pop ecx
mov dword [0x44c398], eax
test eax, eax
je 0x424956
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041e3fa
pop ecx
mov dword [0x44c394], eax
mov eax, dword [0x44c394]
cmp eax, ebx
je 0x4249ae
cmp dword [0x44c398], ebx
je 0x4249ae
push eax
call fcn.0041e475
push dword [0x44c398]
mov esi, eax
call fcn.0041e475
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4249ae
test edi, edi
je 0x4249ae
call esi
test eax, eax
je 0x4249a5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4249a5
test byte [ebp - 0xc], 1
jne 0x4249ae
or dword [ebp + 0x10], 0x200000
jmp 0x4249e7
mov eax, dword [0x44c38c]
cmp eax, ebx
je 0x4249e7
push eax
call fcn.0041e475
pop ecx
test eax, eax
je 0x4249e7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4249e7
mov eax, dword [0x44c390]
cmp eax, ebx
je 0x4249e7
push eax
call fcn.0041e475
pop ecx
test eax, eax
je 0x4249e7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44c388]
call fcn.0041e475
pop ecx
test eax, eax
je 0x424a07
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x424a09
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x667d46f8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x667d4702
pushal
call 0x667d4708
pop ebp
sub ebp, 0x10
sub ebp, 0x1ad46f8
mov al, byte [esp + 0x28]
cmp al, 1
je 0x667d472c
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x667d4735
mov eax, 0x1ad46f8
add eax, ebp
add eax, 0x63
mov ecx, 0x5e7
mov edx, 0xd1b104dd
xor byte [eax], dl
inc eax
dec ecx
jne 0x667d474c
jmp 0x667d475f
push esi
adc byte [esi + 0x54], dl
loope 0x667d4742
fstp st(5)
pop esp
sbb al, 0x25
fstp st(5)
fstp st(6)
adc byte [ebp - 0x31], ah
fstp st(5)
frstor dword [edi - 0xb]
fstp st(5)
invalid

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4b1320
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6f000]
push edi
jmp 0x4b133a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b1341
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b1330
mov eax, 1
add ebx, ebx
jne 0x4b1353
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b1364
jne 0x4b1383
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b1383
dec eax
add ebx, ebx
jne 0x4b1370
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b1348
add ebx, ebx
jne 0x4b137f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b13d5
xor ecx, ecx
sub eax, 3
jb 0x4b139b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b140a
sar eax, 1
mov ebp, eax
jmp 0x4b13a6
add ebx, ebx
jne 0x4b13a6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b1374
inc ecx
add ebx, ebx
jne 0x4b13b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b1374
add ebx, ebx
jne 0x4b13c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b13b6
jne 0x4b13d2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b13b6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b13f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b13e6
jmp 0x4b1336
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b13f4
add edi, ecx
jmp 0x4b1336
pop esi
mov edi, esi
mov ecx, 0x3726
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b1412
cmp byte [edi], 0x22
jne 0x4b1412
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4b1417
lea edi, [esi + 0xad000]
mov eax, dword [edi]
or eax, eax
je 0x4b148f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb2004]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb2158]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b1444
mov ecx, edi
jns 0x4b1473
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb215c]
or eax, eax
je 0x4b1489
mov dword [ebx], eax
add ebx, 4
jmp 0x4b1461
call dword [esi + 0xb216c]
mov ebp, dword [esi + 0xb2160]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4b14c3
sub esp, 0xffffff80
jmp 0x416781
Function at 0x348b335a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x348b3369
pop dword [ebp - 0x50]
mov eax, 0x4e2aa7f9
add eax, 0xe6608b70
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x12c42b41
sub dword [ebp - 0x60], 0xc471e5f6
mov dword [ebp - 0x5c], 0x79adb8ad
sub dword [ebp - 0x5c], 0x477a6c68
mov dword [ebp - 0x58], 0x4040c256
sub dword [ebp - 0x58], 0xf3f47e28
mov dword [ebp - 0x54], 0x4e05ad3d
add dword [ebp - 0x54], 0xb1fa52c3
lea eax, [ebp - 0x60]
push eax
mov eax, 0xcff1d104
add eax, 0x64974048
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xdbb4388b
add dword [ebp - 0x60], 0x98be30cb
mov dword [ebp - 0x5c], 0xbebcb7bb
add dword [ebp - 0x5c], 0x82afa9ba
mov dword [ebp - 0x58], 0xea96c002
add dword [ebp - 0x58], 0x78d8ac6a
mov dword [ebp - 0x54], 0x7f5cc72f
add dword [ebp - 0x54], 0x80a338d1
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x34c35
push 0
call eax
mov ecx, 0x72186106
add ecx, 0x8de7dd4c
mov edx, eax
mov ebx, 0xf30b712d
add ebx, 0x41837ed3
add ebx, dword [ebp - 0x50]
mov edi, 0x6ef14960
add dword [ebp - 0x2c], edx
mov esi, dword [ebx]
xor dword [ebp - 0x34], 0x18196bbf
sub esi, edi
add dword [ebp - 0xc], ebx
mov dword [edx], esi
xor dword [ebp - 0x38], edx
add edx, 4
add ebx, 0x998f1204
add ebx, 0x6670ee00
loop 0x348b3480
add eax, 0xfef7a4c3
sub eax, 0xfef6b8a8
xor ebx, ebx
add ebx, eax
add eax, 0x9694586a
add eax, 0x696ba79b
mov ecx, 0x55054e42
sub ecx, 0x207c4e42
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x40319c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0040445c
test esi, esi
jne 0x4031d2
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.0040454c
jmp 0x4031f0
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00403040
mov edi, eax
test esi, esi
je 0x4031f0
cmp dword [ebx], 0
je 0x4031f0
dec esi
jmp 0x4031d9
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x40376c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x412020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403804
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4037e4
xor eax, eax
push ebp
push 0x4037dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403820
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4037e4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x412020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x412020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4042dc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x413044], 0
je 0x40433d
cmp word [0x413218], 0xd7b2
jne 0x404305
cmp dword [0x413220], 0
jbe 0x404305
mov eax, 0x413214
call dword [0x413230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404364
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x41202c], 0
jne 0x404359
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret