joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003d99b
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov edx, ecx
cmp byte [ebp + 0x20], 0
push ebx
push esi
push edi
je 0x1003da75
mov dword [ebp - 0x10], 0x6cf4
cmp dword [ebp - 0x10], 0x70bc
jle 0x1003da32
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
xor esi, esi
xor edi, edi
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0xc], eax
and eax, ebx
lea ecx, [ebp - 0x28]
and eax, edi
and eax, esi
cdq
push edx
push eax
call fcn.10001a6a
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003d9f6
mov eax, dword [eax]
push eax
call fcn.10046acc
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.1000aac7
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, 0x232
jl 0x1003d9db
inc ebx
cmp ebx, 0x2842
jl 0x1003d9d6
inc edi
cmp edi, 0x2c98
jl 0x1003d9d4
inc esi
cmp esi, 0x11bb
jl 0x1003d9d2
cmp dword [ebp - 0x10], 0x6be6
jge 0x1003da46
push str.nul_vpp_thnyjfb_kdbcnjae_thdeegdgo_vavjl_gsla_tfvm_vsdhmhrs_jecntha_yba_qimsordl_zdub
call fcn.10046acc
pop ecx
mov esi, dword [ebp + 0x24]
mov dword [esi], 0x18
jmp 0x1003da6e
mov byte [ebp - 5], 0
cmp byte [ebp - 5], 0
je 0x1003da6c
push ecx
push ecx
push 0x1bd
xor dl, dl
call fcn.1003d458
add esp, 0xc
dec dword [esi]
cmp dword [esi], 0xfffffff4
jg 0x1003da51
jmp 0x1003da92
mov dword [edx], 0
cmp dword [edx], 2
jge 0x1003da92
mov esi, dword [ebp + 0x28]
mov ecx, dword [edx]
mov eax, dword [esi]
or dword [eax + ecx*4], 0xffffffff
inc dword [edx]
cmp dword [edx], 2
jl 0x1003da83
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003dfee
Capabilities:
Terminate process

Disassembly:
mov eax, 0x1005ecd9
call fcn.1005d528
sub esp, 0x2c
push ebx
push esi
mov dword [ebp - 0x24], 0x72cc
xor ebx, ebx
cmp dword [ebp - 0x24], 0x73d9
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x38], ecx
jle 0x1003e07e
mov edi, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0x6f48
mov esi, ebx
mov ebx, dword [ebp - 0x18]
mov eax, ebx
mov ecx, 0x100792f8
cdq
idiv esi
mov eax, edi
sub eax, edx
cdq
push edx
push eax
call fcn.1000a4ec
inc esi
cmp esi, 0x6408
jl 0x1003e02d
mov esi, dword [ebp - 0x20]
add ebx, esi
dec dword [ebp - 0x1c]
push 0
mov dword [ebp - 0x18], ebx
pop ebx
jne 0x1003e028
inc esi
mov dword [ebp - 0x20], esi
cmp esi, 0x29e4
jl 0x1003e01e
inc edi
cmp edi, 0x44fe
jl 0x1003e01b
push ebx
push ebx
push 0x2310
call dword [sym.imp.GDI32.dll_PlayEnhMetaFile]
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x24], 0x7046
jge 0x1003e099
mov edx, str.suuwa_pipom_pmbrgs_wqogmkzb_jqygkjmc_hydnyd_knckjq_fqalwhize_gflexulg_jyzxrigm_lottozvgw
mov ecx, 0x100792f8
call fcn.1000c8f5
or dword [ebp - 4], 0xffffffff
cmp byte [ebp + 0x14], 0
je 0x1003e12e
mov esi, dword [ebp + 0x10]
mov dword [esi], 0xffffffea
cmp dword [esi], 0x12
jl 0x1003e143
mov edi, dword [ebp - 0x30]
push dword [ebp + 0xc]
mov dword [ebp - 0x2c], 0xfffc
lea edx, [ebp - 0x2c]
push 1
mov dword [ebp - 0x28], 0x7fd1e814
mov ecx, 0x3eab
push 1
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0x18]
lea eax, [ebp - 0x28]
push dword [ebp - 0x38]
push 0x2330
push esi
push edi
push ebx
push eax
call fcn.1003d609
add esp, 0x2c
inc dword [esi]
cmp dword [esi], 0x12
jge 0x1003e0bc
jmp 0x1003e143
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 0
je 0x1003e143
push 0x9a6
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40db80
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x4143d8], 0
jne 0x40dc01
cmp dword [0x4143f8], 0
jne 0x40dbb0
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x4143f8], eax
test eax, eax
jne 0x40dbb0
push str.GetEnvironmentStrings_failed
call fcn.0040cbf0
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x4143f8]
jmp 0x40dbc4
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00406b08
pop ecx
mov edi, eax
test eax, eax
jne 0x40dbbc
lea edi, [ebp + 1]
push edi
call fcn.00405c3c
pop ecx
mov ebx, eax
mov dword [0x4143dc], ebx
test ebx, ebx
jne 0x40dbee
xor eax, eax
jmp 0x40dcc4
push edi
mov edx, dword [0x4143f8]
push edx
push ebx
call fcn.004069b8
add esp, 0xc
jmp 0x40dc21
xor esi, esi
mov ebx, dword [0x4143d8]
jmp 0x40dc1b
push eax
call fcn.00406b08
pop ecx
test eax, eax
jne 0x40dc17
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40dc0b
lea ebx, [esi + 4]
push 4
mov dword [0x4143e0], ebx
inc ebx
push ebx
call fcn.00405a3c
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x40dc44
xor eax, eax
jmp 0x40dcc4
cmp dword [0x4143d8], 0
jne 0x40dc75
xor esi, esi
mov ebx, dword [0x4143dc]
mov eax, dword [esp]
mov ebp, eax
jmp 0x40dc66
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00406b08
pop ecx
mov edi, eax
test eax, eax
jne 0x40dc5c
jmp 0x40dca6
xor esi, esi
mov ebx, dword [0x4143d8]
mov eax, dword [esp]
mov edi, eax
jmp 0x40dca0
push eax
call fcn.00406b08
pop ecx
test eax, eax
je 0x40dc95
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x40dc99
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40dc84
mov eax, dword [0x4143d8]
test eax, eax
je 0x40dcb6
push eax
call fcn.00405c4c
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x4143d8], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
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
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x58ae5575
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x32776603
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x338341dc
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..text_1
mov ebx, 0x4304d8
nop
mov ecx, 0x6b046679
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x405590
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
push esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4055ae
or eax, eax
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
mov dword [esp + 0xc], eax
mov word [esp + 8], 2
call dword [sym.imp.WS2_32.dll_htons]
lea edx, [esp + 4]
push 0x10
push edx
push esi
mov word [esp + 0x12], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4055ef
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
pop esi
add esp, 0x10
ret
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
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 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4

Function at 0x403161
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x403161
lcall 0x5de5, 0x8b10c483
jmp loc.00791034
Function at 0x403ad0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
xor eax, 0xffffffff
test ecx, ecx
mov esi, dword [ebp + 8]
je 0x403af9
xor al, byte [esi]
movzx edx, al
shr eax, 8
mov edx, dword [edx*4 + section..data]
inc esi
xor eax, edx
dec ecx
jne 0x403ae4
xor eax, 0xffffffff
pop esi
leave
ret 0xc

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

Disassembly:
pushal
nop
mov eax, section..rsrc
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x65d76f6c
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x4d72584e
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x418180
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x12000]
push edi
or ebp, 0xffffffff
jmp 0x4181a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4181a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x418198
mov eax, 1
add ebx, ebx
jne 0x4181bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4181b0
jne 0x4181cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4181b0
xor ecx, ecx
sub eax, 3
jb 0x4181e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x418252
mov ebp, eax
add ebx, ebx
jne 0x4181eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4181f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41821c
inc ecx
add ebx, ebx
jne 0x418208
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4181fd
jne 0x418219
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4181fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41823c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41822d
jmp 0x41819e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41823c
add edi, ecx
jmp 0x41819e
pop esi
mov edi, esi
mov ecx, 0x3b2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41825a
cmp byte [edi], 0
jne 0x41825a
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 0x41825f
lea edi, [esi + 0x16000]
mov eax, dword [edi]
or eax, eax
je 0x4182ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x180b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18114]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41828c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x18118]
or eax, eax
je 0x4182c8
mov dword [ebx], eax
add ebx, 4
jmp 0x4182a9
call dword [esi + 0x1811c]
popal
jmp 0x40a630

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x34c44da0
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x5ae20853
nop
nop
nop
nop
test eax, eax
je 0x431084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x431003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x431072
nop
nop
nop
nop
mov ebx, 0x40915c
nop
mov ecx, ebx
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
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x4b524eac
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x431060
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4310d2
nop
mov ebx, 0x42f3f8
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x13631094
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4310c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4093f0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
mov eax, edi
shr eax, 5
add eax, 1
cmp edi, eax
mov ebx, edi
mov dword [esp + 0x1c], edi
mov ecx, edi
jb 0x40942f
movzx edx, byte [esi + ecx - 1]
mov ebp, ebx
shl ebp, 5
add edx, ebp
mov ebp, ebx
shr ebp, 2
add edx, ebp
sub ecx, eax
xor ebx, edx
cmp ecx, eax
jae 0x409410
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [eax]
sub ecx, 1
and ecx, ebx
mov eax, dword [edx + ecx*4]
test eax, eax
je 0x4094f4
jmp 0x409450
cmp dword [eax + 0xc], edi
jne 0x4094ea
cmp edi, 4
mov ecx, edi
lea edx, [eax + 0x10]
jb 0x409477
mov ebp, dword [esi]
cmp ebp, dword [edx]
jne 0x40947b
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x409463
test ecx, ecx
je 0x4094e0
movzx ebp, byte [esi]
movzx ebx, byte [edx]
sub ebp, ebx
jne 0x4094ca
sub ecx, 1
add edx, 1
add esi, 1
test ecx, ecx
je 0x4094dc
movzx ebp, byte [esi]
movzx ebx, byte [edx]
sub ebp, ebx
jne 0x4094ca
sub ecx, 1
add edx, 1
add esi, 1
test ecx, ecx
je 0x4094dc
movzx ebp, byte [esi]
movzx ebx, byte [edx]
sub ebp, ebx
jne 0x4094ca
sub ecx, 1
add edx, 1
add esi, 1
test ecx, ecx
je 0x4094dc
movzx ebp, byte [esi]
movzx ecx, byte [edx]
sub ebp, ecx
je 0x4094dc
test ebp, ebp
mov ebx, dword [esp + 0x1c]
mov ecx, 1
jg 0x4094e2
or ecx, 0xffffffff
jmp 0x4094e2
mov ebx, dword [esp + 0x1c]
xor ecx, ecx
test ecx, ecx
je 0x409507
mov esi, dword [esp + 0x18]
mov eax, dword [eax]
test eax, eax
jne 0x409450
push ebx
mov ebx, dword [esp + 0x18]
push esi
call fcn.00409350
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
ret
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 0x10]
mov cl, byte [eax + 5]
movzx edx, byte [edx + 0x14]
movzx ebx, cl
not edx
and ebx, 3
test bl, dl
je 0x409502
pop edi
pop esi
xor cl, 3
pop ebp
mov byte [eax + 5], cl
pop ebx
ret

Function at 0x409b50
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x70]
test eax, eax
je 0x409b71
mov ecx, dword [esp + 0xc]
mov dword [eax + 0x44], ecx
mov edx, dword [esi + 0x70]
push 1
add edx, 4
push edx
call fcn.00427e00
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x10]
mov byte [esi + 6], al
cmp dword [ecx + 0x58], 0
je 0x409b95
push eax
mov eax, esi
call fcn.00409ae0
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 0x58]
push esi
call eax
add esp, 8
push 1
call fcn.00427d72
int3
Function at 0x40bfed
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x21c
mov eax, dword [0x45a080]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [esp + 0x220]
push ebx
push ebp
push esi
mov esi, ecx
lea ecx, [esp + 0x24]
push edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0
mov ebp, 0x200
jmp 0x40c018
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x28]
sub ecx, edx
mov dword [esp + 0x18], ecx
je 0x40c070
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [eax + 0x40]
jb 0x40c036
mov ebx, esi
call fcn.00406b70
mov edx, dword [esp + 0x18]
mov edi, dword [esi + 8]
push edx
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.004093f0
mov dword [edi], eax
mov dword [edi + 8], 4
add dword [esi + 8], 0x10
add dword [esp + 0x2c], 1
lea edx, [esp + 0x28]
lea ecx, [esp + 0x34]
push edx
mov dword [esp + 0x2c], ecx
call fcn.0040b0c0
add esp, 0x10
mov edi, dword [esp + 0x234]
cmp ebp, edi
jbe 0x40c07d
mov ebp, edi
mov eax, dword [esp + 0x10]
push eax
push ebp
lea ecx, [esp + 0x30]
push 1
push ecx
call fcn.00426431
mov ecx, dword [esp + 0x2c]
add ecx, eax
add esp, 0x10
sub edi, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x234], edi
je 0x40c0af
cmp eax, ebp
je 0x40c014
lea esi, [esp + 0x1c]
call fcn.0040b060
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push edx
push eax
call fcn.004099f0
add esp, 8
test edi, edi
pop edi
pop esi
pop ebp
mov dword [esp + 0x14], 1
pop ebx
je 0x40c104
mov ecx, dword [esp + 4]
push 0xffffffffffffffff
push ecx
call fcn.00404b30
add esp, 8
test eax, eax
ja 0x40c104
xor eax, eax
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.004251af
add esp, 0x21c
ret
mov ecx, dword [esp + 0x218]
xor ecx, esp
mov eax, 1
call fcn.004251af
add esp, 0x21c
ret
Function at 0x412870
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x38
push esi
push edi
mov edi, dword [ebx + 8]
sub edi, dword [ebx + 0xc]
mov esi, 1
sar edi, 4
sub edi, 1
je 0x41292c
mov eax, dword [ebp + 0xc]
sub edi, 1
mov ecx, ebx
mov dword [esp + 0x20], edi
call section..text
cmp eax, 0x445c18
je 0x41295e
cmp dword [eax + 8], 3
jne 0x41295e
test esi, esi
je 0x41291e
mov eax, dword [ebp + 0xc]
mov ecx, ebx
call section..text
mov ecx, dword [eax + 8]
cmp ecx, 3
je 0x412901
cmp ecx, 4
jne 0x41295a
mov esi, dword [eax]
add esi, 0x10
lea edi, [esp + 0x28]
call fcn.00402f00
test eax, eax
mov edi, dword [esp + 0x20]
je 0x41295a
fld qword [esp + 0x28]
mov dword [esp + 0x38], 3
fstp qword [esp + 0x30]
lea eax, [esp + 0x30]
fld qword [eax]
mov eax, dword [ebp + 8]
sub esp, 8
fstp qword [esp]
push str._.14g
push eax
call fcn.004276ad
add esp, 0x10
test eax, eax
jg 0x41298c
xor esi, esi
add dword [ebp + 0xc], 1
test edi, edi
jne 0x412892
call fcn.00427a62
test esi, esi
mov eax, dword [eax]
mov dword [esp + 0x24], eax
je 0x412993
mov eax, dword [ebx + 8]
mov dword [eax], 1
mov dword [eax + 8], 1
add dword [ebx + 8], 0x10
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
fldz
jmp 0x412903
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x24]
push ecx
push edx
push ebx
call fcn.0040f860
add esp, 0xc
test esi, esi
je 0x41291e
mov ecx, dword [ebp + 8]
mov esi, dword [esp + 0x24]
push ecx
push esi
push 1
push eax
call fcn.00429463
add esp, 0x10
cmp eax, esi
jne 0x41291e
mov esi, 1
jmp 0x412920
mov edx, dword [ebx + 8]
mov dword [edx + 8], 0
mov esi, 0x10
add dword [ebx + 8], esi
push eax
call fcn.004279c0
push eax
push 0x4467ac
push ebx
call fcn.00409220
fild dword [esp + 0x34]
mov eax, dword [ebx + 8]
add esp, 0x10
fstp qword [eax]
mov dword [eax + 8], 3
add dword [ebx + 8], esi
pop edi
lea eax, [esi - 0xd]
pop esi
mov esp, ebp
pop ebp
ret