joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c1fa2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x18], eax
jae 0x5c20c3
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
jae 0x5c20a7
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 0xc], edi
shr edi, 2
and edi, esi
mov dword [ebp - 4], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp - 4]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 0xc]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp - 4]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 0xc]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp - 4]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0x10]
add ecx, 8
dec dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov esi, 0xffc03fc0
jne 0x5c1ff9
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x18]
mov dword [ebp + 0xc], edx
jb 0x5c1fd7
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret
Function at 0x5d78d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6158fe
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67e034]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
lea ebx, [esi + 0x7c]
push ebx
push ecx
push edx
mov ecx, esi
call fcn.005dc910
mov ebp, dword [esp + 0x34]
xor edi, edi
push ebp
push edi
lea ecx, [esi + 0x54]
mov dword [esp + 0x28], edi
mov dword [esi], vtable.CBaseRenderer.2.0
mov dword [esi + 0xc], vtable.CBaseRenderer.1.0
mov dword [esi + 0x10], vtable.CBaseRenderer.0
mov dword [esi + 0x50], edi
call fcn.005dca10
push ebp
push 1
lea ecx, [esi + 0x58]
mov byte [esp + 0x28], 1
call fcn.005dca10
push ebp
lea ecx, [esi + 0x5c]
push 1
mov byte [esp + 0x28], 2
call fcn.005dca10
push ebx
mov ebx, dword [0x62c234]
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
call ebx
lea eax, [esi + 0x94]
push eax
call ebx
lea ecx, [esi + 0xc4]
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], 1
push ecx
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc0], edi
call ebx
cmp dword [ebp], edi
jl 0x5d79c7
mov edx, dword [esi + 0x5c]
push edx
call dword [0x62c0cc]
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10
Function at 0x5e4ba0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6163e8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x67e034]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x10], 0x1000001
mov dword [esp + 0x14], ebx
mov eax, dword [esi + 0x78]
mov ecx, dword [eax + 0xc]
mov edi, dword [ecx + 0x24]
lea edx, [esi + 0x38]
push edx
mov ecx, esi
mov dword [esp + 0x2c], ebx
call fcn.005e3ba0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], 0x5000002
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov byte [esp + 0x2c], 1
call fcn.005e3ba0
lea edx, [edi + 0xc]
push edx
mov ecx, esi
mov byte [esp + 0x2c], bl
call fcn.005e3ba0
mov eax, dword [esp + 0x34]
cmp eax, ebx
jne 0x5e4c33
mov eax, dword [esi + 0x78]
mov ecx, dword [eax]
push ecx
mov ecx, edi
call fcn.005e1bb0
mov dword [esp + 0x18], 0x5000002
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x18]
push edx
mov ecx, esi
mov byte [esp + 0x2c], 2
call fcn.005e3ba0
add edi, 0x14
push edi
mov ecx, esi
mov byte [esp + 0x2c], bl
call fcn.005e3ba0
mov ecx, dword [esi + 0x30]
push ebx
lea eax, [esp + 0x14]
push eax
sub ecx, 5
push ecx
push 5
lea edx, [esi + 0x50]
push edx
mov ecx, esi
call fcn.005e8d50
push 5
mov ecx, esi
call fcn.005e3b30
or ecx, 0xffffffff
test dword [esp + 0x10], 0x8000000
mov dword [esp + 0x28], ecx
je 0x5e4caa
mov eax, dword [esp + 0x14]
add dword [eax + 4], ecx
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 4], ebx
ja 0x5e4caa
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 8
Function at 0x5eb430
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
mov ecx, edx
or ecx, 0x20
shr ecx, 5
mov eax, edx
cmp edx, ecx
jb 0x5eb471
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
lea esp, [esp]
mov edi, eax
mov ebx, eax
shr ebx, 2
shl edi, 5
add edi, ebx
movsx bx, byte [esi]
movzx ebx, bx
add edi, ebx
sub edx, ecx
xor eax, edi
inc esi
cmp edx, ecx
jae 0x5eb450
pop edi
pop esi
pop ebx
ret
Function at 0x5eeb10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x616fd9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67e034]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esi + 8], 0x1000001
mov dword [esi + 0xc], ebx
lea edi, [esi + 0x10]
mov ecx, edi
mov dword [esp + 0x28], ebx
call fcn.005f7a20
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
push esi
push 0x5ee1d0
push eax
mov dword [esi + 0xb4], ebp
mov edx, dword [ebp + 0x80]
push ecx
push edx
mov ecx, edi
mov byte [esp + 0x3c], 2
call fcn.005f7aa0
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x80]
push 0xffffffffffffffff
push eax
push ecx
call fcn.005e1ac0
mov edi, eax
mov ebp, 0x8000010
mov edx, 1
add dword [edi + 4], edx
add esp, 0xc
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edi
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [esi + 0xc], edi
mov dword [esi + 8], ebp
add dword [edi + 4], edx
mov byte [esp + 0x28], 3
test eax, 0x8000000
je 0x5eebe2
add dword [ecx + 4], 0xffffffff
jne 0x5eebe2
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
add dword [edi + 4], 0xffffffff
mov byte [esp + 0x28], 2
jne 0x5eebf6
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov cl, byte [esp + 0x44]
mov dl, byte [esp + 0x40]
mov byte [esi + 0x58], cl
mov byte [esi + 0x59], dl
mov dword [esi + 0x70], ebx
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x18
Function at 0x5f5be0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x617470
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x67e034]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0xdc]
push eax
push ecx
push edx
call fcn.005e1ac0
mov ecx, 1
mov dword [esp + 0x1c], 0x8000010
mov dword [esp + 0x20], eax
add dword [eax + 4], ecx
add esp, 0xc
mov dword [esp + 0x20], 0
mov dword [esp + 8], 0x5000002
mov dword [esp + 0xc], ecx
mov byte [esp + 0x20], cl
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x84]
call fcn.005e91b0
test dword [esp + 8], 0x8000000
mov byte [esp + 0x20], 0
je 0x5f5c87
mov eax, dword [esp + 0xc]
dec dword [eax + 4]
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 4], 0
ja 0x5f5c87
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov dword [esi], ecx
mov dword [esi + 4], eax
mov dword [esp + 0x20], 0xffffffff
test ecx, 0x8000000
je 0x5f5cbc
dec dword [eax + 4]
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 4], 0
ja 0x5f5cbc
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret 0xc
Function at 0x6139c0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, eax
xor edx, edx
cmp edi, edx
je 0x613a46
mov ecx, dword [edi]
push ebx
push ebp
mov byte [ecx + 0x16], dl
push esi
mov esi, dword [edi + 4]
mov byte [ecx + 0x17], dl
xor eax, eax
cmp esi, edx
mov byte [ecx + 0x18], dl
mov byte [ecx + 0x19], dl
jle 0x6139ff
movzx ebx, byte [ecx + edx]
mov ebp, eax
shr ebp, 0x18
xor ebx, ebp
shl eax, 8
xor eax, dword [ebx*4 + 0x63c6c8]
inc edx
cmp edx, esi
jl 0x6139e3
xor edx, edx
mov esi, dword [edi + 0xc]
cmp esi, edx
jle 0x613a2a
mov edi, dword [edi + 8]
lea esp, [esp]
movzx ebx, byte [edi + edx]
mov ebp, eax
shr ebp, 0x18
xor ebx, ebp
shl eax, 8
xor eax, dword [ebx*4 + 0x63c6c8]
inc edx
cmp edx, esi
jl 0x613a10
mov edx, eax
shr edx, 8
mov byte [ecx + 0x16], al
mov byte [ecx + 0x17], dl
mov edx, eax
pop esi
shr edx, 0x10
shr eax, 0x18
pop ebp
mov byte [ecx + 0x18], dl
mov byte [ecx + 0x19], al
pop ebx
pop edi
ret
Function at 0x4065c9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4065ed
xor eax, eax
test eax, eax
je 0x406600
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406600
xor ecx, ecx
jmp 0x406603
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x40672c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x7a65c4], 0
push esi
jne 0x406763
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x40673d
mov dword [ecx*4 + 0x7a65c0], eax
inc ecx
cmp ecx, 0x100
jl 0x406738
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406794
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7a65c0]
xor eax, esi
inc ecx
dec edx
jne 0x406776
pop edi
not eax
pop esi
ret 0xc

Function at 0x43b63f
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x43b3c1
and ecx, ebx
call fcn.0043b66f
mov ebx, 0x4c109034
xor dword [esi], eax
sub ebx, 1
inc esi
or ecx, ebx
or ebx, ebx
cmp esi, edx
jne fcn.0043b63f
sub ecx, ebx
mov ecx, ecx
sub ecx, 1
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219

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 0x10006e70
Capabilities:
Initialize winsock library

Disassembly:
push esi
push edi
push 0x1000e0c8
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov edi, dword [esp + 0xc]
push 0x10006e50
push 0x1000b990
push 0x1000b9b8
push 0x1000bb14
push edi
call dword [sym.imp.lua54.dll_lua_registermodule]
mov esi, dword [sym.imp.lua54.dll_lua_registerobject]
push 0x1000bc80
push 0x1000bbe0
push 0x100088e0
push str.Socket
push 0x1000e600
push edi
call esi
push 0x1000b420
push 0x1000b3b0
push 0x10003490
push str.Http
push 0x1000e0b0
push edi
call esi
add esp, 0x44
push 0x1000bdb0
push 0x1000bd30
push 0x10009830
push 0x1000bb28
push 0x1000e29c
push edi
call esi
add esp, 0x18
mov eax, 1
pop edi
pop esi
ret
Function at 0x10008c60
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x98
mov eax, dword [0x1000e020]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xa0]
lea ecx, [esp]
push ebx
mov ebx, dword [esp + 0xa8]
push esi
push edi
mov edi, dword [esp + 0xa8]
push 0
push ecx
push 0
push 0
push ebx
push eax
call sub.DNSAPI.dll_DnsQuery_A
mov esi, eax
test esi, esi
jne 0x10008d1b
cmp bx, 1
jne 0x10008cb9
mov eax, dword [esp + 0xc]
push dword [eax + 0x18]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
jmp 0x10008d04
cmp bx, 0x1c
jne 0x10008cfd
push 0x80
lea eax, [esp + 0x24]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x18]
add esp, 0xc
movups xmm0, xmmword [eax + 0x18]
push 0x80
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x18]
push eax
push 0x17
movups xmmword [esp + 0x20], xmm0
call sub.WS2_32.dll_inet_ntop
lea eax, [esp + 0x20]
push eax
jmp 0x10008d04
mov eax, dword [esp + 0xc]
push dword [eax + 0x18]
push edi
call dword [sym.imp.lua54.dll_lua_pushstring]
add esp, 8
push 1
push dword [esp + 0x10]
call sub.DNSAPI.dll_DnsFree
jmp 0x10008d52
cmp esi, 0x251d
je 0x10008d48
cmp esi, 0x25e5
je 0x10008d48
cmp esi, 0x232b
je 0x10008d48
push 0
push edi
call dword [sym.imp.lua54.dll_lua_pushboolean]
add esp, 8
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
jmp 0x10008d52
push edi
call dword [sym.imp.lua54.dll_lua_pushnil]
add esp, 4
mov ecx, dword [esp + 0xa0]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000a106
add esp, 0x98
ret

Function at 0x10009fe0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
push esi
push edi
call dword [sym.imp.lua54.dll_lua_pushlightuserdata]
push 1
push 0x10009e20
push edi
call dword [sym.imp.lua54.dll_lua_pushcclosure]
push 1
push str.Task
push edi
call dword [sym.imp.lua54.dll_lua_pushnewinstance]
push 0xffffffffffffffff
push edi
call dword [sym.imp.lua54.dll_lua_pushvalue]
add esp, 0x28
push 0
push 0
push esi
push dword [esp + 0x20]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
test eax, eax
je 0x1000a048
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.lua54.dll_lua_callk]
add esp, 0x14
pop edi
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
call dword [sym.imp.lua54.dll_luaL_getlasterror]
push 0
push 0xffffffffffffffff
push edi
call dword [sym.imp.lua54.dll_lua_tolstring]
push eax
push str.async_error_:__s
push edi
call dword [sym.imp.lua54.dll_luaL_error]
add esp, 0x20
pop edi
pop esi
ret

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 0x4d2dd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xa4]
test eax, eax
jne 0x4d2e10
push 8
call fcn.00587c03
add esp, 4
test eax, eax
je 0x4d2e00
mov ecx, eax
call fcn.004d0060
mov dword [esi + 0xa4], eax
mov ecx, eax
pop esi
jmp fcn.004d0110
xor eax, eax
mov dword [esi + 0xa4], eax
mov ecx, eax
pop esi
jmp fcn.004d0110
pop esi
ret
Function at 0x58ba36
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x58ba61
test byte [esp + 8], 0x80
je 0x58ba50
and al, 0xfe
jmp 0x58ba52
or al, 1
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x58ba72
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0058af5c
pop ecx
or eax, 0xffffffff
ret
xor eax, eax
ret

Function at 0x58ba75
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x58ba95
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0058af5c
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x58bab8
test byte [esp + 8], 2
je 0x58bab8
call fcn.0058afcf
mov dword [eax], 0xd
call fcn.0058afd8
mov dword [eax], 5
jmp 0x58ba91
xor eax, eax
ret

Function at 0x5932f3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x5e78c0
cmp edx, dword [eax]
je 0x593315
add eax, 8
inc ecx
cmp eax, 0x5e7950
jl 0x593306
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x5e78c0]
jne 0x593443
mov eax, dword [0x8d3ebc]
cmp eax, 1
je 0x59341d
test eax, eax
jne 0x593346
cmp dword [0x5e65b4], 1
je 0x59341d
cmp edx, 0xfc
je 0x593443
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x59337d
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0058fca0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0058e1b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x5933c0
lea eax, [ebp - 0x1a4]
push eax
call fcn.0058e1b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x5c5c8c
push edi
call fcn.00587dd0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0058fca0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0058fcb0
lea eax, [ebp - 0xa0]
push 0x5b9908
push eax
call fcn.0058fcb0
push dword [esi + 0x5e78c4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0058fcb0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00597234
add esp, 0x2c
pop edi
jmp 0x593443
lea eax, [ebp + 8]
lea esi, [esi + 0x5e78c4]
push 0
push eax
push dword [esi]
call fcn.0058e1b0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

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 0x1007d01
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [ebp + 0x10]
jle 0x1007d3e
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x1007d1b
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x1007d5a
dec esi
je 0x1007d53
dec esi
jne 0x1007d5f
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x14a4000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push eax
push ecx
push edx
push ebx
push ebp
push esi
push edi
call 0x14a400c
pop eax
sub eax, 0x8c40c
mov esi, 0
push eax
Function at 0x425760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x21000]
push edi
jmp 0x42577a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x425781
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x425770
mov eax, 1
add ebx, ebx
jne 0x425793
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x425788
jne 0x4257a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x425788
xor ecx, ecx
sub eax, 3
jb 0x4257b8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42582a
mov ebp, eax
add ebx, ebx
jne 0x4257c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4257d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4257f4
inc ecx
add ebx, ebx
jne 0x4257e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4257d5
jne 0x4257f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4257d5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x425814
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x425805
jmp 0x425776
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x425814
add edi, ecx
jmp 0x425776
pop esi
mov edi, esi
mov ecx, 0x3f4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x425832
cmp byte [edi], 3
jne 0x425832
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 0x425837
lea edi, [esi + 0x23000]
mov eax, dword [edi]
or eax, eax
je 0x4258af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3951c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x39558]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x425864
mov ecx, edi
jns 0x425893
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 + 0x39560]
or eax, eax
je 0x4258a9
mov dword [ebx], eax
add ebx, 4
jmp 0x425881
call dword [esi + 0x3955c]
mov ebp, dword [esi + 0x39564]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x4258e3
sub esp, 0xffffff80
jmp 0x40152c

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 0x417240
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x9d4], 0x200
jne 0x417265
mov eax, dword [0x6b09f8]
cmp dword [eax + 0x9ef4], esi
jne 0x417265
cmp dword [eax + 0x9ed4], 1
je 0x4172b1
mov ecx, dword [esi + 0xa50]
test ecx, ecx
je 0x417274
call fcn.00410a80
mov ecx, dword [esi + 0xa4c]
test ecx, ecx
je 0x417283
call fcn.004107b0
mov ecx, dword [esi + 0xa54]
test ecx, ecx
je 0x417292
call fcn.004116e0
mov ecx, dword [esi + 0xa58]
test ecx, ecx
je 0x4172a1
call fcn.00412760
mov ecx, dword [esi + 0xa5c]
test ecx, ecx
je 0x4172b1
pop esi
jmp fcn.00414e10
pop esi
ret