joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a01a0
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [ebx]
mov ebp, ebx
push edi
mov ecx, dword [esi + 0x1c]
sub ebp, ecx
cmp eax, 6
je 0x5a01c6
push ebx
push esi
call fcn.005a04b0
add esp, 8
mov ebx, eax
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x24]
add eax, 0x18
cmp eax, ecx
jne 0x5a01dc
push esi
call fcn.005a0320
add esp, 4
mov eax, dword [ebx + 8]
mov cl, byte [eax + 6]
test cl, cl
jne 0x5a0298
mov edi, dword [eax + 0xc]
mov al, byte [edi + 0x46]
test al, al
je 0x5a0207
xor ecx, ecx
add ebx, 0x10
mov cl, byte [edi + 0x45]
push ebx
push ecx
push esi
call fcn.005a0370
add esp, 0xc
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 8]
xor eax, eax
sub edx, ecx
mov al, byte [edi + 0x47]
mov ecx, eax
shl ecx, 4
cmp edx, ecx
jg 0x5a0227
push eax
push esi
call fcn.005a00a0
add esp, 8
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x1c]
add eax, 0x18
lea ecx, [edx + ebp + 0x10]
mov dword [esi + 0x14], eax
mov dword [eax], ecx
mov edx, dword [esi + 0x14]
mov ecx, dword [edx]
xor edx, edx
mov dword [esi + 0xc], ecx
mov dl, byte [edi + 0x47]
shl edx, 4
add edx, ecx
mov dword [eax + 4], edx
mov ecx, dword [edi + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [eax + 4]
mov dword [eax + 0x14], 0
mov dword [eax + 8], 8
mov edx, dword [esi + 8]
cmp edx, ecx
jae 0x5a028b
mov edx, 0x10
mov ecx, dword [esi + 8]
mov dword [ecx], 0
mov ebx, dword [esi + 8]
add ebx, edx
mov dword [esi + 8], ebx
mov edi, dword [eax + 4]
mov ecx, ebx
cmp ecx, edi
jb 0x5a0271
mov edx, dword [eax + 4]
pop edi
mov dword [esi + 8], edx
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 8]
sub eax, edx
cmp eax, 0x140
jg 0x5a02b2
push 0x14
push esi
call fcn.005a00a0
add esp, 8
mov edi, dword [esi + 0x14]
mov ecx, dword [esi + 0x1c]
add edi, 0x18
mov eax, edi
lea edx, [ecx + ebp + 0x10]
mov dword [esi + 0x14], edi
mov dword [eax], edx
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx]
mov ecx, dword [esi + 8]
add ecx, 0x140
mov dword [esi + 0xc], edx
mov dword [eax + 4], ecx
mov ecx, 1
mov dword [eax + 8], ecx
mov al, byte [esi + 0x30]
test cl, al
je 0x5a02f6
push 0xffffffffffffffff
push 0
push esi
call fcn.005a00d0
add esp, 0xc
mov edx, dword [esi + 0xc]
push esi
mov eax, dword [edx - 8]
call dword [eax + 0xc]
add esp, 4
shl eax, 4
mov ecx, eax
mov eax, dword [esi + 8]
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
ret
Function at 0x5a39e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov eax, ebp
push esi
shr eax, 5
inc eax
push edi
cmp ebp, eax
mov edx, ebp
mov esi, ebp
jb 0x5a3a16
xor ecx, ecx
mov edi, edx
mov cl, byte [ebx + esi - 1]
sub esi, eax
shl edi, 5
add ecx, edi
mov edi, edx
shr edi, 2
add ecx, edi
xor edx, ecx
cmp esi, eax
jae 0x5a39fa
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
dec ecx
and ecx, edx
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x5a3a48
cmp dword [eax + 0xc], ebp
jne 0x5a3a42
mov esi, ebx
mov ecx, ebp
lea edi, [eax + 0x10]
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
je 0x5a3a58
mov ebx, dword [esp + 0x18]
mov eax, dword [eax]
test eax, eax
jne 0x5a3a2c
mov ecx, dword [esp + 0x14]
push edx
push ebp
push ebx
push ecx
call fcn.005a3a60
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x5b8929
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fe4
call 0x604f00
mov ecx, dword [ebp + 0x18]
push ebx
push esi
push edi
test ch, 0xc
jne 0x5b8aef
mov edx, dword [ebp + 0x14]
mov eax, 0x400000
test eax, edx
jne 0x5b8a83
test eax, ecx
je 0x5b8a83
mov eax, dword [ebp + 0x10]
push 0x40
cdq
sub eax, edx
pop ecx
sar eax, 1
mov ebx, dword [ebp + 0x1c]
lea eax, [eax + eax*8]
shl eax, 2
cdq
idiv ecx
lea ecx, [ebx + ebx*8]
shl ecx, 2
mov dword [ebp + 0x10], eax
cdq
idiv ecx
cmp ebx, 1
jne 0x5b899d
push ebx
push 0x40
push ecx
push eax
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.005c7c5f
add esp, 0x18
jmp 0x5b8b28
cmp ebx, 2
jne 0x5b89bf
test byte [ebp + 0x1b], 4
jne 0x5b89bf
push 0x40
push ecx
push eax
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.005c7d76
add esp, 0x14
jmp 0x5b8b28
test ebx, ebx
jle 0x5b8b28
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
cdq
idiv ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
sub eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x5b89e9
mov edi, edx
and edi, 0x10
je 0x5b8a8f
test cl, 8
jne 0x5b8a99
test dl, 8
je 0x5b8adc
test cl, 0x10
je 0x5b8adc
test dl, 8
je 0x5b8ab9
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
sar ecx, 1
test ecx, ecx
jle 0x5b8ab9
lea eax, [edx + 1]
mov esi, ecx
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
inc eax
dec esi
jne 0x5b8aaf
test edi, edi
je 0x5b8b28
mov ecx, dword [ebp + 8]
xor eax, eax
cmp dword [ebp + 0x10], eax
jle 0x5b8b28
mov esi, dword [ebp + 8]
xor edx, edx
mov dh, byte [eax + esi]
mov word [ecx], dx
inc ecx
inc ecx
inc eax
cmp eax, dword [ebp + 0x10]
jl 0x5b8ac7
jmp 0x5b8b28
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call 0x607a40
add esp, 0xc
jmp 0x5b8b28
test cl, 8
je 0x5b8b0b
shr ecx, 0xb
and cl, 1
push ecx
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.005c7998
jmp 0x5b8b25
test cl, 0x10
je 0x5b8b28
shr ecx, 0xb
and cl, 1
push ecx
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.005c7acf
add esp, 0x10
Function at 0x5bec0f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov eax, dword [esi + 0x5c]
cmp eax, edi
je 0x5bef9f
test dword [esi + 0x40], 0x82000
jne 0x5bef93
test byte [esi + 0x3c], 0x20
jne 0x5bef9f
test byte [eax + 0x124], 0x40
jne 0x5bef9f
cmp dword [0x654710], edi
mov dword [ebp - 0xc], edi
fld1
mov dword [ebp + 8], 0x80
mov dword [ebp - 8], edi
fstp dword [ebp - 4]
jle 0x5bef29
fld1
mov dword [esi + 0x78], 0xff
fstp dword [esi + 0x7c]

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

Disassembly:
add byte [ebx], bh
enter 0x37e, 0xffffffffffffff89
inc ebp
or bl, bl
inc ebp
or byte [ecx + str.pHYs], ah

Function at 0x5c5895
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
cmp eax, ecx
je 0x5c592c
mov edx, dword [eax]
push ebx
push esi
push edi
mov byte [edx + 0x16], cl
mov edx, dword [eax]
mov byte [edx + 0x17], cl
mov edx, dword [eax]
mov byte [edx + 0x18], cl
mov edx, dword [eax]
mov byte [edx + 0x19], cl
mov esi, dword [eax + 4]
xor edx, edx
cmp esi, ecx
jle 0x5c58e1
mov edi, dword [eax]
mov ebx, ecx
shr ebx, 0x18
movzx edi, byte [edi + edx]
xor edi, ebx
shl ecx, 8
mov edi, dword [edi*4 + 0x657c48]
xor ecx, edi
inc edx
cmp edx, esi
jl 0x5c58c3
xor edx, edx
cmp dword [eax + 0xc], edx
jle 0x5c5908
mov esi, dword [eax + 8]
movzx edi, byte [esi + edx]
mov ebx, ecx
shr ebx, 0x18
xor edi, ebx
shl ecx, 8
mov edi, dword [edi*4 + 0x657c48]
xor ecx, edi
inc edx
cmp edx, dword [eax + 0xc]
jl 0x5c58eb
mov edx, dword [eax]
pop edi
mov byte [edx + 0x16], cl
mov esi, dword [eax]
mov edx, ecx
shr edx, 8
mov byte [esi + 0x17], dl
mov esi, dword [eax]
mov edx, ecx
shr edx, 0x10
mov byte [esi + 0x18], dl
mov eax, dword [eax]
shr ecx, 0x18
pop esi
mov byte [eax + 0x19], cl
pop ebx
ret
Function at 0x5e24b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x6b8500]
push ebx
push esi
push edi
push eax
call dword [0x5ec220]
mov ebx, eax
test ebx, ebx
jne 0x5e24cc
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret
lea ecx, [ebx + 0xc88]
push ebp
push ecx
call fcn.005e8330
mov ebp, dword [esp + 0x18]
add esp, 4
xor edi, edi
call fcn.005e8280
xor edx, edx
mov esi, eax
mov dl, byte [edi + ebp]
xor esi, edx
push esi
call fcn.005e82b0
add esp, 4
inc edi
cmp edi, 0xc
jl 0x5e24e2
mov al, byte [ebx + 0xafc]
pop ebp
test al, 8
je 0x5e2518
xor eax, eax
mov ax, word [ebx + 0xb00]
shr eax, 8
jmp 0x5e252d
mov eax, dword [ebx + 0xc4a]
xor ecx, ecx
shr eax, 0x10
mov cl, ah
and ecx, 0xff
mov eax, ecx
and esi, 0xffff
cmp esi, eax
je 0x5e253e
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret
mov eax, dword [ebx + 0x8cea]
mov ecx, dword [ebx + 0xab2]
cmp eax, ecx
jbe 0x5e2550
mov eax, ecx
mov esi, dword [ebx + 0x8ce6]
mov edx, eax
dec eax
test edx, edx
je 0x5e257c
lea edi, [eax + 1]
call fcn.005e8280
mov ebx, eax
xor eax, eax
mov al, byte [esi]
xor ebx, eax
push ebx
call fcn.005e82b0
add esp, 4
mov byte [esi], bl
inc esi
dec edi
jne 0x5e2560
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x5e82b0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [0x6b8500]
push eax
call dword [0x5ec220]
test eax, eax
je 0x5e8328
mov edx, dword [eax + 0xcca]
push esi
mov esi, dword [esp + 8]
mov ecx, edx
xor ecx, esi
and ecx, 0xff
shr edx, 8
mov ecx, dword [ecx*4 + 0x663064]
xor ecx, edx
mov edx, dword [eax + 0xcce]
mov dword [eax + 0xcca], ecx
and ecx, 0xff
add ecx, edx
mov edx, dword [eax + 0xcd2]
imul ecx, ecx, 0x8088405
inc ecx
mov esi, edx
mov dword [eax + 0xcce], ecx
and esi, 0xff
shr ecx, 0x18
xor ecx, esi
pop esi
shr edx, 8
mov ecx, dword [ecx*4 + 0x663064]
xor ecx, edx
mov dword [eax + 0xcd2], ecx
ret
Function at 0x401000
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
test eax, eax
jne 0x40100a
mov eax, 1
ret
push esi
push eax
push 0
push 0x43a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x401024
lea eax, [esi + 2]
pop esi
ret
push ebx
push edi
push str.LoadLibraryA
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
mov eax, str.DedicatedFunctions.dll
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401047
push 4
push 0x3000
sub eax, edx
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
mov eax, str.DedicatedFunctions.dll
lea ecx, [eax + 1]
jmp 0x401070
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401070
push 0
sub eax, ecx
push eax
push str.DedicatedFunctions.dll
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 0
push edi
push ebx
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
xor eax, eax
pop esi
ret
Function at 0x4010b0
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x188], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x44
lea eax, [esp + 0x24]
push 0
push eax
mov dword [esp + 0x18], ebx
call sub.MSVCR90.dll_memset
mov esi, dword [sym.imp.MSVCR90.dll_printf]
push str.Create_process..._n
call esi
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push str.Game.exe
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, 1
jne 0x40120d
mov eax, dword [esp + 0x18]
call fcn.00401000
cmp byte [0x403370], 1
je 0x4011ef
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401144
mov ebx, dword [esp + 0xc]
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x40116f
push str.ServerProcessInvalid__Restart.._n
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 4
push 0x3e8
call edi
push ebx
call fcn.004010b0
lea eax, [esp + 0x68]
push eax
push esi
mov dword [esp + 0x70], 0x128
xor bl, bl
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x4011af
jmp 0x401190
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x70]
jne 0x40119c
mov bl, 1
lea edx, [esp + 0x68]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401190
test bl, bl
jne 0x4011ce
push str.ServerProcessEnd__Restart.._n
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 4
push 0x3e8
call edi
mov eax, dword [esp + 0xc]
push eax
call fcn.004010b0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x3e8
call edi
cmp byte [0x403370], 1
jne 0x401140
mov esi, dword [sym.imp.MSVCR90.dll_printf]
mov ecx, dword [esp + 0x18]
push ecx
push str.CloseProcess_id:_i_n
call esi
mov edx, dword [esp + 0x18]
add esp, 8
push 1
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x401228
push str.Failed_to_create_process__n
call esi
add esp, 4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call fcn.004010b0
mov ecx, dword [esp + 0x194]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040164a
mov esp, ebp
pop ebp
ret 4
Function at 0x40164a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x401654
repz ret
jmp fcn.0040190c
Function at 0x4270d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1e000]
push edi
jmp 0x4270ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4270f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4270e0
mov eax, 1
add ebx, ebx
jne 0x427103
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4270f8
jne 0x427114
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4270f8
xor ecx, ecx
sub eax, 3
jb 0x427128
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42719a
mov ebp, eax
add ebx, ebx
jne 0x427133
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x427140
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x427164
inc ecx
add ebx, ebx
jne 0x427150
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x427145
jne 0x427161
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427145
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x427184
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x427175
jmp 0x4270e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x427184
add edi, ecx
jmp 0x4270e6
pop esi
mov edi, esi
mov ecx, 0xfc
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4271a2
cmp byte [edi], 4
jne 0x4271a2
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 0x4271a7
lea edi, [esi + 0x25000]
mov eax, dword [edi]
or eax, eax
je 0x42721f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x27634]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x27670]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4271d4
mov ecx, edi
jns 0x427203
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 + 0x27678]
or eax, eax
je 0x427219
mov dword [ebx], eax
add ebx, 4
jmp 0x4271f1
call dword [esi + 0x27674]
mov ebp, dword [esi + 0x2767c]
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 0x427253
sub esp, 0xffffff80
jmp 0x402714
Function at 0x405dc0
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x405e0c
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
ror byte [ecx - 0x35c4f7b3], 1
ror byte [ecx - 0x35c4f7b3], 1
jae 0x405e07
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x405df1
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x405df9
cmp edx, ebx
jne 0x405f47
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x405dc8
add eax, dword [eax + 4]
jmp 0x405db5
mov dword [ebp + 0xc], ebx
jmp 0x405e17

Function at 0x405e80
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x405e2f
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x405e4d
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
add dword [eax], eax
add byte [ebp + 0xf8c784], cl
add byte [eax], al
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x405eab
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x405e92
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x405e9b
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x405ea5
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x405e87
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x405e11
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x405ef8
dec eax
je 0x405eef
sub eax, 3
je 0x405ee6
mov dword [ebp - 4], 0x40
jmp 0x405f15
mov dword [ebp - 4], 4
jmp 0x405efb
mov dword [ebp - 4], 0x20
jmp 0x405efb
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x405f47
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x405ec7
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00405758
sbb esp, esp
std
add al, 0xff
jne 0x405f52
push 1
push esi
call edi
mov eax, esi
jmp 0x405f53
rcr byte [edi + 0x5e], 0x5b
Function at 0x406730
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
call dword [esi + eax*8]
test dword [ebx + 0x55fffffc], ebp
lea eax, [ebp - 0x36c]
push eax
call fcn.00405768
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040571d
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.00405758
jbe 0x4066dc
lds eax, [eax + ebp*2 + 4]
add dword [eax], eax
add byte [ebp - 0x12b7b], cl
call dword [eax - 1]
xchg ebp, eax
sub al, 0xfc
invalid
Function at 0x4daea0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x98000]
push edi
jmp 0x4daeba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4daec1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4daeb0
mov eax, 1
add ebx, ebx
jne 0x4daed3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4daee4
jne 0x4daf03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4daf03
dec eax
add ebx, ebx
jne 0x4daef0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4daec8
add ebx, ebx
jne 0x4daeff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4daf55
xor ecx, ecx
sub eax, 3
jb 0x4daf1b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4daf8a
sar eax, 1
mov ebp, eax
jmp 0x4daf26
add ebx, ebx
jne 0x4daf26
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4daef4
inc ecx
add ebx, ebx
jne 0x4daf34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4daef4
add ebx, ebx
jne 0x4daf41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4daf36
jne 0x4daf52
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4daf36
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4daf74
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4daf66
jmp 0x4daeb6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4daf74
add edi, ecx
jmp 0x4daeb6
pop esi
mov edi, esi
mov ecx, 0x379b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4daf92
cmp byte [edi], 0x13
jne 0x4daf92
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 0x4daf97
lea edi, [esi + 0xd6000]
mov eax, dword [edi]
or eax, eax
je 0x4db00f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x104588]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1046dc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4dafc4
mov ecx, edi
jns 0x4daff3
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 + 0x1046e0]
or eax, eax
je 0x4db009
mov dword [ebx], eax
add ebx, 4
jmp 0x4dafe1
call dword [esi + 0x1046f0]
mov ebp, dword [esi + 0x1046e4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x4db043
sub esp, 0xffffff80
jmp 0x4165c1
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x59552301
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x238567be
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x403e57
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
push edi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push dword [ebp + 0x18]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
cmp byte [edi], 0x25
jne 0x403ed4
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x104]
push eax
call fcn.00403093
lea eax, [ebp + eax - 0x105]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_CharPrevA]
cmp byte [eax], 0x25
jne 0x403ebc
and byte [eax], 0
push dword [ebp + 0x1c]
lea eax, [ebp - 0x104]
push dword [ebp + 0x18]
push edi
push dword [ebp + 0x10]
push eax
push 0x4016ec
call esi
pop edi
pop esi
leave
ret 0x18

Function at 0x4041d7
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 0xc]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40422c
push esi
push esi
push esi
lea eax, [ebp - 4]
push esi
push eax
push esi
lea eax, [ebp + 8]
push esi
push eax
push esi
push esi
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x404223
cmp dword [ebp + 8], esi
jne 0x404223
cmp dword [ebp - 4], esi
jne 0x404223
push 1
pop esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 8

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219