joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401e30
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x4231e0]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
push esi
push edi
xor bl, bl
push str.kernel32.dll
mov byte [esp + 0x17], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.Wow64DisableWow64FsRedirection
push esi
call edi
push str.Wow64RevertWow64FsRedirection
push esi
mov ebp, eax
call edi
test ebp, ebp
mov esi, eax
je 0x401fc0
test esi, esi
je 0x401fc0
lea eax, [esp + 0x14]
push eax
call ebp
test eax, eax
je 0x401fc0
push 0x104
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xor eax, eax
jmp 0x401eb0
mov cl, byte [esp + eax + 0x18]
mov byte [esp + eax + 0x11c], cl
add eax, 1
test cl, cl
jne 0x401eb0
lea eax, [esp + 0x18]
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x401ed0
mov edx, dword [str.OpenAL32.dll]
mov ecx, dword [0x41e450]
mov dword [eax], edx
mov edx, dword [0x41e454]
mov dword [eax + 4], ecx
mov cx, word [0x41e458]
mov dword [eax + 8], edx
mov word [eax + 0xc], cx
lea eax, [esp + 0x11c]
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x401f10
cmp byte [0x424245], 1
mov edx, dword [str.wrap_oal.dll]
mov ecx, dword [0x41e434]
mov dword [eax], edx
mov edx, dword [0x41e438]
mov dword [eax + 4], ecx
mov cx, word [0x41e43c]
mov dword [eax + 8], edx
mov word [eax + 0xc], cx
jne 0x401fb9
cmp byte [0x424247], 0
lea ecx, [esp + 0x18]
jne 0x401fa6
movzx eax, byte [0x424246]
lea edx, [esp + 0x13]
push edx
mov edx, dword [0x424248]
push eax
mov eax, dword [0x424258]
push ecx
push edx
push eax
call fcn.00401140
movzx edx, byte [0x424246]
lea ecx, [esp + 0x27]
push ecx
mov ecx, dword [0x42425c]
push edx
mov edx, dword [0x424270]
lea eax, [esp + 0x138]
push eax
push ecx
push edx
call fcn.00401140
mov bl, byte [esp + 0x3b]
add esp, 0x28
jmp 0x401fb9
lea eax, [esp + 0x11c]
push eax
push ecx
call fcn.00401b90
add esp, 8
mov bl, al
mov edx, dword [esp + 0x14]
push edx
call esi
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
xor ecx, esp
call fcn.004064a4
add esp, 0x214
ret
Function at 0x4064a4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4231e0]
jne 0x4064ae
repz ret
jmp fcn.0040a263

Function at 0x40f141
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040bbf2
xor ebx, ebx
cmp dword [0x424c0c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40f216
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x40f181
xor eax, eax
jmp 0x40f2da
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41f000
push edi
call esi
cmp eax, ebx
je 0x40f17a
push eax
call fcn.0040bb8f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x424c0c], eax
call esi
push eax
call fcn.0040bb8f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x424c10], eax
call esi
push eax
call fcn.0040bb8f
mov dword [0x424c14], eax
lea eax, [ebp - 8]
push eax
call fcn.004088cf
test eax, eax
pop ecx
pop ecx
je 0x40f1e4
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040925a
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40f216
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0040bb8f
cmp eax, ebx
pop ecx
mov dword [0x424c1c], eax
je 0x40f216
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040bb8f
pop ecx
mov dword [0x424c18], eax
mov eax, dword [0x424c18]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40f28f
cmp dword [0x424c1c], esi
je 0x40f28f
push eax
call fcn.0040bbfb
pop ecx
call eax
cmp eax, ebx
je 0x40f25c
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x424c1c]
call fcn.0040bbfb
pop ecx
call eax
test eax, eax
je 0x40f25c
test byte [ebp - 0x18], 1
jne 0x40f28f
lea eax, [ebp - 0xc]
push eax
call fcn.0040897e
test eax, eax
pop ecx
je 0x40f277
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040925a
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40f286
or dword [ebp + 0x10], 0x200000
jmp 0x40f2c0
or dword [ebp + 0x10], 0x40000
jmp 0x40f2c0
mov eax, dword [0x424c10]
cmp eax, esi
je 0x40f2c0
push eax
call fcn.0040bbfb
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40f2c0
mov eax, dword [0x424c14]
cmp eax, esi
je 0x40f2c0
push dword [ebp - 4]
push eax
call fcn.0040bbfb
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x424c0c]
call fcn.0040bbfb
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x415100
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40e015
lea edi, [esi - 0xd015]
push edi
or ebp, 0xffffffff
jmp 0x415122
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x415129
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x415118
mov eax, 1
add ebx, ebx
jne 0x41513b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x415130
jne 0x41514c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x415130
xor ecx, ecx
sub eax, 3
jb 0x415160
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4151d2
mov ebp, eax
add ebx, ebx
jne 0x41516b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x415178
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41519c
inc ecx
add ebx, ebx
jne 0x415188
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41517d
jne 0x415199
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41517d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4151bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4151ad
jmp 0x41511e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4151bc
add edi, ecx
jmp 0x41511e
pop esi
mov edi, esi
mov ecx, 0x266
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4151da
cmp byte [edi], 2
jne 0x4151da
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 eax, ebx
loop 0x4151df
lea edi, [esi + 0x13000]
mov eax, dword [edi]
or eax, eax
je 0x41524e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x15000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x15064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41520c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x15068]
or eax, eax
je 0x415248
mov dword [ebx], eax
add ebx, 4
jmp 0x415229
call dword [esi + 0x1506c]
popal
jmp 0x4033eb
Function at 0x10618058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x106181a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1061807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1061806a
add dl, dl
jne 0x10618089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x106180dc
xor eax, eax
add dl, dl
jne 0x10618096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1061817d
add dl, dl
jne 0x106180a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x106180b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x106180bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x106180c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x106180d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10618075
mov eax, 1
add dl, dl
jne 0x106180ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x106180f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x106180e1
sub eax, ebx
mov ebx, 1
jne 0x10618128
mov ecx, 1
add dl, dl
jne 0x1061810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10618119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10618105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10618075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1061813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1061814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10618136
cmp eax, 0x7d00
jae 0x1061816d
cmp eax, 0x500
jb 0x10618168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10618075
cmp eax, 0x7f
ja 0x10618170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10618075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1061819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10618075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x42e001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x5eba4afc
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x6c6f5ea3
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..idata
nop
mov ebx, 0x40915c
nop
mov ecx, 0x37240e39
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x431024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x17035527
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x40123c
Capabilities:
Create pipe
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.0040b430
mov eax, dword [0x245923c]
mov ecx, dword [0x2458cc8]
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x401315
mov edi, ecx
mov ebx, eax
cmp dword [0x245923c], 0x959
jne 0x401305
push esi
lea eax, [ebp - 0x800]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push str.xajoraboyufutudani
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
lea eax, [ebp - 0x1000]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessShutdownParameters]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
lea eax, [ebp - 0x400]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
call fcn.00401007
add edi, 8
dec ebx
jne 0x401268
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4074c0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x440460]
jne 0x4074ca
repz ret
jmp fcn.0040b45b

Function at 0x40799b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x440460]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040571a
and dword [ebp - 0x14], 0
cmp dword [0x4467d8], 0
mov dword [ebp - 0x18], eax
jne 0x407a4e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x407af6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x407af6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4467d8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4467dc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4467e0], eax
call edi
push eax
call esi
mov dword [0x4467e8], eax
test eax, eax
je 0x407a4e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4467e4], eax
mov eax, dword [0x4467e4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x407aa7
cmp dword [0x4467e8], ecx
je 0x407aa7
push eax
call esi
push dword [0x4467e8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x407aa7
test ebx, ebx
je 0x407aa7
call edi
test eax, eax
je 0x407a9e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x407a9e
test byte [ebp - 8], 1
jne 0x407aa7
or dword [ebp + 0x10], 0x200000
jmp 0x407ada
mov eax, dword [0x4467dc]
cmp eax, dword [ebp - 0x18]
je 0x407ada
push eax
call esi
test eax, eax
je 0x407ada
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407ada
mov eax, dword [0x4467e0]
cmp eax, dword [ebp - 0x18]
je 0x407ada
push eax
call esi
test eax, eax
je 0x407ada
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4467d8]
call esi
test eax, eax
je 0x407af6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x407af8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004074c0
leave
ret
Function at 0x4269c9
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x426a08
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x426a08
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x426a08
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x426a08
cmp dword [ecx + 0x74], 0xe
jbe 0x426a08
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x438db0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x438ddd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x438ddd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x433002
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
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
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
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x32dd6b83
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x2aa82b82
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x40302f
Capabilities:
Terminate process

Disassembly:
push 0x60
push 0x40fde8
call fcn.00407554
and dword [ebp - 4], 0
lea eax, [ebp - 0x70]
push eax
call dword [0x40e0a4]
mov dword [ebp - 4], 0xfffffffe
mov edi, 0x94
push edi
push 0
mov ebx, dword [0x40e0a0]
call ebx
push eax
call dword [0x40e09c]
mov esi, eax
test esi, esi
jne 0x402e9a
push 0x12
call fcn.00402dea
pop ecx
jmp 0x403024
mov dword [esi], edi
push esi
call dword [0x40e098]
push esi
push 0
test eax, eax
jne 0x402eb8
call ebx
push eax
call dword [0x40e094]
jmp 0x403024
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x28], eax
mov edi, dword [esi + 0xc]
and edi, 0x7fff
call ebx
push eax
call dword [0x40e094]
mov esi, dword [ebp - 0x20]
cmp esi, 2
je 0x402eea
or edi, 0x8000
mov ecx, dword [ebp - 0x24]
push ecx
pop eax
shl eax, 8
mov edx, dword [ebp - 0x28]
add eax, edx
mov dword [0x434280], esi
mov dword [0x434288], eax
mov dword [0x43428c], ecx
mov dword [0x434290], edx
mov dword [0x434284], edi
call fcn.00402e0e
mov dword [ebp - 0x20], eax
sub ebx, ebx
inc ebx
push ebx
call fcn.004074f8
pop ecx
or eax, eax
jne 0x402f32
push 0x1c
call fcn.00402dea
pop ecx
call fcn.00404531
test eax, eax
jne 0x402f43
push 0x10
call fcn.00402dea
pop ecx
call fcn.00407455
mov dword [ebp - 4], ebx
call fcn.00407215
test eax, eax
jge 0x402f5c
push 0x1b
call fcn.00406706
pop ecx
call dword [0x40e090]
mov dword [0x435a58], eax
call fcn.004070e0
mov dword [0x433e30], eax
call fcn.00407027
test eax, eax
jge 0x402f82
push 8
call fcn.00406706
pop ecx
call fcn.00406db4
test eax, eax
jge 0x402f93
push 9
call fcn.00406706
pop ecx
push ebx
call fcn.00406822
pop ecx
or eax, eax
je 0x402fa5
push eax
call fcn.00406706
pop ecx
call fcn.00406d57
test byte [ebp - 0x44], bl
je 0x402fb5
movzx ecx, word [ebp - 0x40]
jmp 0x402fb8
push 0xa
pop ecx
push ecx
push eax
push 0
push 0x400000
call main
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], 0
jne 0x402fd5
push eax
call fcn.00406982
call fcn.004069a4
jmp 0x40300a
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
jmp 0x403029
mov eax, 0xff
call fcn.00407599
ret
call fcn.00407746
jmp 0x402e4f

Function at 0x40b0c0
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
cmp word [ecx], 0x5a4d
je 0x40b0ce
xor eax, eax
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40b0cb
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
push ecx
pop eax
ret

Function at 0x40b0f0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x40b12c
mov edi, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x40b122
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x40b12e
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x40b112
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x401ac0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x5023a4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x40
lea eax, [ebp - 0x68]
mov edi, ecx
push 0
push eax
call fcn.0049b560
add esp, 0xc
lea eax, [ebp - 0xc8]
push 0x40
push 0
push eax
call fcn.0049b560
sub esp, 0xc
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00402940
push ecx
lea eax, [ebp - 0x68]
push eax
call fcn.00401f00
movups xmm0, xmmword [ebp - 0x68]
xor esi, esi
movups xmmword [ebp - 0x88], xmm0
movups xmm0, xmmword [ebp - 0x58]
movups xmmword [ebp - 0x78], xmm0
movups xmm0, xmmword [ebp - 0x48]
movups xmmword [ebp - 0x24], xmm0
movups xmm0, xmmword [ebp - 0x38]
movups xmmword [ebp - 0x14], xmm0
push esi
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00401c70
inc esi
cmp esi, 0x10
jl 0x401b34
movups xmm0, xmmword [ebp - 0x24]
xor eax, eax
movups xmmword [ebp - 0x68], xmm0
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [ebp - 0x58], xmm0
movups xmm0, xmmword [ebp - 0x88]
movups xmmword [ebp - 0x48], xmm0
movups xmm0, xmmword [ebp - 0x78]
movups xmmword [ebp - 0x38], xmm0
movsx ecx, byte [eax + 0x4d9c80]
movzx ecx, byte [ebp + ecx - 0x69]
mov byte [ebp + eax - 0xc8], cl
movsx ecx, byte [eax + 0x4d9c81]
movzx ecx, byte [ebp + ecx - 0x69]
mov byte [ebp + eax - 0xc7], cl
movsx ecx, byte [eax + 0x4d9c82]
movzx ecx, byte [ebp + ecx - 0x69]
mov byte [ebp + eax - 0xc6], cl
movsx ecx, byte [eax + 0x4d9c83]
movzx ecx, byte [ebp + ecx - 0x69]
mov byte [ebp + eax - 0xc5], cl
add eax, 4
cmp eax, 0x40
jl 0x401b72
sub esp, 8
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00401950
cmp dword [eax + 0x14], 0x10
jb 0x401be1
mov eax, dword [eax]
movups xmm0, xmmword [eax]
mov edx, dword [ebp - 8]
movups xmmword [edi + 0x300], xmm0
cmp edx, 0x10
jb 0x401c1b
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401c11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401c5d
push edx
push ecx
call fcn.0049789c
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x401c4b
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401c41
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401c62
push edx
push ecx
call fcn.0049789c
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0049765c
mov esp, ebp
pop ebp
ret 0x18
call fcn.0049e530
call fcn.0049e530
int3
Function at 0x4020c0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x5023a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push 0x100
mov dword [ebp - 0x108], eax
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.0049b560
mov eax, dword [ebp + 0x10]
add esp, 0xc
test eax, eax
jle 0x40213f
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea ebx, [ebp - 0x104]
sub edi, edx
mov esi, eax
sub ebx, edx
nop
xor ecx, ecx
lea edx, [edx + 1]
cmp byte [edi + edx - 1], 0x31
sete cl
xor eax, eax
cmp byte [edx - 1], 0x31
sete al
xor ecx, eax
dec ecx
neg ecx
sbb cl, cl
add cl, 0x31
mov byte [ebx + edx - 1], cl
sub esi, 1
jne 0x402110
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
push eax
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x108]
call fcn.0049afe0
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
call fcn.0049765c
mov esp, ebp
pop ebp
ret 0x10

Function at 0x403000
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x403059
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403059
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x403048
cmp esi, edx
jae 0x403059
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x403036
cmp esi, edx
jae 0x403059
cmp word [esi], 0
je 0x403059
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret