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

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x1543700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0154378f
jae 0x154370e
xor ecx, ecx
call fcn.0154378f
jae 0x154373d
xor eax, eax
call fcn.0154378f
jae 0x154374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0154378f
adc al, al
jae 0x154372f
jne 0x1543779
stosb byte es:[edi], al
jmp 0x1543711
call fcn.0154379b
sub ecx, ebx
jne 0x1543756
call fcn.01543799
jmp 0x1543775
lodsb al, byte [esi]
shr eax, 1
je 0x1543783
adc ecx, ecx
jmp 0x1543772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.01543799
cmp eax, 0x7d00
jae 0x1543772
cmp ah, 5
jae 0x1543773
cmp eax, 0x7f
ja 0x1543774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1543711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x2bed7b9a
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x42e1d0
mov ecx, 0x4baf6fed
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x40605d
Capabilities:
Terminate process

Disassembly:
push edi
mov edi, ecx
test edi, edi
je 0x406142
push edi
call dword [sym.imp.libav.dll_Ordinal_44297]
pop ecx
test eax, eax
je 0x40607c
push 0xffffffffffffffff
call dword [sym.imp.MSVCR110.dll_exit]
cmp dword [edi + 0x18], 1
je 0x406094
push edi
call dword [sym.imp.libav.dll_Ordinal_44298]
pop ecx
test eax, eax
je 0x406142
jmp 0x406074
cmp dword [edi + 0x24], 0
mov dword [edi + 0x18], 2
jle 0x4060ba
lea eax, [edi + 4]
push eax
call dword [sym.imp.libav.dll_Ordinal_44306]
pop ecx
test eax, eax
je 0x4060ba
push edi
call dword [sym.imp.libav.dll_Ordinal_44298]
pop ecx
pop edi
ret
cmp dword [edi + 0x24], 0
push esi
jle 0x4060d7
lea esi, [edi + 4]
push edi
push esi
call dword [sym.imp.libav.dll_Ordinal_44311]
pop ecx
pop ecx
test eax, eax
jne 0x4060f2
cmp dword [edi + 0x24], eax
jg 0x4060c4
mov ecx, edi
call fcn.00405be4
push edi
call dword [sym.imp.libav.dll_Ordinal_44298]
pop ecx
test eax, eax
je 0x4060fc
push 0xffffffffffffffff
call dword [sym.imp.MSVCR110.dll_exit]
push edi
call dword [sym.imp.libav.dll_Ordinal_44298]
pop ecx
jmp 0x406141
push edi
call dword [sym.imp.libav.dll_Ordinal_44299]
mov esi, dword [sym.imp.libav.dll_Ordinal_44308]
lea eax, [edi + 0xc]
push eax
call esi
lea eax, [edi + 0x10]
push eax
call esi
lea eax, [edi + 0x14]
push eax
call esi
lea eax, [edi + 4]
push eax
call esi
lea eax, [edi + 8]
push eax
call dword [sym.imp.libav.dll_Ordinal_44314]
push dword [edi + 0x40]
mov esi, dword [sym.imp.MSVCR110.dll_free]
call esi
push dword [edi + 0x3c]
call esi
push edi
call esi
add esp, 0x24
pop esi
pop edi
ret

Function at 0x5c53700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.05c5378f
jae 0x5c5370e
xor ecx, ecx
call fcn.05c5378f
jae 0x5c5373d
xor eax, eax
call fcn.05c5378f
jae 0x5c5374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.05c5378f
adc al, al
jae 0x5c5372f
jne 0x5c53779
stosb byte es:[edi], al
jmp 0x5c53711
call fcn.05c5379b
sub ecx, ebx
jne 0x5c53756
call fcn.05c53799
jmp 0x5c53775
lodsb al, byte [esi]
shr eax, 1
je 0x5c53783
adc ecx, ecx
jmp 0x5c53772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.05c53799
cmp eax, 0x7d00
jae 0x5c53772
cmp ah, 5
jae 0x5c53773
cmp eax, 0x7f
ja 0x5c53774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5c53711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x401000
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41515f
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x41c024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x84], ebx
mov dword [0x41df40], ebx
xor esi, esi
mov dword [ebp - 4], esi
lea edi, [ebx + 0x38]
lea eax, [edi + 4]
mov dword [ebx], str.FM4.0
mov dword [ebx + 4], str.fm4.exe
mov dword [ebx + 8], str.YySRV.exe
mov dword [ebx + 0xc], 0x41831c
mov dword [ebx + 0x10], str.PlayerUpdate.exe
mov byte [ebx + 0x14], 0
mov dword [ebx + 0x30], 0xa
mov word [ebx + 0x34], si
mov byte [ebx + 0x36], 0
mov dword [edi], eax
mov byte [eax], 0
lea ecx, [ebx + 0x80]
lea eax, [ecx + 4]
mov dword [ebx + 0x7c], esi
mov dword [ebp - 0x6c], ecx
mov dword [ecx], eax
mov byte [eax], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x20]
push eax
mov dword [ebx + 0xc4], 0x1010101
mov dword [ebx + 0xc8], esi
mov dword [ebx + 0xcc], esi
call dword [0x416124]
movzx ecx, word [ebp - 0x16]
movzx edx, word [ebp - 0x18]
movzx eax, word [ebp - 0x1a]
push ecx
movzx ecx, word [ebp - 0x1e]
push edx
movzx edx, word [ebp - 0x20]
push eax
push ecx
push edx
push str.__d_02d_02d_02d_02d
call fcn.00403350
add esp, 0x18
push ebx
call fcn.00401170
push 0xa0
call fcn.00408e0c
add esp, 4
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 3
cmp eax, esi
je 0x401102
push eax
call fcn.004036a0
jmp 0x401104
xor eax, eax
lea esi, [ebp - 0x68]
mov dword [ebx + 0x7c], eax
call fcn.00401600
mov esi, dword [ebp - 0x6c]
call fcn.00402f20
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x64]
cmp eax, ecx
je 0x40112a
push eax
call fcn.004093a1
add esp, 4
xor eax, eax
push eax
lea edx, [ebp - 0x7c]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
push edx
lea eax, [ebx + 0x18]
push eax
mov dword [ebp - 0x7c], 1
call dword [0x416288]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00408b8e
mov esp, ebp
pop ebp
ret
Function at 0x402300
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x41c024]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [0x416140]
push eax
call dword [0x416014]
test eax, eax
je 0x402346
lea ecx, [ebp - 0x20]
push ecx
push str.SeDebugPrivilege
push 0
call dword [0x416010]
test eax, eax
jne 0x402356
mov edx, dword [ebp - 0x18]
push edx
call dword [0x416110]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00408b8e
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push 0
push 0
push 0x10
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
push 0
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 2
call dword [0x41600c]
test eax, eax
jne 0x4023a4
mov ecx, dword [ebp - 0x18]
push ecx
call dword [0x416110]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00408b8e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.00408b8e
mov esp, ebp
pop ebp
ret
Function at 0x402850
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x19054
call fcn.00410660
mov eax, dword [0x41c024]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 0
push 0
push 1
push 0
mov esi, ecx
call dword [0x416270]
mov edi, eax
test edi, edi
jne 0x4028c8
lea eax, [esi + 4]
push edi
push 0x41840a
push eax
mov dword [esi], eax
mov byte [eax], 0
call fcn.00409387
mov eax, dword [esi]
mov byte [eax], 0
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
add esp, 0xc
cmp eax, ecx
je 0x402a98
push eax
call fcn.004093a1
add esp, 4
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00408b8e
mov esp, ebp
pop ebp
ret 0x44
mov edx, dword [ebp + 8]
push ebx
push 0
push 0x102
push 0
push 0
push edx
push edi
call dword [0x416278]
mov ebx, eax
test ebx, ebx
jne 0x402908
push edi
call dword [0x41627c]
lea eax, [esi + 4]
push ebx
push 0x41840a
push eax
mov dword [esi], eax
mov byte [eax], bl
call fcn.00409387
mov eax, dword [esi]
mov byte [eax], bl
jmp 0x402a81
push 0
lea edx, [ebp - 0x19054]
push edx
lea eax, [ebp - 0x19050]
push eax
push 0x20000013
push ebx
mov dword [ebp - 0x19054], 4
call dword [0x416280]
cmp dword [ebp - 0x19050], 0x190
jb 0x402964
lea eax, [esi + 4]
push 0
push 0x41840a
push eax
mov dword [esi], eax
mov byte [eax], 0
call fcn.00409387
mov ecx, dword [esi]
mov byte [ecx], 0
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
add esp, 0xc
cmp eax, edx
jmp 0x402a8c
push 0x19000
lea eax, [ebp - 0x19004]
push 0
push eax
mov dword [ebp - 0x1904c], 0
call fcn.0040d540
add esp, 0xc
lea ecx, [ebp - 0x1904c]
push ecx
push 0x19000
lea edx, [ebp - 0x19004]
push edx
push ebx
call dword [0x416274]
test eax, eax
je 0x402a67
mov eax, dword [ebp - 0x1904c]
test eax, eax
je 0x402a67
push ebx
mov ebx, dword [0x41627c]
mov byte [ebp + eax - 0x19004], 0
call ebx
push edi
call ebx
lea eax, [ebp - 0x19044]
lea ecx, [ebp - 0x19004]
mov dword [ebp - 0x19048], eax
mov byte [ebp - 0x19044], 0
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4029e4
sub ecx, edi
mov edi, ecx
cmp edi, 0x3f
jl 0x402a12
lea eax, [edi + 1]
push eax
push 0
mov dword [ebp - 0x19048], 0
call fcn.00409671
add esp, 8
mov dword [ebp - 0x19048], eax
push edi
lea ecx, [ebp - 0x19004]
push ecx
push eax
call fcn.00409387
mov edx, dword [ebp - 0x19048]
push 0x19000
lea eax, [ebp - 0x19004]
push 0
push eax
mov byte [edi + edx], 0
call fcn.0040d540
add esp, 0x18
lea ecx, [ebp - 0x19048]
push ecx
call fcn.00402cf0
mov eax, dword [ebp - 0x19048]
lea edx, [ebp - 0x19044]
cmp eax, edx
je 0x402a84
push eax
call fcn.004093a1
add esp, 4
jmp 0x402a84
lea eax, [esi + 4]
push 0
push 0x41840a
push eax
mov dword [esi], eax
mov byte [eax], 0
call fcn.00409387
mov edx, dword [esi]
mov byte [edx], 0
add esp, 0xc
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
cmp eax, ecx
je 0x402a97
push eax
call fcn.004093a1
add esp, 4
pop ebx
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00408b8e
mov esp, ebp
pop ebp
ret 0x44
Function at 0x404220
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x41c024]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x90]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
mov esi, ecx
call dword [section..rdata]
test eax, eax
jne 0x404320
mov edx, dword [0x41df40]
push edi
lea ecx, [ebp - 0x88]
mov byte [ebp - 0x88], al
mov eax, dword [edx + 4]
mov dword [ebp - 0x8c], ecx
mov ecx, dword [esi]
push eax
push ecx
push str.__s_s___mini
lea edi, [ebp - 0x8c]
call fcn.00403350
lea edx, [ebp - 0x44]
push 5
mov eax, edx
push str.FM4.0
push eax
mov dword [ebp - 0x48], edx
mov byte [ebp - 0x44], 0
call fcn.00409387
mov ecx, dword [ebp - 0x48]
mov byte [ecx + 5], 0
mov edx, dword [esi + 0x54]
add esp, 0x18
push edx
lea eax, [ebp - 0x48]
call fcn.00402d80
mov edx, dword [ebp - 0x8c]
mov eax, edx
lea esi, [eax + 1]
pop edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4042c7
mov ecx, dword [ebp - 0x90]
sub eax, esi
push eax
mov eax, dword [ebp - 0x48]
push edx
push 1
push 0
push eax
push ecx
call dword [0x416008]
mov edx, dword [ebp - 0x90]
push edx
call dword [0x416018]
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x44]
cmp eax, ecx
je 0x404307
push eax
call fcn.004093a1
add esp, 4
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
cmp eax, edx
je 0x404320
push eax
call fcn.004093a1
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00408b8e
mov esp, ebp
pop ebp
ret
Function at 0x404330
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x41c024]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x138]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [section..rdata]
test eax, eax
jne 0x404505
push esi
push edi
mov edi, dword [ebx]
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xac], eax
mov byte [ebp - 0xa8], 0
test edi, edi
jne 0x404389
mov edi, 0x41840a
mov ecx, edi
lea esi, [ecx + 1]
mov edi, edi
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x404390
sub ecx, esi
mov esi, ecx
cmp esi, 0x3f
jl 0x4043be
lea ecx, [esi + 1]
push ecx
push 0
mov dword [ebp - 0xac], 0
call fcn.00409671
add esp, 8
mov dword [ebp - 0xac], eax
push esi
push edi
push eax
call fcn.00409387
mov edx, dword [ebp - 0xac]
add esp, 0xc
push str.SysConfig.ini
lea eax, [ebp - 0xac]
mov byte [esi + edx], 0
call fcn.00402d80
mov eax, dword [ebp - 0xac]
push eax
push 0x63
lea ecx, [ebp - 0x68]
push ecx
push str.BoxNews.exe
push str.RunSetup
push str.SysConfig
call dword [0x416128]
mov ecx, dword [ebx]
lea eax, [ebp - 0x68]
push eax
push ecx
lea edx, [ebp - 0x130]
push str.__s_s___mini
lea edi, [ebp - 0x134]
mov dword [ebp - 0x134], edx
mov byte [ebp - 0x130], 0
call fcn.00403350
lea edx, [ebp - 0xec]
push 5
mov eax, edx
push str.FM4.0
push eax
mov dword [ebp - 0xf0], edx
mov byte [ebp - 0xec], 0
call fcn.00409387
mov ecx, dword [ebp - 0xf0]
add esp, 0x18
push str._News
lea eax, [ebp - 0xf0]
mov byte [ecx + 5], 0
call fcn.00402d80
mov edx, dword [ebx + 0x54]
push edx
lea eax, [ebp - 0xf0]
call fcn.00402d80
mov edx, dword [ebp - 0x134]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404488
mov ecx, dword [ebp - 0x138]
sub eax, esi
push eax
mov eax, dword [ebp - 0xf0]
push edx
push 1
push 0
push eax
push ecx
call dword [0x416008]
mov edx, dword [ebp - 0x138]
push edx
call dword [0x416018]
mov eax, dword [ebp - 0xf0]
lea ecx, [ebp - 0xec]
pop edi
pop esi
cmp eax, ecx
je 0x4044d3
push eax
call fcn.004093a1
add esp, 4
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
cmp eax, edx
je 0x4044ec
push eax
call fcn.004093a1
add esp, 4
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xa8]
cmp eax, ecx
je 0x404505
push eax
call fcn.004093a1
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00408b8e
mov esp, ebp
pop ebp
ret
Function at 0x406770
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
jne 0x406777
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x40684d
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x419b18]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x419b18]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x419b18]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x419b18]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x419b18]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x419b18]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x419b18]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x419b18]
add ecx, 8
sub edx, 8
dec esi
jne 0x406790
pop edi
test edx, edx
je 0x40686a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x419b18]
inc ecx
dec edx
jne 0x406851
not eax
pop esi
ret
Function at 0x69b030
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1c8000]
push edi
or ebp, 0xffffffff
jmp 0x69b052
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x69b059
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x69b048
mov eax, 1
add ebx, ebx
jne 0x69b06b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x69b07c
jne 0x69b09b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x69b09b
dec eax
add ebx, ebx
jne 0x69b088
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x69b060
add ebx, ebx
jne 0x69b097
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x69b0ed
xor ecx, ecx
sub eax, 3
jb 0x69b0b3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x69b122
sar eax, 1
mov ebp, eax
jmp 0x69b0be
add ebx, ebx
jne 0x69b0be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x69b08c
inc ecx
add ebx, ebx
jne 0x69b0cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x69b08c
add ebx, ebx
jne 0x69b0d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x69b0ce
jne 0x69b0ea
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x69b0ce
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x69b10c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x69b0fe
jmp 0x69b04e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x69b10c
add edi, ecx
jmp 0x69b04e
pop esi
mov edi, esi
mov ecx, 0x5fd8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x69b12a
cmp byte [edi], 0x34
jne 0x69b12a
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 0x69b12f
lea edi, [esi + 0x298000]
mov eax, dword [edi]
or eax, eax
je 0x69b1a7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2b6aa8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2b6c24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x69b15c
mov ecx, edi
jns 0x69b18b
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 + 0x2b6c2c]
or eax, eax
je 0x69b1a1
mov dword [ebx], eax
add ebx, 4
jmp 0x69b179
call dword [esi + 0x2b6c28]
mov ebp, dword [esi + 0x2b6c30]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x69b1db
sub esp, 0xffffff80
jmp 0x4c4871
Function at 0x401113
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [edi + 0xe]
test esi, esi
jne 0x40112c
xor eax, eax
jmp 0x4011ab
xor edx, edx
lea ecx, [ebp - 0x400]
and dword [ebp - 0x400], edx
mov eax, dword [ecx]
add eax, eax
test byte [ecx + 3], 0x80
je 0x401156
mov dword [ebp + edx*4 - 0x3fc], eax
xor eax, esi
mov dword [ebp + edx*4 - 0x400], eax
jmp 0x401166
mov dword [ebp + edx*4 - 0x400], eax
xor eax, esi
mov dword [ebp + edx*4 - 0x3fc], eax
inc edx
add ecx, 4
inc edx
cmp edx, 0x100
jb 0x40113a
mov ecx, dword [edi + 0xa]
and dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
test ecx, ecx
je 0x4011a0
movzx edx, byte [eax]
movzx esi, byte [ebp + 0x13]
xor edx, esi
mov esi, dword [ebp + 0x10]
shl esi, 8
mov edx, dword [ebp + edx*4 - 0x400]
xor edx, esi
inc eax
dec ecx
mov dword [ebp + 0x10], edx
jne 0x401181
mov ecx, dword [ebp + 0x10]
xor eax, eax
cmp ecx, dword [edi + 0x12]
sete al
pop edi
pop esi
leave
ret

Function at 0x401262
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
lea eax, [ebp - 0x104]
push 0x104
xor esi, esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
push esi
push 3
push esi
push 1
lea eax, [ebp - 0x104]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [0x406810], eax
je 0x4012ba
push esi
push esi
push esi
push 2
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, esi
mov dword [0x406804], eax
jne 0x4012be
xor eax, eax
jmp 0x4012e4
push esi
push esi
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push esi
mov dword [0x406808], eax
push dword [0x406810]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [0x40680c], eax
xor eax, eax
inc eax
pop esi
leave
ret
Function at 0x401603
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x364
push ebx
push esi
xor ebx, ebx
push 0x44
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.00401028
push 0x10
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00401028
add esp, 0x18
mov esi, 0x104
lea eax, [ebp - 0x364]
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x364]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x401670
lea eax, [ebp - 0x15c]
push eax
call esi
mov byte [ebp + eax - 0x15d], bl
lea eax, [ebp - 0x15c]
push eax
call esi
cmp byte [ebp + eax - 0x15d], 0x5c
jne 0x401660
mov eax, dword [0x40681c]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
add eax, 0x11c
mov dword [ebp - 0x58], 0x44
push eax
push 0x4053a8
push dword [ebp + 8]
call esi
mov eax, dword [0x40681c]
add esp, 0xc
cmp dword [eax + 0x118], ebx
je 0x4016d8
lea ecx, [ebp - 0x15c]
add eax, 0x220
push ecx
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x260]
push str.__s___s__s_
push eax
call esi
add esp, 0x14
jmp 0x4016f2
add eax, 0x220
push eax
lea eax, [ebp - 0x260]
push dword [ebp + 8]
push str.__s___s
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x260]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x401738
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push dword [ebp - 0x10]
call esi
push 0xffffffffffffffff
push dword [ebp - 0xc]
call esi
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
jmp 0x40174b
push str.Unable_to_execute_command
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004011df
pop ecx
pop ecx
pop esi
pop ebx
leave
ret