joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438860
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x22000]
push edi
or ebp, 0xffffffff
jmp 0x438882
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x438889
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x438878
mov eax, 1
add ebx, ebx
jne 0x43889b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x438890
jne 0x4388ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x438890
xor ecx, ecx
sub eax, 3
jb 0x4388c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x438932
mov ebp, eax
add ebx, ebx
jne 0x4388cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4388d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4388fc
inc ecx
add ebx, ebx
jne 0x4388e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4388dd
jne 0x4388f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4388dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43891c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43890d
jmp 0x43887e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43891c
add edi, ecx
jmp 0x43887e
pop esi
mov edi, esi
mov ecx, 0xe0e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43893a
cmp byte [edi], 0xa
jne 0x43893a
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 0x43893f
lea edi, [esi + 0x36000]
mov eax, dword [edi]
or eax, eax
je 0x4389b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3820c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x382ac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43896c
mov ecx, edi
jns 0x43899b
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 + 0x382b0]
or eax, eax
je 0x4389b1
mov dword [ebx], eax
add ebx, 4
jmp 0x438989
call dword [esi + 0x382b4]
popal
jmp 0x41be59

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x44f336
Capabilities:
Encode data using xor

Disassembly:
jmp 0x464de3
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jbe 0x464ed7
push ebx
push ebp
push edi
mov edi, dword [esp + 0x14]
mov ebp, 0x515508
mov bl, byte [esi + edi]
push str.ugAyuisyx
push ebp
call fcn.0044e210
xor edx, edx
mov eax, esi
div dword [esp + 0x24]
pop ecx
pop ecx
push 0x451e88
push str.Bicycle_water
mov bh, byte [edx + section..LN3]
push 0x5155f0
xor bh, bl
call fcn.0044e210
pop ecx
pop ecx
mov ecx, eax
call fcn.00451262
mov bl, byte [esi + edi]
push 0x451e88
push str.dijovhyuGSYYSyus
push ebp
call fcn.0044e210
pop ecx
pop ecx
mov ecx, eax
call fcn.00451262
add byte [esi + edi], bh
push 0x451e88
push str.fdiogiuAsdoiHYUAUAY87234
push ebp
call fcn.0044e210
pop ecx
pop ecx
mov ecx, eax
call fcn.00451262
dec byte [esi + edi]
push str.suih89Ah3
push ebp
call fcn.0044e210
add byte [esi + edi], 0xfe
push str.XScdyhjkujktyyt
push ebp
call fcn.0044e210
sub byte [esi + edi], bl
push str.sJBCsKJ2BJN
push ebp
call fcn.0044e210
inc byte [esi + edi]
push str.sDGTFsE
push ebp
call fcn.0044e210
inc byte [esi + edi]
push str.ZASwe23
push ebp
call fcn.0044e210
inc byte [esi + edi]
push str.uhgiyGAuyisua
push ebp
call fcn.0044e210
add esp, 0x30
inc esi
cmp esi, dword [esp + 0x18]
jb 0x464dfc
pop edi
pop ebp
pop ebx
pop esi
ret

Function at 0x451357
Capabilities:
Parse pe header

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

Function at 0x451672
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
jmp 0x4644b3
push esi
push edi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x56fb98], eax
pop edi
pop esi
ret
Function at 0x40d24e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x40d25d
pop dword [ebp - 0x10]
mov eax, 0x275d196c
add eax, 0xd8e3b8f1
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x40800
push 0
mov eax, 0xc193929c
add eax, 0x3eaebf7c
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0x8a6fc7e
add ecx, 0xf7595667
xor ebx, ebx
add ebx, eax
mov esi, 0x699fa3e3
add esi, 0x96a3b01d
add esi, dword [ebp - 0x10]
mov edi, 0x732b0896
mov edx, dword [esi]
xor dword [ebp - 8], 0x32daf0d
sub edx, edi
add dword [ebp - 8], 0x3ae5491b
mov dword [ebx], edx
sub dword [ebp - 8], edi
add ebx, 0x3c1a2c5d
sub ebx, 0x3c1a2c59
add esi, 0xe6c19f9d
sub esi, 0xe6c19f99
loop 0x40d2b8
add eax, 0xe8cf00b
add eax, 0xf1744e5c
xor ebx, ebx
add ebx, eax
add eax, 0x2c9f98bf
add eax, 0xd3606746
mov ecx, 0x637ca067
add ecx, 0x9cc35f99
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x407fb0
Capabilities:
Delete directory

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x407fbd
xor eax, eax
pop esi
ret
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
jne 0x407fcf
pop esi
ret
cmp ecx, 1
jne 0x407fdd
cmp byte [esi], 0x5c
jne 0x407fdd
xor eax, eax
pop esi
ret
push esi
call fcn.00407d60
add esp, 4
test eax, eax
je 0x407ff1
push esi
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
pop esi
ret

Function at 0x401940
Capabilities:
Hide graphical window
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
push 0x64
push 0x406f58
push 0x69
push esi
call edi
push 0x64
push 0x406ef0
push 0x67
push esi
call edi
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
push 0x6b
push esi
mov dword [ebp - 0x54], 0x30
add byte [eax], al
mov dword [ebp - 0x4c], 0x401610
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x50], 3
call edi
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 8], 8
mov dword [ebp - 4], 0x4000
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0x6c
push esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x30], 0x69
mov dword [ebp - 0x2c], str.Latgoback
call edi
push str.riched32.dll
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push esi
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.Lowster
push str.Latgoback
push 0
mov dword [0x406d37], esi
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
je 0x401a7d
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
push 0
lea edx, [ebp - 0x24]
push edx
call esi
test eax, eax
je 0x401a72
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x24]
push eax
call edi
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
lea edx, [ebp - 0x24]
push edx
call esi
test eax, eax
jne 0x401a52
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00408fe0
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00408fe0
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00408fe0
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00408fe0
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00408fe0
mov dword [0x41203c], eax
call fcn.00408fe0
test eax, eax
jge 0x402550
push 8
call fcn.00408fe0
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00408fe0
pop ecx
push 1
call fcn.00408fe0
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00408fe0
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00408fe0
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00408fe0
jmp 0x402495

Function at 0x408fe0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x408fef
pop dword [ebp - 0x3c]
mov eax, 0x408fef
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x37b76
push 0
mov eax, 0x284f0edb
sub eax, 0x280e2e03
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0x9c39eeaf
add ecx, 0x63c65363
mov edi, eax
mov esi, 0x413bc4
add esi, dword [ebp - 0x3c]
mov ebx, 0xd16b42b
mov dword [ebp - 0x34], 0x8f8ba8b8
mov edx, dword [esi]
xor dword [ebp - 0x10], 0x3b1f6c2c
add edx, ebx
sub dword [ebp - 4], esi
mov dword [edi], edx
add dword [ebp - 0x24], 0xf69e6ba4
add edi, 4
add esi, 4
loop 0x40903d
add eax, 0xfb1b
mov ebx, eax
add eax, 5
mov ecx, 0x55d5cdb7
add ecx, 0xaa6a3249
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x40f040
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x40f04f
pop dword [ebp - 0x20]
mov eax, 0xc46e2a5e
add eax, 0x3bd2c5f1
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xf2cdb553
add dword [ebp - 0x30], 0x5b848ff8
mov dword [ebp - 0x2c], 0xadbb9bcc
add dword [ebp - 0x2c], 0x8477b079
mov dword [ebp - 0x28], 0xe6adb778
sub dword [ebp - 0x28], 0x9a61734a
mov dword [ebp - 0x24], 0x945d4ebd
sub dword [ebp - 0x24], 0x945d4ebd
lea eax, [ebp - 0x30]
push eax
mov eax, 0x1edf5d91
add eax, 0xe1620307
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xa85196c5
add dword [ebp - 0x30], 0xcc20d291
mov dword [ebp - 0x2c], 0x116415a7
add dword [ebp - 0x2c], 0x30084bce
mov dword [ebp - 0x28], 0x4e7646c0
add dword [ebp - 0x28], 0x14f925ac
mov dword [ebp - 0x24], 0xfc1ba4db
add dword [ebp - 0x24], 0x3e45b25
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x3db5b
push 0
call eax
mov ecx, 0x14542e73
add ecx, 0xebac2305
mov edi, eax
mov ebx, 0x42a600
add ebx, dword [ebp - 0x20]
mov edx, 0x6b6f11ba
add edx, 0xb62028f5
sub dword [ebp - 4], 0xb86812a1
mov esi, dword [ebx]
sub dword [ebp - 0x18], ecx
sub esi, edx
xor dword [ebp - 4], 0xe88faf5f
mov dword [edi], esi
xor dword [ebp - 8], 0x1d49610f
add edi, 4
add ebx, 0xbfeee4d1
sub ebx, 0xbfeee4cd
loop 0x40f166
add eax, 0x6a53f40d
sub eax, 0x6a52bb5a
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x23bf3e69
add ecx, 0xdc80c197
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
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], 0x1b
call ebx
add byte [esi + edi], 0x47
call ebx
xor byte [esi + edi], 9
call ebx
add byte [esi + edi], 0x74
call ebx
add byte [esi + edi], 0xbe
call ebx
add byte [esi + edi], 0x60
call ebx
add byte [esi + edi], 0x2f
call ebx
xor byte [esi + edi], 0x97
call ebx
add byte [esi + edi], 0x8b
call ebx
add byte [esi + edi], 0x78
call ebx
xor byte [esi + edi], 0x73
call ebx
add byte [esi + edi], 0x1f
call ebx
add byte [esi + edi], 0x84
call ebx
add byte [esi + edi], 0xf6
call ebx
add byte [esi + edi], 0xa2
call ebx
add byte [esi + edi], 0x3a
call ebx
xor byte [esi + edi], 0x7b
call ebx
add byte [esi + edi], 0xdd
call ebx
add byte [esi + edi], 0x23
call ebx
add byte [esi + edi], 4
call ebx
add byte [esi + edi], 0x61
call ebx
add byte [esi + edi], 0x49
call ebx
add byte [esi + edi], 0x79
call ebx
add byte [esi + edi], 0xf2
call ebx
add byte [esi + edi], 0xfc
call ebx
xor byte [esi + edi], 0xb2
call ebx
add byte [esi + edi], 0x3d
call ebx
add byte [esi + edi], 0xb8
call ebx
add byte [esi + edi], 0xa5
call ebx
add byte [esi + edi], 0x53
call ebx
add byte [esi + edi], 0x67
call ebx
xor byte [esi + edi], 0x9a
call ebx
xor byte [esi + edi], 0x13
call ebx
xor byte [esi + edi], 0x94
call ebx
add byte [esi + edi], 0x84
call ebx
add byte [esi + edi], 0x7a
call ebx
xor byte [esi + edi], 0xc9
call ebx
add byte [esi + edi], 0xdf
call ebx
add byte [esi + edi], 0xb6
call ebx
xor byte [esi + edi], 0xa3
call ebx
add byte [esi + edi], 0xdb
call ebx
xor byte [esi + edi], 0x59
call ebx
add byte [esi + edi], 0x31
call ebx
xor byte [esi + edi], 0xf6
call ebx
add byte [esi + edi], 0x6b
call ebx
xor byte [esi + edi], 0x5a
call ebx
add byte [esi + edi], 0x90
call ebx
add byte [esi + edi], 0xf3
call ebx
add byte [esi + edi], 0xf1
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 [0x45a8ec]
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 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 0x408920
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x4085d8
call fcn.00408949
and eax, eax
xor dword [edx], esi
add eax, 0xf93ba5a6
add ebx, ebx
add edx, 1
sub ebx, ebx
add eax, eax
cmp edx, ecx
jne fcn.00408920
add eax, eax
ret
Function at 0x405a83
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push esi
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x405aa9
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x405aa9
xor al, al
jmp 0x405ac9
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.00414490
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4

Function at 0x40cdf0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x41a510
call fcn.00413954
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 8
mov dword [esi], 0x41b694
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 1
mov dword [esi + 0x14], 0x41b748
push 4
mov ebx, 0x41b684
pop eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.004032a8
mov dword [esi + 0x3c], 0x41b7f8
push 4
mov dword [esi + 0x54], edi
pop eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x50], ebx
lea edi, [esi + 0x64]
push eax
mov ecx, edi
mov byte [ebp - 4], al
call fcn.004032a8
mov dword [edi], 0x41b800
lea edi, [esi + 0x78]
mov byte [ebp - 4], 5
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b99b
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 6
call fcn.0040c3f8
lea edi, [esi + 0xa0]
mov byte [ebp - 4], 7
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b99b
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 8
call fcn.0040c3f8
lea edi, [esi + 0xc8]
mov byte [ebp - 4], 9
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b99b
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xa
call fcn.0040c3f8
mov byte [ebp - 4], 0xb
lea edi, [esi + 0xf0]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b99b
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xc
call fcn.0040c3f8
lea ecx, [esi + 0x118]
mov byte [ebp - 4], 0xd
call fcn.0040c3f8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x413220
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call fcn.004148be
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x413248
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x413257
mov eax, 1
ret 4

Function at 0x40890f
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop edx
call fcn.00408936
add eax, ebx
mov eax, 0x89f57f44
xor dword [edi], edx
add edi, 1
or ebx, ebx
sub eax, eax
cmp edi, ecx
jne fcn.0040890f
and eax, eax
or ebx, ebx
ret
Function at 0x402d74
Capabilities:
Delete directory
Get common file path
Get file attributes
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x104c
call fcn.0040dff0
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
xor ebx, ebx
cmp dword [0x49cb78], 0x594
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], eax
jne 0x402dc4
push 0x4026c8
push 0x4026d8
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
push 0x4026f4
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
mov eax, dword [0x4924a8]
mov dword [ebp - 0x28], eax
mov eax, dword [0x4924ac]
mov dword [ebp - 0x30], eax
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
call fcn.00402d6d
mov eax, dword [0x4924b0]
add dword [ebp - 0x10], 0x23f
mov dword [ebp - 0x2c], eax
mov eax, dword [0x4924b4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0x20
jmp 0x402e03
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, esi
shl eax, 4
cmp dword [0x49cb78], 0xc
mov dword [ebp - 4], eax
jne 0x402e65
push ebx
lea eax, [ebp - 0x84c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
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 - 0x104c]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
lea eax, [ebp - 0x38]
push eax
push ebx
lea eax, [ebp - 0x4c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov eax, dword [0x49cb78]
cmp eax, 0xfa9
jne 0x402e81
mov dword [0x49c114], 0xedeb2e40
cmp eax, 0x3eb
jne 0x402e8e
mov dword [0x49bac0], ebx
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov edx, esi
shr edx, cl
lea eax, [edi + esi]
mov dword [ebp - 0x18], eax
mov dword [0x49c110], 0xf4ea3dee
add edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
cmp dword [0x49cb78], 0x213
mov dword [ebp - 0x18], edx
jne 0x402ece
push 0x402710
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov eax, dword [ebp - 0x18]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
call fcn.00402d67
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add dword [ebp - 0x10], 0x61c88647
mov eax, edx
shr eax, cl
lea esi, [edi + edx]
add eax, dword [ebp - 0x30]
xor eax, esi
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0x14], eax
dec dword [ebp - 0x20]
jne 0x402e00
cmp dword [0x49cb78], 0xa6d
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp + 8]
mov dword [esi], eax
pop edi
jne 0x402f38
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov edx, dword [ebp - 8]
mov dword [esi + 4], edx
pop esi
pop ebx
leave
ret 4
Function at 0x402f41
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x49cb78]
mov ecx, dword [0x49bac8]
sub esp, 0x544
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x402fb4
mov edi, ecx
mov ebx, eax
cmp dword [0x49cb78], 0x959
jne 0x402fa8
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
lea eax, [ebp - 0x140]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
push 0x402750
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
push esi
lea eax, [ebp - 0x540]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push edi
call fcn.00402d74
add edi, 8
dec ebx
jne 0x402f65
pop edi
pop esi
pop ebx
leave
ret