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

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jbe 0x403e85
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDisablePredefinedCacheEx]
push edi
mov edi, dword [esp + 0x10]
call ebx
sub byte [esi + edi], 0x69
call ebx
add byte [esi + edi], 0x78
call ebx
xor byte [esi + edi], 0x22
call ebx
add byte [esi + edi], 0x81
call ebx
add byte [esi + edi], 0xf6
call ebx
add byte [esi + edi], 0x37
call ebx
add byte [esi + edi], 0xb7
call ebx
xor byte [esi + edi], 0xc5
call ebx
add byte [esi + edi], 0xf
call ebx
add byte [esi + edi], 0xe7
call ebx
xor byte [esi + edi], 0x11
call ebx
add byte [esi + edi], 3
call ebx
add byte [esi + edi], 3
call ebx
add byte [esi + edi], 0x8a
call ebx
add byte [esi + edi], 0xb2
call ebx
add byte [esi + edi], 0x6c
call ebx
xor byte [esi + edi], 0x72
call ebx
add byte [esi + edi], 0x79
call ebx
add byte [esi + edi], 0x2f
call ebx
add byte [esi + edi], 0x16
call ebx
add byte [esi + edi], 0x53
call ebx
add byte [esi + edi], 0xb6
call ebx
add byte [esi + edi], 0x88
call ebx
add byte [esi + edi], 0x1a
call ebx
add byte [esi + edi], 0xc3
call ebx
xor byte [esi + edi], 0x9b
call ebx
add byte [esi + edi], 0x95
call ebx
add byte [esi + edi], 0x93
call ebx
add byte [esi + edi], 0x2d
call ebx
add byte [esi + edi], 0xbc
call ebx
add byte [esi + edi], 0x49
call ebx
xor byte [esi + edi], 0xee
call ebx
xor byte [esi + edi], 0xa4
call ebx
xor byte [esi + edi], 0xe
call ebx
add byte [esi + edi], 0x26
call ebx
add byte [esi + edi], 0x16
call ebx
xor byte [esi + edi], 0x8e
call ebx
add byte [esi + edi], 0x64
call ebx
add byte [esi + edi], 0x68
call ebx
xor byte [esi + edi], 0x45
call ebx
add byte [esi + edi], 0xf7
call ebx
xor byte [esi + edi], 0xc0
call ebx
add byte [esi + edi], 0xcf
call ebx
xor byte [esi + edi], 0x66
call ebx
add byte [esi + edi], 0xc5
call ebx
xor byte [esi + edi], 0x40
call ebx
add byte [esi + edi], 0x1a
call ebx
add byte [esi + edi], 0xe1
call ebx
add byte [esi + edi], 0xb2
inc esi
cmp esi, dword [esp + 0x14]
jb 0x403d52
pop edi
pop ebx
pop esi
ret

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

Disassembly:
sub esp, 0x20
mov eax, dword [0x4460ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x403f78
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.00401b44
lea eax, [esp + 0x14]
push 0x14d
push eax
call fcn.004040e6
pop ecx
pop ecx
cmp eax, dword [esp + 0x38]
je 0x403f90
lea ecx, [esp + 0x14]
add edi, 4
call fcn.00403ab2
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x403f40
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00405f4c
add esp, 0x20
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.00403ab2
jmp 0x403f7a
Function at 0x4029d4
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x40e020]
test eax, eax
je 0x402a13
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402a13
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402a13
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402a13
cmp dword [ecx + 0x74], 0xe
jbe 0x402a13
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x1f180a59
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..rdata
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x73d35065
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x421740
Capabilities:
Encode data using xor

Disassembly:
xor dl, dl
mov dl, byte [edi]
xor dl, bl
mov byte [edi], dl
inc edi
cmp edi, ecx
jne fcn.00421740
ret
Function at 0x403180
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
push edx
mov al, byte [0x40a32c]
test al, al
jne 0x4031e6
push dword [0x40a475]
push 0x40a401
push 0xff0000
push dword [0x4083e7]
push dword [0x4083eb]
push dword [0x4083ef]
push dword [0x4083f3]
push 0
push 0
push dword [0x40a058]
push 0
call fcn.00403210
mov dword [0x4083cc], eax
push dword [0x40a060]
push eax
call sub.user32.dll_ShowWindow
push dword [0x4083cc]
call sub.user32.dll_UpdateWindow
jmp 0x403201
mov bl, byte [ebp + 8]
test bl, bl
je 0x403201
push 0x40a401
push 0
push 0xc
push dword [0x4083cc]
call sub.user32.dll_SendMessageA
call fcn.00402d80
pop edx
pop ecx
pop ebx
leave
ret 4
Function at 0x4108d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40c015
lea edi, [esi - 0xb015]
push edi
jmp 0x4108ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4108f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4108e0
mov eax, 1
add ebx, ebx
jne 0x410903
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4108f8
jne 0x410914
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4108f8
xor ecx, ecx
sub eax, 3
jb 0x410928
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41099a
mov ebp, eax
add ebx, ebx
jne 0x410933
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x410940
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x410964
inc ecx
add ebx, ebx
jne 0x410950
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x410945
jne 0x410961
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x410945
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x410984
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x410975
jmp 0x4108e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x410984
add edi, ecx
jmp 0x4108e6
pop esi
mov edi, esi
mov ecx, 0x28f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4109a2
cmp byte [edi], 3
jne 0x4109a2
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 0x4109a7
lea edi, [esi + 0xe000]
mov eax, dword [edi]
or eax, eax
je 0x410a16
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x10000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1003c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4109d4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x10044]
or eax, eax
je 0x410a10
mov dword [ebx], eax
add ebx, 4
jmp 0x4109f1
call dword [esi + 0x10040]
mov ebp, dword [esi + 0x10048]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x10a71]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x410a62
sub esp, 0xffffff80
jmp 0x401580
Function at 0x403142
Capabilities:
Delete directory
Get common file path
Get file attributes
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4c
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 4]
xor esi, esi
cmp dword [0x59d120], 0x594
mov dword [ebp - 0xc], eax
jne 0x40318e
push 0x402e40
push 0x402e50
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
push 0x402e58
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
mov eax, dword [0x4294c8]
push ebx
mov ebx, dword [0x4294cc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
mov dword [ebp - 0x30], 0x9e3779b9
call fcn.0040313b
mov eax, dword [0x4294d0]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x2c], eax
mov eax, dword [0x4294d4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0x20
mov dword [ebp - 0x14], 2
add dword [ebp - 0x14], 3
mov eax, dword [ebp - 0x10]
mov ecx, eax
shl ecx, 4
cmp dword [0x59d120], 0xc
mov dword [ebp - 4], ecx
jne 0x403238
push esi
lea eax, [ebp - 0xc4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
xor eax, eax
mov word [ebp - 0x1c], ax
lea edi, [ebp - 0x1a]
stosw word es:[edi], ax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x44c]
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
lea eax, [ebp - 0x38]
push eax
push esi
lea eax, [ebp - 0x4c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0x2c]
add dword [ebp - 4], ecx
mov ecx, dword [0x59d120]
cmp ecx, 0xfa9
jne 0x403256
mov dword [0x59c6bc], 0xedeb2e40
cmp ecx, 0x3eb
jne 0x403264
mov dword [0x59c070], esi
mov ecx, dword [ebp - 8]
add ecx, eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x14]
shr eax, cl
mov dword [0x59c6b8], 0xf4ea3dee
add eax, dword [ebp - 0x24]
mov ecx, eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 4], eax
xor ecx, dword [ebp - 4]
cmp dword [0x59d120], 0x213
mov dword [ebp - 0x18], ecx
jne 0x4032a3
push 0x402e6c
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov eax, dword [ebp - 0x18]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
mov eax, dword [ebp - 0xc]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax]
mov ecx, dword [ebp - 0x14]
shr eax, cl
add eax, ebx
xor eax, edx
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x30]
sub dword [ebp - 8], eax
dec dword [ebp - 0x20]
jne 0x4031cd
cmp dword [0x59d120], 0xa6d
mov eax, dword [ebp - 0x10]
mov dword [edi], eax
pop ebx
jne 0x403304
push esi
push esi
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov eax, dword [ebp - 0xc]
mov dword [edi + 4], eax
pop edi
pop esi
leave
ret 4
Function at 0x4035ec
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x424
push ebx
push esi
xor esi, esi
cmp dword [0x59d120], 0x400
push edi
jne 0x40365e
push esi
call dword [sym.imp.KERNEL32.dll__lclose]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll__hwrite]
push esi
push esi
call fcn.00403b12
push esi
push esi
call fcn.00403b12
push esi
call fcn.00403cdc
add esp, 0x14
push esi
push esi
push esi
call fcn.004045b3
pop ecx
mov dword [esp + 4], esi
mov dword [esp], esi
call fcn.0040309f
fstp st(0)
push esi
call fcn.00404638
pop ecx
push esi
call fcn.004043ca
pop ecx
push esi
push esi
call fcn.00403a06
pop ecx
pop ecx
mov eax, dword [0x429b54]
mov dword [0x59d120], eax
mov eax, dword [0x429b2c]
mov dword [0x59d124], eax
call fcn.004033ce
mov dword [esp + 0x10], esi
mov ebx, 0x2b259d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor eax, eax
mov dword [esp + 0x1c], esi
lea edi, [esp + 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push esi
lea eax, [esp + 0x3c]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp dword [esp + 0x10], ebx
jle 0x4036c5
cmp dword [esp + 0x18], 0x785074d5
jne 0x4036d3
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0x1c1b
jl 0x403680
xor edi, edi
push esi
lea eax, [esp + 0x34]
push eax
push esi
push 0x402f40
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push 0x402f8c
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
cmp edi, ebx
jle 0x403702
cmp dword [esp + 0x18], 0x785074d5
jne 0x40370b
inc edi
cmp edi, 0x11915
jl 0x4036d5
mov eax, dword [0x59c074]
mov dword [0x59c6b4], eax
call eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x404fb0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4280e8]
jne 0x404fba
repz ret
jmp fcn.0040ade2
Function at 0x40ab05
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004077c2
and dword [ebp - 4], 0
cmp dword [0x42a420], 0
mov ebx, eax
jne 0x40abb6
push 0x401bb4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40ac67
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401ba8
push edi
call esi
test eax, eax
je 0x40ac67
push eax
call fcn.00407750
mov dword [esp], 0x401b98
push edi
mov dword [0x42a420], eax
call esi
push eax
call fcn.00407750
mov dword [esp], 0x401b84
push edi
mov dword [0x42a424], eax
call esi
push eax
call fcn.00407750
mov dword [esp], 0x401b68
push edi
mov dword [0x42a428], eax
call esi
push eax
call fcn.00407750
pop ecx
mov dword [0x42a430], eax
test eax, eax
je 0x40abb6
push 0x401b50
push edi
call esi
push eax
call fcn.00407750
pop ecx
mov dword [0x42a42c], eax
mov eax, dword [0x42a42c]
cmp eax, ebx
je 0x40ac0e
cmp dword [0x42a430], ebx
je 0x40ac0e
push eax
call fcn.004077cb
push dword [0x42a430]
mov esi, eax
call fcn.004077cb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40ac0e
test edi, edi
je 0x40ac0e
call esi
test eax, eax
je 0x40ac05
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40ac05
test byte [ebp - 0xc], 1
jne 0x40ac0e
or dword [ebp + 0x10], 0x200000
jmp 0x40ac47
mov eax, dword [0x42a424]
cmp eax, ebx
je 0x40ac47
push eax
call fcn.004077cb
pop ecx
test eax, eax
je 0x40ac47
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40ac47
mov eax, dword [0x42a428]
cmp eax, ebx
je 0x40ac47
push eax
call fcn.004077cb
pop ecx
test eax, eax
je 0x40ac47
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42a420]
call fcn.004077cb
pop ecx
test eax, eax
je 0x40ac67
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40ac69
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40a935
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x411488
cmp edx, dword [eax]
je 0x40a957
add eax, 8
inc ecx
cmp eax, 0x411518
jl 0x40a948
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x411488]
jne 0x40aa85
mov eax, dword [0x491ec0]
cmp eax, 1
je 0x40aa5f
test eax, eax
jne 0x40a988
cmp dword [0x4110b4], 1
je 0x40aa5f
cmp edx, 0xfc
je 0x40aa85
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40a9bf
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00407370
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00407460
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40aa02
lea eax, [ebp - 0x1a4]
push eax
call fcn.00407460
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40d5b0
push edi
call fcn.0040abe0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00407370
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00407380
lea eax, [ebp - 0xa0]
push 0x40d590
push eax
call fcn.00407380
push dword [esi + 0x41148c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00407380
push pe_overlay
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040bcb8
add esp, 0x2c
pop edi
jmp 0x40aa85
lea eax, [ebp + 8]
lea esi, [esi + 0x41148c]
push 0
push eax
push dword [esi]
call fcn.00407460
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
call 0x502c0d
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x5454471c
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x1e616e90
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x408953
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop ebx
add eax, 0x34d0edbc
call fcn.0040897f
xor dword [edi], ebx
push 0x1b4558b5
pop edx
add edx, 0x63ae24
inc edi
mov eax, 0xfe7bff26
cmp edi, esi
jne fcn.00408953
ret