joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cffd
Capabilities:
Accept command line arguments
Set environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
mov ecx, 0x41fdd0
call fcn.0040e088
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov esi, eax
cmp esi, ebx
je 0x40d039
push esi
call fcn.0040b257
push esi
push str.sfxcmd
call edi
push 0x400
mov esi, 0x419ad8
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
push str.sfxname
call edi
call fcn.00406dfb
test eax, eax
je 0x40d06f
push 0x400
push 0x4192d8
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp 0x40d077
xor eax, eax
mov word [0x4192d8], ax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
push 0x64
push edi
mov dword [0x414c78], edi
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x65
push dword [0x414c78]
mov dword [0x4192d4], eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
lea ecx, [ebp - 8]
mov dword [0x4192d0], eax
call fcn.004111d7
push esi
mov ecx, 0x414c88
call fcn.00409821
lea ecx, [ebp - 0x38]
call fcn.00406480
lea ecx, [ebp - 0x20]
call fcn.00406480
push ebx
push 0x40c8eb
push ebx
lea eax, [ebp - 0x38]
mov dword [0x418ecc], eax
push str.STARTDLG
lea eax, [ebp - 0x20]
push edi
mov dword [0x418ec8], eax
call dword [sym.imp.USER32.dll_DialogBoxParamA]
lea ecx, [ebp - 0x20]
mov dword [0x419f80], ebx
mov dword [0x418ec8], ebx
mov dword [0x418ecc], ebx
call fcn.00406499
lea ecx, [ebp - 0x38]
call fcn.00406499
lea ecx, [ebp - 8]
call fcn.0041124f
cmp byte [0x419f88], bl
je 0x40d124
call fcn.0040b4ec
push 0x80
push ebx
push 0x419ee8
call fcn.0040a1c8
cmp dword [0x41a824], ebx
jbe 0x40d147
push dword [0x41a818]
call fcn.0040a146
push dword [0x4192d4]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
mov eax, dword [0x4192d0]
cmp eax, ebx
je 0x40d161
push eax
call esi
cmp dword [0x414c7c], ebx
jne 0x40d180
cmp dword [0x419f78], ebx
je 0x40d180
push 0xff
mov ecx, 0x414c7c
call fcn.004032d1
mov eax, dword [0x41a828]
mov dword [0x419f78], 2
cmp eax, ebx
je 0x40d199
push eax
call fcn.0040b4ad
call dword [sym.imp.ole32.dll_OleUninitialize]
push dword [0x414c7c]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x100759c4
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x100a6870], 0
mov byte [0x100a6874], 0
mov dword [0x100a6864], 0xe16
mov dword [0x100a6868], 0x299f
mov dword [0x100a686c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10075a26
xor eax, eax
mov dword [0x100a686c], 0
mov dword [ebp - 0x20], eax
jmp 0x10075a62
mov eax, dword [ebp - 0x1c]
mov dword [0x100a6868], 0x4b1
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x100a6864], 0xfffff44e
mov eax, dword [0x100a686c]
add eax, 1
mov dword [0x100a686c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10075a26
jmp 0x10075a15
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x100a6878], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x100a6870]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x100a6878], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x100a6870], edx
mov dword [0x100a6868], 0x37e
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x100a6874], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov dword [0x100a6868], 0x2d3
mov cl, byte [0x100a6874]
mov esi, dword [0x100a6870]
mov byte [ebx + esi], cl
mov esi, dword [0x100a6868]
add esi, 0xffffe43a
mov dword [0x100a6864], esi
mov esi, dword [0x100a686c]
add esi, 1
mov dword [0x100a686c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x10075a62
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10075edc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov ecx, dword [0x100a6864]
add ecx, 0x7fc
mov dword [0x100a6868], ecx
mov dword [ebp - 0x10], eax
call fcn.10075d0d
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x10075f2a
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x100a6868], 0x1b36
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x100a6864], 0xed
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x10076068
jmp 0x10075ffe
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov dword [0x100a6864], 0xfffff4d9
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov dword [0x100a6868], 0x1932
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x34], edi
jmp 0x10076068
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x40]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x46], cl
je 0x10076037
mov eax, dword [ebp - 0x44]
add eax, 1
mov cl, byte [ebp - 0x45]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x46]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x3c], eax
jne 0x10075fab
jmp 0x10076037
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [0x100a6868], 0x8e9
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edx
jmp 0x10075fab
mov al, byte [ebp - 0x46]
test al, 1
jne 0x10075f79
jmp 0x10076044
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 2
mov edx, dword [ebp - 0x54]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x34], eax
jb 0x1007600e
mov eax, dword [ebp - 0x34]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10076092
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
call fcn.10001092
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x100760d3
jmp 0x10076203
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x1c], ecx
je 0x10076195
jmp 0x10076181
lea eax, [esp + 0x38]
mov dword [0x100a6864], 0x104f
mov dword [esp + 0x18], eax
call fcn.100762ae
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x14], ecx
jne 0x100761fb
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.10075610
lea ecx, [0x10076813]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x38], edx
mov dword [esp + 0x84], 0x122400
mov edx, dword [0x100a6850]
mov dword [esp + 0x7c], edx
mov edx, dword [0x100a6854]
mov dword [esp + 0x44], edx
mov edx, dword [0x100a6858]
mov dword [esp + 0x54], edx
mov edx, dword [0x100a685c]
mov dword [esp + 0x3c], edx
mov edx, dword [0x100a6860]
mov dword [esp + 0x48], edx
mov dword [0x100a6864], 0x2085
mov dword [0x100a6868], 0xc5b
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0xc]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
je 0x100760b6
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0xc], eax
jmp 0x1007616e
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x74], ecx
mov dword [0x100a6868], 0x983
mov edx, dword [esp + 0x1c]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x5c], esi
mov dword [0x100a6864], 0xd5e
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.100764ea
mov dword [0x100a6864], 0x1bd4
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x100a6868], 0x5f1
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x100762ae
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x34
mov dword [ebp - 0xc], 0
mov dword [0x100a6864], 0x1456
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [0x100a6864]
add edx, 0x6ec
mov dword [0x100a6864], edx
mov esi, dword [ebp - 0xc]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ecx
jmp 0x1007632b
mov eax, 0x26a6
mov dword [0x100a6864], 0x26a6
mov ecx, dword [ebp - 0x20]
add ecx, 1
cmp ecx, 0x104
mov edx, eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x28], ecx
jge 0x10076352
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov edx, ecx
add edx, 0xffffe194
mov esi, dword [ebp - 0x18]
cmp word [esi + eax*2], 0
mov edi, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edi
jne 0x100762fb
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
mov dword [0x100a6868], edx
add ecx, 0xffffedf6
mov dword [0x100a6864], ecx
mov esi, dword [ebp - 0x18]
cmp word [esi + eax*2 - 0x1a], 0x6c
mov edi, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
jne 0x10076424
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x30]
cmp word [eax + ecx*2 - 0x18], 0x6f
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], edx
jne 0x10076424
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x30]
cmp word [eax + ecx*2 - 0x16], 0x61
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], edx
jne 0x10076424
mov eax, 0xd0a
mov dword [0x100a6864], 0xd0a
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x38], eax
jne 0x10076424
mov eax, 0xd0a
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x38], eax
jne 0x10076424
mov eax, 0xd0a
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x38], eax
jne 0x10076424
mov eax, 1
mov ecx, 0xd0a
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
je 0x10076436
mov eax, dword [ebp - 0x38]
xor ecx, ecx
add eax, 0xffffd9cd
mov dword [0x100a6864], eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
add esp, 0x34
pop esi
pop edi
pop ebp
ret
Function at 0x100764ea
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x100a6864], 0x19d9
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x10076515
mov eax, dword [ebp - 0x30]
add esp, 0x4c
pop ebp
ret
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x10079678]
mov dl, byte [eax + 0x10079649]
sub dl, cl
mov byte [ebp + eax - 0x20], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x2c], eax
jne 0x10076515
lea eax, [ebp - 0x20]
mov dword [0x100a6864], 0xaed
mov dword [ebp - 0x34], eax
call fcn.10076a32
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10076681
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], ecx
je 0x1007650d
mov eax, dword [ebp - 0x38]
mov ecx, dword [0x100a6864]
add ecx, 0xffffeb0c
mov dword [0x100a6864], ecx
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x100a6864], 0xc0e
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.10075b1d
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x20], ecx
mov dword [0x100a6868], 0x1f09
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x50], ecx
mov dword [0x100a6864], 0x431
cmp ecx, 0
mov dword [ebp - 0x30], eax
je 0x1007650d
mov eax, dword [ebp - 0x3c]
add eax, 0x1099
mov dword [0x100a6864], 0x1cbc
mov dword [ebp - 0x30], eax
jmp 0x1007650d
Function at 0x1007686e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0x24d8
xor ebx, ebx
mov dword [0x100a686c], 0
mov dword [0x100a6870], 0
mov dword [0x100a687c], 0
mov dword [0x100a6864], 0x237b
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, ebx
mov dword [ebp - 0x14], eax
mov eax, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x10076a22
jmp 0x100768ed
mov eax, dword [0x100a6864]
add eax, 0x15d
mov dword [ebp - 0x2c], eax
jmp 0x10076a22
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x100a686c], edx
mov dword [0x100a6864], 0xfffffe77
mov ecx, dword [ebp - 0x24]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x34]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x100a6870], edx
mov dword [0x100a6864], 0xe10
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x100a6874], cl
mov dword [0x100a6864], 0x1452
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x100a6874]
mov edx, dword [0x100a6870]
mov byte [edi + edx], cl
mov dword [0x100a6868], 0x1380
mov edx, dword [0x100a686c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x100a6870]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov edx, dword [0x100a6864]
mov ecx, edx
add ecx, 0x1940
mov dword [0x100a6864], ecx
and ebx, 0xff
mov dword [0x100a687c], ebx
mov cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x30]
mov ch, byte [ebx + esi]
mov bl, cl
add bl, byte [0x100a6881]
mov byte [0x100a6880], bl
mov byte [0x100a6881], ch
mov byte [0x100a6882], cl
xor ch, cl
add edx, 0xffffe7f7
mov dword [0x100a6868], edx
mov dword [0x100a6864], 0x1f87
mov edx, dword [ebp - 0x20]
mov byte [edx + esi], ch
add esi, 1
mov edx, dword [ebp - 0x10]
cmp esi, edx
mov dword [ebp - 0x3c], esi
je 0x100768db
mov eax, dword [0x100a686c]
mov ecx, dword [0x100a6870]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], edx
jmp 0x100768ed
mov eax, dword [ebp - 0x2c]
mov dword [0x100a6864], eax
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x91dd90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4c0000]
push edi
jmp 0x91ddaa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x91ddb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x91dda0
mov eax, 1
add ebx, ebx
jne 0x91ddc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x91ddd4
jne 0x91ddf3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x91ddf3
dec eax
add ebx, ebx
jne 0x91dde0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x91ddb8
add ebx, ebx
jne 0x91ddef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x91de45
xor ecx, ecx
sub eax, 3
jb 0x91de0b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x91de7a
sar eax, 1
mov ebp, eax
jmp 0x91de16
add ebx, ebx
jne 0x91de16
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x91dde4
inc ecx
add ebx, ebx
jne 0x91de24
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x91dde4
add ebx, ebx
jne 0x91de31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x91de26
jne 0x91de42
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x91de26
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x91de64
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x91de56
jmp 0x91dda6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x91de64
add edi, ecx
jmp 0x91dda6
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x91de82
cmp byte [edi], 0x11
jne 0x91de82
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 0x91de87
lea edi, [esi + 0x516000]
mov eax, dword [edi]
or eax, eax
je 0x91deff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x955e78]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x955ff4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x91deb4
mov ecx, edi
jns 0x91dee3
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 + 0x955ff8]
or eax, eax
je 0x91def9
mov dword [ebx], eax
add ebx, 4
jmp 0x91ded1
call dword [esi + 0x956008]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x91df30
cmp al, 0xef
ja 0x91df23
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x91df05
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x91df12
mov ebp, dword [esi + 0x955ffc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x91df64
sub esp, 0xffffff80
jmp 0x420577
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x7f3c5b8e
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x1c5b2286
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x40337c
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.004054d0
test esi, esi
jne 0x4033b2
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.004055c0
jmp 0x4033d0
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00403280
mov edi, eax
test esi, esi
je 0x4033d0
cmp dword [ebx], 0
je 0x4033d0
dec esi
jmp 0x4033b9
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403404
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4b7008], 0x8088405
inc edx
mov dword [ebx + 0x4b7008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x404340
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4b7024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4043d8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4043b8
xor eax, eax
push ebp
push 0x4043b1
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 0x4043f4
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 0x4043b8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x4b7024]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4b7024], ax
mov esp, ebp
pop ebp
ret

Function at 0x40527c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4be04c], 0
je 0x4052dd
cmp word [0x4be220], 0xd7b2
jne 0x4052a5
cmp dword [0x4be228], 0
jbe 0x4052a5
mov eax, 0x4be21c
call dword [0x4be238]
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 0x405304
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4b7030], 0
jne 0x4052f9
push 0
push 0x4b7768
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x405454
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x4b7038], 0
je 0x40547a
mov edx, esi
mov eax, ebx
call dword [0x4b7038]
jmp 0x405489
mov eax, 8
call fcn.00402f90
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4be04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x40541c
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc