joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4089d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, reloc.gdi32.dll_SetWorldTransform
mov dword [ebp - 0x148], 0
mov eax, dword [ebp + 0xc]
and eax, eax
je reloc.gdi32.dll_SetWorldTransform
cmp byte [eax], 0
jne reloc.gdi32.dll_SetWorldTransform
jmp reloc.gdi32.dll_SetWorldTransform
push reloc.shlwapi.dll_PathIsUNCServerShareW
push dword [ebp + 0xc]
call fcn.00401db1
mov dword [ebp - 0x148], eax
push reloc.gdi32.dll_SetWorldTransform
lea eax, [ebp - 0x140]
push eax
call fcn.0040189f
lea eax, [ebp - 0x140]
push eax
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call sub.kernel32.dll_FindFirstFileA
mov dword [ebp - 0x144], eax
inc eax
je reloc.gdi32.dll_SetWorldTransform
lea edx, [ebp - 0x140]
test dword [edx], 0x10
je reloc.gdi32.dll_SetWorldTransform
lea edx, [ebp - 0x140]
lea eax, [edx + 0x2c]
push eax
push reloc.shlwapi.dll_StrRStrIA
call sub.kernel32.dll_lstrcmpiA
and eax, eax
jne reloc.gdi32.dll_SetWorldTransform
jmp reloc.gdi32.dll_SetWorldTransform
lea edx, [ebp - 0x140]
lea eax, [edx + 0x2c]
push eax
push reloc.shlwapi.dll_StrRStrIA
call sub.kernel32.dll_lstrcmpiA
and eax, eax
jne reloc.gdi32.dll_SetWorldTransform
jmp reloc.gdi32.dll_SetWorldTransform
lea edx, [ebp - 0x140]
lea eax, [edx + 0x2c]
mov dword [ebp - 0x14c], eax
push reloc.shlwapi.dll_PathIsUNCServerShareW
push dword [ebp + 0xc]
call fcn.00401db1
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push eax
call fcn.00401e05
mov dword [ebp - 0x150], eax
push eax
push reloc.shlwapi.dll_PathMakePrettyA
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call sub.shlwapi.dll_StrStrIA
and eax, eax
je reloc.gdi32.dll_SetWorldTransform
push reloc.shlwapi.dll_StrPBrkW
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 8]
call fcn.0040884c
call fcn.00401871
lea eax, [ebp - 0x140]
push eax
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne reloc.gdi32.dll_SetWorldTransform
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call sub.kernel32.dll_FindClose
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call fcn.00401871
leave
ret 8
Function at 0x408f88
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ebx
mov dword [0x416812], 0
sub ebx, ebx
push dword [ebp + 8]
call sub.kernel32.dll_lstrlenA
mov edx, dword [ebp + 8]
cmp eax, 2
jbe reloc.gdi32.dll_SetWorldTransform
add edx, eax
sub edx, 2
cmp word [edx], 0x5c5c
jne reloc.gdi32.dll_SetWorldTransform
mov word [edx], reloc.shlwapi.dll_PathIsUNCServerShareW
push dword [ebp + 0xc]
call sub.kernel32.dll_SetCurrentDirectoryA
push 0x4167ee
push reloc.shlwapi.dll_StrIsIntlEqualA
call fcn.00402491
and eax, eax
je reloc.gdi32.dll_SetWorldTransform
push dword [ebp + 8]
call dword [0x4167ee]
add esp, 4
and eax, eax
jne reloc.gdi32.dll_SetWorldTransform
call dword [0x4167fe]
mov dword [0x416812], eax
cmp dword [0x416812], 0
jne reloc.gdi32.dll_SetWorldTransform
call dword [0x4167f2]
jmp reloc.gdi32.dll_SetWorldTransform
push 0
push 1
push dword [0x416812]
call dword [0x416802]
add esp, 0xc
and eax, eax
je reloc.gdi32.dll_SetWorldTransform
push dword [0x416812]
call dword [0x41680a]
add esp, 4
call dword [0x4167f2]
mov dword [0x416812], 0
jmp reloc.gdi32.dll_SetWorldTransform
inc ebx
mov eax, ebx
pop ebx
leave
ret 8
Function at 0x412780
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
xor edx, edx
movzx ecx, byte [edx + reloc.gdi32.dll_SetWorldTransform]
mov ebx, ecx
sar ebx, 3
movzx ebx, byte [ebx + eax]
mov esi, ecx
and esi, 7
movzx esi, word [esi + esi + 0x4188cc]
and ebx, esi
setne bl
mov byte [ebp + edx - 0x38], bl
inc edx
cmp edx, 0x38
jl reloc.gdi32.dll_SetWorldTransform
xor eax, eax
cmp word [ebp + 0xc], 1
jne reloc.gdi32.dll_SetWorldTransform
mov ebx, eax
neg ebx
lea esi, [ebx + ebx + 0x1e]
jmp reloc.gdi32.dll_SetWorldTransform
lea esi, [eax + eax]
lea edi, [esi + 1]
and dword [ebp + edi*4 - 0xf0], 0
and dword [ebp + esi*4 - 0xf0], 0
xor edx, edx
movzx ebx, byte [eax + reloc.gdi32.dll_SetWorldTransform]
lea ecx, [ebx + edx]
cmp ecx, 0x1c
jge reloc.gdi32.dll_SetWorldTransform
mov bl, byte [ebp + ecx - 0x38]
mov byte [ebp + edx - 0x70], bl
jmp reloc.gdi32.dll_SetWorldTransform
mov bl, byte [ebp + ecx - 0x54]
mov byte [ebp + edx - 0x70], bl
inc edx
cmp edx, 0x1c
jl reloc.gdi32.dll_SetWorldTransform
mov edx, reloc.opengl32.dll_glGetTexParameterfv
movzx ebx, byte [eax + reloc.gdi32.dll_SetWorldTransform]
lea ecx, [ebx + edx]
cmp ecx, 0x38
jge reloc.gdi32.dll_SetWorldTransform
mov bl, byte [ebp + ecx - 0x38]
mov byte [ebp + edx - 0x70], bl
jmp reloc.gdi32.dll_SetWorldTransform
mov cl, byte [ebp + ecx - 0x54]
mov byte [ebp + edx - 0x70], cl
inc edx
cmp edx, 0x38
jl reloc.gdi32.dll_SetWorldTransform
xor edx, edx
movzx ecx, byte [edx + reloc.gdi32.dll_SetWorldTransform]
cmp byte [ebp + ecx - 0x70], 0
je reloc.gdi32.dll_SetWorldTransform
mov ecx, dword [edx*4 + 0x4188dc]
or dword [ebp + esi*4 - 0xf0], ecx
movzx ecx, byte [edx + reloc.gdi32.dll_SetWorldTransform]
cmp byte [ebp + ecx - 0x70], 0
je reloc.gdi32.dll_SetWorldTransform
mov ecx, dword [edx*4 + 0x4188dc]
or dword [ebp + edi*4 - 0xf0], ecx
inc edx
cmp edx, 0x18
jl reloc.gdi32.dll_SetWorldTransform
inc eax
cmp eax, 0x10
jl reloc.gdi32.dll_SetWorldTransform
lea eax, [ebp - 0xf0]
push eax
call fcn.0041289a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4131e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push eax
push eax
push esi
push edi
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
xor edx, edx
mov cl, byte [edx + eax]
mov byte [ebp + edx - 8], cl
mov cl, byte [edx + eax]
mov byte [edx + esi], cl
inc edx
cmp edx, 8
jl reloc.gdi32.dll_SetWorldTransform
push esi
push eax
call fcn.00412d35
xor eax, eax
lea edx, [eax + esi]
mov cl, byte [eax + edi]
xor byte [edx], cl
inc eax
cmp eax, 8
jl reloc.gdi32.dll_SetWorldTransform
xor eax, eax
mov dl, byte [ebp + eax - 8]
mov byte [eax + edi], dl
inc eax
cmp eax, 8
jl reloc.gdi32.dll_SetWorldTransform
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40501c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x405028
push 0x405024
push 0x405020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x405028]
push dword [0x405024]
push dword [0x405020]
mov dword [0x405014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

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, 0x307d0750
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x14b528c4
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401310
Capabilities:
Get hostname

Disassembly:
sub esp, 0x14
mov al, 0xff
xor ecx, ecx
mov byte [0x475a34], al
mov byte [0x475a3c], al
xor eax, eax
mov dword [0x4699c8], ecx
mov dword [0x45aa7c], eax
mov dword [0x4699cc], ecx
mov dword [0x45aa80], eax
mov dword [0x4699d0], ecx
mov dword [0x45aa84], eax
lea edx, [esp]
mov dword [0x45aa88], eax
push esi
mov dword [0x45aa8c], eax
lea eax, [esp + 8]
xor esi, esi
mov dword [0x4699d4], ecx
push edx
push eax
mov dword [0x45aa78], esi
mov dword [0x475a40], 0xffffffff
mov dword [0x476b1c], 0x12c
mov dword [0x45aaa0], esi
mov dword [0x4699e8], esi
mov dword [0x46d9f8], esi
mov dword [0x476b18], esi
mov dword [0x456a5c], esi
mov dword [0x46da24], esi
mov dword [0x475a44], esi
mov dword [0x4699d8], ecx
mov dword [0x45cbe0], esi
mov dword [esp + 0xc], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea ecx, [esp + 8]
push 0x14
push ecx
push 0x45bbb4
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, 1
mov dword [0x464bec], esi
mov dword [0x464be8], esi
mov dword [0x464be4], esi
mov dword [0x45bbdc], esi
mov dword [0x46da04], eax
pop esi
add esp, 0x14
ret

Function at 0x401400
Capabilities:
Get common file path
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x4110
call fcn.00420410
mov edx, DirectSoundCreate
mov ecx, 0x453720
push ebx
push esi
push 0
push 0x80
push 3
push 0
push 0
call fcn.004020c0
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40127a
push edi
mov ecx, 0x1000
or eax, 0xffffffff
lea edi, [esp + 0x11c]
rep stosd dword es:[edi], eax
pop edi
jmp 0x401298
lea eax, [esp + 0xc]
push 0
push eax
lea ecx, [esp + 0x120]
push 0x4000
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call ebx
lea edx, [esp + 0x10]
push 0x105
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x10]
push 0x4534c4
push eax
call esi
lea ecx, [esp + 0x10]
push 0x453714
push ecx
call esi
mov edx, 0x40000000
lea ecx, [esp + 0x10]
push 0
push 0x80
push 2
push 0
push 0
call fcn.004020c0
mov esi, eax
cmp esi, 0xffffffff
je 0x401306
lea edx, [esp + 8]
push 0
push edx
lea eax, [esp + 0x120]
push 0x4000
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call ebx
pop esi
pop ebx
add esp, 0x4110
ret
mov eax, dword [0x476b18]
test eax, eax
je 0x401427
mov eax, dword [0x45aaa0]
mov edx, dword [0x46da2c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [0x476b18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x46d9f8]
test eax, eax
je 0x40144a
mov eax, dword [0x45aaa0]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov edx, dword [0x46d9f8]
push edx
call fcn.0042043f
add esp, 4
mov eax, dword [0x45aaa0]
test eax, eax
je 0x401459
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [0x4699e8]
test eax, eax
je 0x40146b
push eax
call fcn.0042043f
add esp, 4
mov eax, dword [0x456a5c]
test eax, eax
je 0x40147d
push eax
call fcn.0042043f
add esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [0x45cbe0]
test eax, eax
je 0x401491
jmp 0x401230
ret
Function at 0x401710
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov edx, dword [0x477b7c]
cmp edx, 8
jg 0x40176c
push esi
mov eax, dword [0x4699c4]
mov edx, dword [0x45aa90]
xor ecx, ecx
mov cl, byte [eax + edx]
mov esi, ecx
mov ecx, dword [0x456a64]
and ecx, 0xff
xor esi, ecx
inc eax
mov dword [0x4699c4], eax
call fcn.004014e0
mov edx, dword [0x477b7c]
mov ecx, 8
sub ecx, edx
add edx, 8
shl esi, cl
mov dword [0x477b7c], edx
or word [0x476b20], si
cmp edx, 8
jle 0x40171c
pop esi
mov eax, dword [0x476b20]
shl word [0x476b20], 1
and eax, 0xffff
dec edx
shr eax, 0xf
mov dword [0x477b7c], edx
and eax, 1
ret

Function at 0x401790
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [0x477b7c]
cmp eax, 8
jg 0x4017e9
push esi
mov eax, dword [0x4699c4]
mov edx, dword [0x45aa90]
xor ecx, ecx
mov cl, byte [eax + edx]
mov esi, ecx
mov ecx, dword [0x456a64]
and ecx, 0xff
xor esi, ecx
inc eax
mov dword [0x4699c4], eax
call fcn.004014e0
mov eax, dword [0x477b7c]
mov ecx, 8
sub ecx, eax
add eax, 8
shl esi, cl
mov dword [0x477b7c], eax
or word [0x476b20], si
cmp eax, 8
jle 0x40179b
pop esi
mov ecx, dword [0x476b20]
sub eax, 8
xor edx, edx
mov dword [0x477b7c], eax
mov dh, byte [0x476b20]
and ecx, 0xffff
xor eax, eax
mov word [0x476b20], dx
mov al, ch
ret

Function at 0x4021f0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x118
mov dword [0x8af0e0], 0
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
push edi
push str.IAM_PC_GAME
push 0x46d9f0
call ebp
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea eax, [esp + 0x24]
push eax
call ebp
xor eax, eax
mov cl, byte [esp + 0x20]
test cl, cl
je 0x402240
cmp cl, 0x20
je 0x402237
cmp cl, 9
jne 0x402240
mov cl, byte [esp + eax + 0x21]
inc eax
test cl, cl
jne 0x40222d
mov cl, byte [esp + eax + 0x20]
cmp cl, 0x22
jne 0x402264
mov cl, byte [esp + eax + 0x21]
inc eax
test cl, cl
mov edi, eax
je 0x40227d
cmp cl, 0x22
je 0x40227d
mov cl, byte [esp + eax + 0x21]
inc eax
test cl, cl
jne 0x402254
jmp 0x40227d
test cl, cl
mov edi, eax
je 0x40227d
cmp cl, 0x20
je 0x40227d
cmp cl, 9
je 0x40227d
mov cl, byte [esp + eax + 0x21]
inc eax
test cl, cl
jne 0x40226a
mov byte [esp + eax + 0x20], 0
dec eax
je 0x40229b
mov cl, byte [esp + eax + 0x20]
cmp cl, 0x22
je 0x40229b
cmp cl, 0x5c
je 0x40229b
cmp cl, 0x3a
je 0x40229b
dec eax
jne 0x402285
lea esi, [esp + eax + 0x21]
push 0x453738
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4022cd
mov ecx, dword [0x4aeaec]
pop edi
pop esi
xor eax, eax
mov edx, dword [ecx + 0x2e4]
pop ebp
mov dword [0x45bbd8], edx
add esp, 0x118
ret
lea eax, [esp + edi + 0x20]
mov byte [esi], 0
push eax
push 0x45baac
call ebp
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x16]
add eax, edx
mov edx, dword [esp + 0x1a]
pop edi
pop esi
lea eax, [eax + eax*4]
pop ebp
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*8]
mov word [0x4aea48], ax
mov eax, 1
add esp, 0x118
ret
Function at 0x402400
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0x100
mov ecx, 0x40
xor eax, eax
push edi
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
call fcn.00401a40
test eax, eax
pop edi
jne 0x402425
add esp, 0x100
ret
lea eax, [esp]
push eax
push 0x402350
call dword [sym.imp.USER32.dll_EnumWindows]
mov al, byte [esp]
test al, al
je 0x402462
mov ecx, dword [0x4aeaec]
lea eax, [esp]
mov edx, dword [ecx + 0x70]
push edx
push eax
push str.Invalid_63484_command:__04X_at__04X
call fcn.00401b70
add esp, 0xc
xor eax, eax
add esp, 0x100
ret
mov eax, 1
add esp, 0x100
ret

Function at 0x402590
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, edx
mov ebp, ecx
push edi
mov ebx, dword [ebp]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
lea esi, [ebx + 1]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4025c6
mov ecx, dword [0x4aeaec]
pop edi
pop esi
pop ebp
mov edx, dword [ecx + 0x2d4]
pop ebx
mov dword [0x45bbd8], edx
ret 4
xor edx, edx
mov eax, 1
mov dl, byte [ebx]
mov cl, 0x5a
cmp edx, eax
jl 0x4025dd
add cl, byte [eax + ebx]
inc eax
cmp eax, edx
jle 0x4025d5
mov dl, byte [eax + ebx + 1]
inc eax
cmp cl, dl
je 0x402600
mov eax, dword [0x4aeaec]
pop edi
pop esi
pop ebp
mov ecx, dword [eax + 0x2d4]
xor eax, eax
mov dword [0x45bbd8], ecx
pop ebx
ret 4
mov edx, dword [esp + 0x14]
lea esi, [eax + 1]
sub edx, 4
mov eax, esi
cmp esi, edx
jge 0x402618
xor byte [eax + ebx], cl
inc eax
cmp eax, edx
jl 0x402610
mov eax, dword [ebp]
pop edi
add eax, esi
pop esi
mov dword [ebp], eax
pop ebp
mov eax, 1
pop ebx
ret 4

Function at 0x402b30
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebx
push esi
push edi
push 0
push 0x80
mov edi, edx
push 3
push 0
mov ebx, ecx
push 0
mov edx, DirectSoundCreate
call fcn.004020c0
mov esi, eax
cmp esi, 0xffffffff
jne 0x402b6b
push ebx
push 0x4537a4
call fcn.00401b70
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
ret 4
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x402b7b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
lea ecx, [esp + 0x10]
push 0
push ecx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x402ba8
push ebx
push 0x453790
call fcn.00401b70
add esp, 8
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
ret 4

Function at 0x402bc0
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
push 0
push 0x80
mov edi, edx
push 2
push 0
push 0
mov edx, 0x40000000
call fcn.004020c0
mov esi, eax
cmp esi, 0xffffffff
jne 0x402be9
pop edi
xor eax, eax
pop esi
ret 4
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0xc]
push 0
push eax
push ecx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
pop edi
pop esi
ret 4
Function at 0x402e20
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4655bc]
sub esp, 0x1c
test eax, eax
push esi
jne 0x402eb2
push 0
push 0x402d60
push edx
push 0x436fa8
push ecx
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
mov esi, eax
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [0x4655bc]
test eax, eax
jne 0x402eb2
push ebx
mov ebx, dword [sym.imp.USER32.dll_IsDialogMessageA]
push ebp
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
push edi
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
push 1
push 0
push 0
lea eax, [esp + 0x1c]
push 0
push eax
call edi
test eax, eax
je 0x402ea6
lea ecx, [esp + 0x10]
push ecx
push esi
call ebx
test eax, eax
jne 0x402ea6
lea edx, [esp + 0x10]
push edx
call ebp
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov eax, dword [0x4655bc]
test eax, eax
je 0x402e75
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x1c
ret

Function at 0x402f20
Capabilities:
Hide graphical window

Disassembly:
push esi
push 0
push 0x402ec0
push edx
push 0x437024
push ecx
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
mov esi, eax
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
call fcn.004021d0
mov eax, esi
pop esi
ret
Function at 0x405b10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov eax, dword [0x8aeda4]
push ebx
push ebp
push esi
mov esi, edx
and esi, 0xffff
push edi
mov edx, esi
mov edi, esi
and edx, 0xf000
and edi, 0xf00
shl edx, 4
or edx, edi
mov edi, esi
shl edx, 4
and edi, 0xf0
and esi, 0xf
or edx, edi
shl edx, 4
or edx, esi
mov esi, dword [esp + 0x20]
test esi, esi
jl 0x405b60
mov edi, 1
or ebx, 0xffffffff
jmp 0x405b68
or edi, 0xffffffff
mov ebx, 1
mov esi, dword [esp + 0x24]
test esi, esi
jl 0x405b82
mov dword [esp + 0x10], 0xffffff78
mov dword [esp + 0x14], 0xffffffff
jmp 0x405b92
mov dword [esp + 0x10], 0x88
mov dword [esp + 0x14], 1
and ecx, 3
cmp ecx, 3
ja case.default.0x405b9e
jmp dword [ecx*4 + 0x405cf8]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov ecx, dword [ebp]
test esi, esi
mov dword [eax + ecx*4], edx
je 0x405bc6
add ecx, edi
and ecx, 0xfffff
add esi, ebx
mov dword [eax + ecx*4], edx
jne 0x405bb7
mov ecx, dword [ebp]
mov esi, dword [esp + 0x10]
add ecx, esi
and ecx, 0xfffff
mov dword [ebp], ecx
mov ecx, dword [esp + 0x24]
test ecx, ecx
je case.default.0x405b9e
add ecx, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
jmp 0x405ba9
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx]
mov esi, dword [esp + 0x20]
mov ebp, dword [eax + ecx*4]
or ebp, edx
mov dword [eax + ecx*4], ebp
mov ebp, esi
test ebp, ebp
je 0x405c1c
add ecx, edi
add esi, ebx
and ecx, 0xfffff
mov ebp, dword [eax + ecx*4]
or ebp, edx
test esi, esi
mov dword [eax + ecx*4], ebp
jne 0x405c06
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
mov esi, dword [ecx]
add esi, ebp
and esi, 0xfffff
mov dword [ecx], esi
mov esi, dword [esp + 0x24]
test esi, esi
je case.default.0x405b9e
add esi, dword [esp + 0x14]
mov dword [esp + 0x24], esi
jmp 0x405bf2
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx]
mov esi, dword [esp + 0x20]
mov ebp, dword [eax + ecx*4]
and ebp, edx
mov dword [eax + ecx*4], ebp
mov ebp, esi
test ebp, ebp
je 0x405c74
add ecx, edi
add esi, ebx
and ecx, 0xfffff
mov ebp, dword [eax + ecx*4]
and ebp, edx
test esi, esi
mov dword [eax + ecx*4], ebp
jne 0x405c5e
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
mov esi, dword [ecx]
add esi, ebp
and esi, 0xfffff
mov dword [ecx], esi
mov esi, dword [esp + 0x24]
test esi, esi
je case.default.0x405b9e
add esi, dword [esp + 0x14]
mov dword [esp + 0x24], esi
jmp 0x405c4a
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx]
mov esi, dword [esp + 0x20]
mov ebp, dword [eax + ecx*4]
xor ebp, edx
mov dword [eax + ecx*4], ebp
mov ebp, esi
test ebp, ebp
je 0x405cc8
add ecx, edi
add esi, ebx
and ecx, 0xfffff
mov ebp, dword [eax + ecx*4]
xor ebp, edx
test esi, esi
mov dword [eax + ecx*4], ebp
jne 0x405cb2
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
mov esi, dword [ecx]
add esi, ebp
and esi, 0xfffff
mov dword [ecx], esi
mov esi, dword [esp + 0x24]
test esi, esi
je case.default.0x405b9e
add esi, dword [esp + 0x14]
mov dword [esp + 0x24], esi
jmp 0x405c9e
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x409290
Capabilities:
Encode data using xor

Disassembly:
push ecx
push esi
push edi
push 0
mov edx, 0x8b3e00
mov ecx, 0x453818
mov dword [esp + 0xc], 0x8b3e00
call fcn.00402b30
test eax, eax
jne 0x4092b4
pop edi
pop esi
pop ecx
ret
xor ecx, ecx
test eax, eax
jle 0x4092cd
push ebx
mov edx, dword [esp + 0xc]
mov bl, byte [ecx + edx]
xor bl, cl
mov byte [ecx + edx], bl
inc ecx
cmp ecx, eax
jl 0x4092bb
pop ebx
push eax
mov edx, 0x453810
lea ecx, [esp + 0xc]
mov dword [0x8aef40], 0
mov byte [0x8b39f8], 0xff
mov dword [0x49dfb0], 0
mov dword [0x8f3e18], 0
call fcn.00402590
test eax, eax
jne 0x409309
pop edi
pop esi
pop ecx
ret
mov edx, 0x49e0e0
lea ecx, [esp + 8]
call fcn.004024b0
test eax, eax
jne 0x40931f
pop edi
pop esi
pop ecx
ret
mov edx, 0x491e40
lea ecx, [esp + 8]
call fcn.004024b0
test eax, eax
jne 0x409335
pop edi
pop esi
pop ecx
ret
mov eax, dword [0x8f3e18]
test eax, eax
je 0x409354
mov edx, 0x8af060
lea ecx, [esp + 8]
call fcn.004024b0
test eax, eax
jne 0x409354
pop edi
pop esi
pop ecx
ret
mov edx, 0x49dea0
lea ecx, [esp + 8]
call fcn.004024b0
test eax, eax
jne 0x40936a
pop edi
pop esi
pop ecx
ret
xor esi, esi
mov ecx, 0x4ae101
mov al, byte [esi + 0x49dea0]
add ecx, 4
mov dl, al
or dl, 0x1f
mov byte [ecx - 5], dl
mov dl, al
shl dl, 3
shl al, 6
or dl, 0x1f
or al, 0x3f
mov byte [ecx - 4], dl
mov byte [ecx - 3], al
inc esi
cmp ecx, 0x4ae501
jl 0x409371
mov ecx, 0x100000
xor eax, eax
mov edi, 0x4aeb00
rep stosd dword es:[edi], eax
mov ecx, 0x4aeb00
call fcn.00408460
mov eax, dword [0x8aeda4]
lea ecx, [esp + 8]
lea edx, [eax + 0x80000]
call fcn.004024b0
test eax, eax
jne 0x4093d2
pop edi
pop esi
pop ecx
ret
mov edx, dword [0x8aeda4]
mov ecx, 0x10000
mov edi, 0x8b3e00
xor eax, eax
lea esi, [edx + 0x80000]
rep movsd dword es:[edi], dword [esi]
mov cl, byte [eax + 0x8b3e00]
mov edx, dword [0x8aeda4]
and cl, 0xf
mov byte [edx + eax*2 + 0x80000], cl
mov cl, byte [eax + 0x8b3e00]
mov edx, dword [0x8aeda4]
shr cl, 4
mov byte [edx + eax*2 + 0x80001], cl
inc eax
cmp eax, 0x40000
jl 0x4093ec
call fcn.00409e90
mov edx, 0x4000
xor ecx, ecx
call fcn.00402630
test eax, eax
jne 0x409439
pop edi
pop esi
pop ecx
ret
call fcn.00409ec0
mov eax, 1
pop edi
pop esi
pop ecx
ret