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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push es
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
cmp ecx, ebx
jge 0x10045c36
xchg ebx, ecx
cmp dword [edx + 8], 0
je 0x10045c71
cmp eax, dword [edx + 0x14]
jl 0x10045dca
cmp eax, dword [edx + 0x18]
jge 0x10045dca
cmp ebx, dword [edx + 0xc]
jge 0x10045c5f
cmp ecx, dword [edx + 0xc]
jl 0x10045dca
mov ebx, dword [edx + 0xc]
cmp ecx, dword [edx + 0x10]
jl 0x10045c71
cmp ebx, dword [edx + 0x10]
jge 0x10045dca
mov ecx, dword [edx + 0x10]
dec ecx
sub ecx, ebx
inc ecx
mov es, word [edx + 0x3c]
call dword [edx + 0x20]
lea edi, [eax + ebx*2]
cmp dword [sym.alleg40.dll__drawing_mode], 0
je 0x10045da8
cmp dword [sym.alleg40.dll__drawing_mode], 1
jne 0x10045cbc
mov eax, dword [ebp + 0x10]
call dword [edx + 0x24]
lea esi, [eax + ebx*2]
mov bx, word [ebp + 0x18]
mov ax, word es:[esi]
xor ax, bx
mov word es:[edi], ax
add esi, 2
add edi, 2
dec ecx
jg 0x10045ca0
jmp 0x10045dca
cmp dword [sym.alleg40.dll__drawing_mode], 5
jne 0x10045d00
mov eax, dword [ebp + 0x10]
call dword [edx + 0x24]
lea esi, [eax + ebx*2]
mov dword [ebp + 0x14], ecx
lea esi, [esi]
mov ax, word es:[esi]
push dword [sym.alleg40.dll__blender_alpha]
push eax
push dword [ebp + 0x18]
call dword [sym.alleg40.dll__blender_func16]
add esp, 0xc
mov word es:[edi], ax
add esi, 2
add edi, 2
dec dword [ebp + 0x14]
jg 0x10045cd4
jmp 0x10045dca
mov eax, dword [ebp + 0x10]
sub ebx, dword [sym.alleg40.dll__drawing_x_anchor]
and ebx, dword [sym.alleg40.dll__drawing_x_mask]
sub eax, dword [sym.alleg40.dll__drawing_y_anchor]
and eax, dword [sym.alleg40.dll__drawing_y_mask]
mov edx, dword [sym.alleg40.dll__drawing_pattern]
mov eax, dword [edx + eax*4 + 0x40]
mov esi, eax
mov edx, dword [sym.alleg40.dll__drawing_x_mask]
cmp dword [sym.alleg40.dll__drawing_mode], 2
je 0x10045d60
cmp dword [sym.alleg40.dll__drawing_mode], 3
je 0x10045d74
nop
mov ax, word [esi + ebx*2]
cmp ax, 0xf81f
je 0x10045d52
mov ax, word [ebp + 0x18]
mov word es:[edi], ax
inc ebx
and ebx, edx
add edi, 2
dec ecx
jg 0x10045d40
jmp 0x10045dca
mov ax, word [esi + ebx*2]
mov word es:[edi], ax
inc ebx
and ebx, edx
add edi, 2
dec ecx
jg 0x10045d60
jmp 0x10045dca
mov ax, word [esi + ebx*2]
cmp ax, 0xf81f
je 0x10045d94
mov ax, word [ebp + 0x18]
mov word es:[edi], ax
inc ebx
and ebx, edx
add edi, 2
dec ecx
jg 0x10045d74
jmp 0x10045dca
mov word es:[edi], 0
inc ebx
and ebx, edx
add edi, 2
dec ecx
jg 0x10045d74
jmp 0x10045dca
mov ax, word [ebp + 0x18]
shl eax, 0x10
mov ax, word [ebp + 0x18]
cld
test edi, 2
je 0x10045dbf
stosw word es:[edi], ax
dec ecx
shr ecx, 1
je 0x10045dc6
rep stosd dword es:[edi], eax
jae 0x10045dca
stosw word es:[edi], ax
pop es
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
call dword [eax + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004648c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push es
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
cmp ecx, ebx
jge 0x100464a6
xchg ebx, ecx
cmp dword [edx + 8], 0
je 0x100464e1
cmp eax, dword [edx + 0x14]
jl 0x1004660e
cmp eax, dword [edx + 0x18]
jge 0x1004660e
cmp ebx, dword [edx + 0xc]
jge 0x100464cf
cmp ecx, dword [edx + 0xc]
jl 0x1004660e
mov ebx, dword [edx + 0xc]
cmp ecx, dword [edx + 0x10]
jl 0x100464e1
cmp ebx, dword [edx + 0x10]
jge 0x1004660e
mov ecx, dword [edx + 0x10]
dec ecx
sub ecx, ebx
inc ecx
mov es, word [edx + 0x3c]
call dword [edx + 0x20]
lea edi, [eax + ebx*4]
cmp dword [sym.alleg40.dll__drawing_mode], 0
je 0x10046608
cmp dword [sym.alleg40.dll__drawing_mode], 1
jne 0x10046528
mov eax, dword [ebp + 0x10]
call dword [edx + 0x24]
lea esi, [eax + ebx*4]
mov ebx, dword [ebp + 0x18]
nop
mov eax, dword es:[esi]
xor eax, ebx
mov dword es:[edi], eax
add esi, 4
add edi, 4
dec ecx
jg 0x10046510
jmp 0x1004660e
cmp dword [sym.alleg40.dll__drawing_mode], 5
jne 0x10046568
mov eax, dword [ebp + 0x10]
call dword [edx + 0x24]
lea esi, [eax + ebx*4]
mov dword [ebp + 0x14], ecx
lea esi, [esi]
push dword [sym.alleg40.dll__blender_alpha]
push dword es:[esi]
push dword [ebp + 0x18]
call dword [sym.alleg40.dll__blender_func32]
add esp, 0xc
mov dword es:[edi], eax
add esi, 4
add edi, 4
dec dword [ebp + 0x14]
jg 0x10046540
jmp 0x1004660e
mov eax, dword [ebp + 0x10]
sub ebx, dword [sym.alleg40.dll__drawing_x_anchor]
and ebx, dword [sym.alleg40.dll__drawing_x_mask]
sub eax, dword [sym.alleg40.dll__drawing_y_anchor]
and eax, dword [sym.alleg40.dll__drawing_y_mask]
mov edx, dword [sym.alleg40.dll__drawing_pattern]
mov eax, dword [edx + eax*4 + 0x40]
mov esi, eax
mov edx, dword [sym.alleg40.dll__drawing_x_mask]
cmp dword [sym.alleg40.dll__drawing_mode], 2
je 0x100465c4
cmp dword [sym.alleg40.dll__drawing_mode], 3
je 0x100465d8
nop
mov eax, dword [esi + ebx*4]
cmp eax, 0xff00ff
je 0x100465b8
mov eax, dword [ebp + 0x18]
mov dword es:[edi], eax
inc ebx
and ebx, edx
add edi, 4
dec ecx
jg 0x100465a8
jmp 0x1004660e
mov eax, dword [esi + ebx*4]
mov dword es:[edi], eax
inc ebx
and ebx, edx
add edi, 4
dec ecx
jg 0x100465c4
jmp 0x1004660e
mov eax, dword [esi + ebx*4]
cmp eax, 0xff00ff
je 0x100465f4
mov eax, dword [ebp + 0x18]
mov dword es:[edi], eax
inc ebx
and ebx, edx
add edi, 4
dec ecx
jg 0x100465d8
jmp 0x1004660e
mov dword es:[edi], 0
inc ebx
and ebx, edx
add edi, 4
dec ecx
jg 0x100465d8
jmp 0x1004660e
mov eax, dword [ebp + 0x18]
cld
rep stosd dword es:[edi], eax
pop es
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
call dword [eax + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100616c0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 0x18]
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
xor ecx, ecx
push esi
test eax, eax
mov eax, ebp
mov esi, dword [esp + 0x1c]
cdq
setne cl
and edx, 7
inc ecx
add edx, eax
mov eax, ecx
sar edx, 3
imul eax, edx
push edi
mov edi, eax
imul eax, dword [esp + 0x1c]
imul edi, esi
lea edx, [esp + 0x20]
push 0
push edx
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x1c]
push edx
mov ebx, eax
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x34]
push edx
push edi
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x2c]
cmp eax, 0x88780096
jne 0x10061757
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
lea ecx, [esp + 0x20]
push 0
mov eax, dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x24]
mov edx, dword [eax]
push ecx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x34]
push ecx
push edi
push ebx
push eax
call dword [edx + 0x2c]
test eax, eax

Function at 0x10061c70
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [0x1008a93c]
push edi
lea eax, [eax + eax*4]
shl eax, 4
mov edi, dword [eax + edx + 0x48]
test edi, edi
je 0x10061d0d
mov ecx, dword [eax + edx + 0x34]
test ecx, ecx
je 0x10061d0d
push esi
mov esi, dword [eax + edx + 0x30]
test esi, esi
je 0x10061ca8
mov esi, dword [eax + edx + 0x4c]
test esi, esi
je 0x10061ca8
mov edi, esi
cmp dword [eax + edx], 0x10
jne 0x10061cf2
mov esi, dword [eax + edx + 0x44]
lea edx, [eax + edx + 0x44]
sar esi, 1
mov dword [edx], esi
mov edx, dword [0x1008a93c]
mov esi, dword [eax + edx + 0x44]
lea esi, [esi - 1]
mov dword [eax + edx + 0x44], esi
je 0x10061cec
push ebx
xor word [ecx], 0x8000
mov esi, dword [0x1008a93c]
add ecx, 2
mov edx, dword [eax + esi + 0x44]
test edx, edx
lea ebx, [edx - 1]
mov dword [eax + esi + 0x44], ebx
jne 0x10061cce
pop ebx
mov edx, dword [0x1008a93c]
mov esi, dword [eax + edx + 0x40]
mov ecx, dword [edi]
push esi
mov esi, dword [eax + edx + 0x38]
push esi
mov esi, dword [eax + edx + 0x3c]
mov edx, dword [eax + edx + 0x34]
push esi
push edx
push edi
call dword [ecx + 0x4c]
pop esi
pop edi
ret
Function at 0x10063c60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x19c
push ebx
push ebp
push esi
push edi
call dword [sym.imp.WINMM.dll_joyGetNumDevs]
xor edi, edi
xor ebp, ebp
cmp eax, edi
mov dword [0x1008b248], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
jle 0x10063dc3
mov esi, 0x1008e384
mov ebx, 0x1008e3ac
cmp ebx, 0x1008e8ac
je 0x10063dc3
lea eax, [esp + 0x18]
push 0x194
push eax
push ebp
call dword [sym.imp.WINMM.dll_joyGetDevCapsA]
test eax, eax
jne 0x10063db1
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x78]
mov dword [esi - 4], ebp
cmp eax, 0x10
mov dword [esi], edx
jb 0x10063ccf
mov eax, 0x10
mov dword [esi + 0x58], eax
mov eax, dword [esp + 0x80]
cmp eax, 6
jb 0x10063ce3
mov eax, 6
mov ecx, dword [esp + 0x3c]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x24], eax
mov eax, 2
test dl, 1
je 0x10063d1e
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov dword [ebx - 0x18], ecx
mov dword [ebx], eax
mov eax, 3
test dl, 2
je 0x10063d42
mov ebp, dword [esp + 0x60]
lea ecx, [edi + eax]
shl ecx, 2
inc eax
mov dword [ecx + 0x1008e38c], ebp
mov ebp, dword [esp + 0x64]
mov dword [ecx + 0x1008e3a4], ebp
mov ebp, dword [esp + 0x14]
test dl, 4
je 0x10063d66
mov ebp, dword [esp + 0x68]
lea ecx, [edi + eax]
shl ecx, 2
inc eax
mov dword [ecx + 0x1008e38c], ebp
mov ebp, dword [esp + 0x6c]
mov dword [ecx + 0x1008e3a4], ebp
mov ebp, dword [esp + 0x14]
test dl, 8
je 0x10063d84
mov ecx, dword [esp + 0x70]
add eax, edi
shl eax, 2
mov dword [eax + 0x1008e38c], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 0x1008e3a4], ecx
test dl, 0x10
je 0x10063d92
mov dword [esi + 0x50], 0xffffffff
jmp 0x10063d99
mov dword [esi + 0x50], 0
mov eax, dword [esp + 0x10]
add edi, 0x28
inc eax
add ebx, 0xa0
mov dword [esp + 0x10], eax
add esi, 0xa0
mov eax, dword [0x1008b248]
inc ebp
cmp ebp, eax
mov dword [esp + 0x14], ebp
jl 0x10063c93
mov edx, dword [esp + 0x10]
mov dword [0x1008b248], edx
call fcn.10063680
mov ecx, dword [0x1008b24c]
xor eax, eax
pop edi
pop esi
test ecx, ecx
pop ebp
pop ebx
sete al
add esp, 0x19c
ret

Function at 0x10063e00
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x1008c26c]
sub esp, 0x100
test eax, eax
je 0x10063e86
lea eax, [esp]
push esi
push eax
xor esi, esi
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov cl, byte [esp + 0x95]
mov al, 1
test al, cl
je 0x10063e2f
mov esi, 0x100
test byte [esp + 0x94], al
je 0x10063e3e
or esi, 0x200
test byte [esp + 0x18], al
je 0x10063e4a
or esi, 0x400
mov ecx, dword [sym.alleg40.dll__key_shifts]
and ch, 0xf8
and esi, 0x700
or ecx, esi
mov dword [sym.alleg40.dll__key_shifts], ecx
mov eax, dword [0x1008c26c]
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
test eax, eax
pop esi
jl 0x10063e86
mov eax, dword [0x1008c260]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
add esp, 0x100
ret
or eax, 0xffffffff
add esp, 0x100
ret
Function at 0x10063ed0
Capabilities:
Terminate process

Disassembly:
mov al, byte [esp + 4]
push ebx
mov bl, al
push esi
and bl, 0x7f
cmp bl, 0x4f
je 0x10063ee5
cmp bl, 0x53
jne 0x10063f0d
mov ecx, dword [sym.alleg40.dll_three_finger_flag]
test ecx, ecx
je 0x10063f0d
test byte [sym.alleg40.dll__key_shifts], 2
je 0x10063f0d
test byte [sym.alleg40.dll__key_shifts], 4
je 0x10063f0d
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esi, dword [esp + 0x10]
test esi, esi
je 0x10063f71
cmp bl, 0xf
jne 0x10063f27
test byte [sym.alleg40.dll__key_shifts], 4
jne 0x10063fe0
cmp bl, 1
jne 0x10063f39
test byte [sym.alleg40.dll__key_shifts], 6
jne 0x10063fe0
cmp bl, 0x39
jne 0x10063f4b
test byte [sym.alleg40.dll__key_shifts], 4
jne 0x10063fe0
cmp bl, 0x3e
jne 0x10063f5d
test byte [sym.alleg40.dll__key_shifts], 4
jne 0x10063fe0
mov ecx, dword [0x1007c3d8]
test ecx, ecx
je 0x10063fe0
mov ecx, dword [0x1008d4a4]
test ecx, ecx
jne 0x10063fe0
cmp al, 0x7f
jbe 0x10063f8a
cmp al, 0xc5
je 0x10063fe3
push 0xe0
call sym.alleg40.dll__handle_pckey
mov al, byte [esp + 0x10]
add esp, 4
cmp al, 0x3a
je 0x10063f96
cmp al, 0x2a
je 0x10063f96
cmp al, 0x36
jne 0x10063fc5
test esi, esi
je 0x10063fc5
mov ecx, dword [sym.alleg40.dll__key_shifts]
test ch, 4
je 0x10063fc5
push edi
mov edi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push 0
push 0x14
call edi
push 0
push 2
push 0
push 0x14
call edi
mov al, byte [esp + 0x10]
pop edi
and eax, 0x7f
neg esi
sbb esi, esi
and esi, 0xffffff80
add esi, 0x80
or eax, esi
push eax
call sym.alleg40.dll__handle_pckey
add esp, 4
pop esi
pop ebx
ret
push 0xe1
call sym.alleg40.dll__handle_pckey
push 0x1d
call sym.alleg40.dll__handle_pckey
push 0x45
call sym.alleg40.dll__handle_pckey
add esp, 0xc
pop esi
pop ebx
ret
Function at 0x10065750
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov ebp, dword [sym.imp.MSVCRT.dll_malloc]
dec ecx
mov edi, ecx
inc edi
push edi
call ebp
mov ecx, edi
mov ebx, eax
mov eax, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x100
and ecx, 3
mov dword [esp + 0x18], 0x40
rep movsb byte es:[edi], byte [esi]
xor esi, esi
mov dword [esp + 0x1c], esi
call ebp
mov ebp, eax
add esp, 8
cmp ebp, esi
jne 0x100657c0
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
cmp byte [ebx], 0
je 0x100658b3
mov dword [esp + 0x18], 0x100
mov al, byte [ebx + esi]
test al, al
je 0x100657f1
movsx ecx, al
push ecx
call sym.alleg40.dll_uisspace
add esp, 4
test eax, eax
je 0x100657f1
mov al, byte [ebx + esi + 1]
inc esi
test al, al
jne 0x100657d8
mov al, byte [ebx + esi]
lea edi, [ebx + esi]
test al, al
je 0x100658a9
cmp al, 0x27
je 0x10065811
cmp al, 0x22
je 0x10065811
mov dword [esp + 0x1c], 0
jmp 0x10065827
inc esi
movsx edx, al
mov al, byte [ebx + esi]
lea edi, [ebx + esi]
test al, al
mov dword [esp + 0x1c], edx
je 0x100658b3
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [ebp + eax*4], edi
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x10065867
mov eax, ecx
add eax, 0x40
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
add eax, 0x100
push eax
push ebp
mov dword [esp + 0x20], eax
call dword [sym.imp.MSVCRT.dll_realloc]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x100657a9
mov al, byte [edi]
test al, al
je 0x1006589e
mov ecx, dword [esp + 0x1c]
test ecx, ecx
movsx eax, al
je 0x10065883
xor edx, edx
cmp eax, ecx
setne dl
mov eax, edx
jmp 0x10065891
push eax
call sym.alleg40.dll_uisspace
add esp, 4
neg eax
sbb eax, eax
inc eax
test eax, eax
je 0x1006589e
mov al, byte [ebx + esi + 1]
inc esi
test al, al
jne 0x1006586d
cmp byte [ebx + esi], 0
je 0x100658b3
mov byte [ebx + esi], 0
inc esi
cmp byte [ebx + esi], 0
jne 0x100657d1
mov eax, dword [esp + 0x14]
push ebp
push eax
mov dword [ebp + eax*4], 0
call dword [esp + 0x2c]
mov edi, dword [sym.imp.MSVCRT.dll_free]
push ebp
mov esi, eax
call edi
push ebx
call edi
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x10065ef0
Capabilities:
Create thread

Disassembly:
sub esp, 8
push esi
mov esi, dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push str.Allegro_call_proc
call esi
push str.Allegro_keyboard_acquire_proc
mov dword [0x1008d4c4], eax
call esi
push str.Allegro_keyboard_unacquire_proc
mov dword [0x1008d4c8], eax
call esi
push str.Allegro_mouse_acquire_proc
mov dword [0x1008d4cc], eax
call esi
push str.Allegro_mouse_unacquire_proc
mov dword [0x1008d4d0], eax
call esi
push str.Allegro_mouse_cursor_proc
mov dword [0x1008d4d4], eax
call esi
mov dword [0x1008d4d8], eax
mov eax, dword [0x1008d4b0]
test eax, eax
je 0x10065f89
push 0x10066010
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
test eax, eax
mov dword [0x1008d4b4], eax
jne 0x10065f6a
or eax, 0xffffffff
pop esi
add esp, 8
ret
mov eax, dword [0x1008d4b0]
mov dword [0x1008d490], eax
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [0x1008d4c0], eax
xor eax, eax
pop esi
add esp, 8
ret
push 0x1008e2c0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push eax
push 0
push 0x10066480
mov dword [esp + 0x10], eax
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
mov dword [esp + 8], eax
lea eax, [esp + 4]
push 0xffffffffffffffff
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ecx, dword [esp + 4]
mov esi, eax
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x10065fe5
or eax, 0xffffffff
pop esi
add esp, 8
ret
mov eax, dword [0x1008d490]
mov edx, dword [esp + 8]
test eax, eax
mov dword [0x1008d4b8], edx
jne 0x10065f74
or eax, 0xffffffff
pop esi
add esp, 8
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x521b1730
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..rsrc
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x7bc84ff5
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x40cb2f
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov edx, 0x1505
jmp 0x40cb50
lea eax, [ecx - 0x61]
cmp eax, 0x19
ja 0x40cb48
and ecx, 0xffffffdf
imul edx, edx, 0x21
xor edx, ecx
add esi, 2
movzx ecx, word [esi]
test ecx, ecx
jne 0x40cb3d
mov eax, dword [ebp + 0x10]
movzx ecx, dl
mov edx, ecx
shr edx, 5
mov dword [eax], edx
mov eax, dword [ebp + 0x14]
xor edx, edx
and ecx, 0x1f
inc edx
shl edx, cl
pop esi
mov dword [eax], edx
pop ebp
ret 0x10

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x40b906
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test edx, edx
je 0x40b8dc
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0040b5ee
daa
js 0x40b995
iretd
mov edi, 0xfffc63e8
call dword [eax + 0x56]
push dword [ebp + 8]
call fcn.0040b5b3
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0040b5fe
push eax
push esi
push dword [ebp + 8]
call fcn.0040b5b3
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0040b5fe
push eax
push esi
push dword [ebp + 8]
call fcn.0040b5b3
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0040b5ee
adc byte [esi - 0x54], cl
mov dl, 0x88
popfd
jl 0x40ba73
invalid
invalid