joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3ea3370
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.03ea34c0
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 0x3ea3396
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x3ea3382
add dl, dl
jne 0x3ea33a1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x3ea33f4
xor eax, eax
add dl, dl
jne 0x3ea33ae
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x3ea3495
add dl, dl
jne 0x3ea33bd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x3ea33c8
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x3ea33d3
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x3ea33de
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x3ea33ea
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x3ea338d
mov eax, 1
add dl, dl
jne 0x3ea3402
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x3ea340d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x3ea33f9
sub eax, ebx
mov ebx, 1
jne 0x3ea3440
mov ecx, 1
add dl, dl
jne 0x3ea3426
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x3ea3431
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x3ea341d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x3ea338d
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x3ea3457
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x3ea3462
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x3ea344e
cmp eax, 0x7d00
jae 0x3ea3485
cmp eax, 0x500
jb 0x3ea3480
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x3ea338d
cmp eax, 0x7f
ja 0x3ea3488
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x3ea338d
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x3ea34b6
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 0x3ea338d
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x5d2120
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd0000]
push edi
jmp 0x5d213a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5d2141
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5d2130
mov eax, 1
add ebx, ebx
jne 0x5d2153
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5d2164
jne 0x5d2183
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5d2183
dec eax
add ebx, ebx
jne 0x5d2170
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5d2148
add ebx, ebx
jne 0x5d217f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5d21d5
xor ecx, ecx
sub eax, 3
jb 0x5d219b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5d220a
sar eax, 1
mov ebp, eax
jmp 0x5d21a6
add ebx, ebx
jne 0x5d21a6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5d2174
inc ecx
add ebx, ebx
jne 0x5d21b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5d2174
add ebx, ebx
jne 0x5d21c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5d21b6
jne 0x5d21d2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5d21b6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5d21f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5d21e6
jmp 0x5d2136
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5d21f4
add edi, ecx
jmp 0x5d2136
pop esi
mov edi, esi
mov ecx, 0x506c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5d2212
cmp byte [edi], 0x13
jne 0x5d2212
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 0x5d2217
lea edi, [esi + 0x1ce000]
mov eax, dword [edi]
or eax, eax
je 0x5d228f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x233ae0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x233bb8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5d2244
mov ecx, edi
jns 0x5d2273
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 + 0x233bc0]
or eax, eax
je 0x5d2289
mov dword [ebx], eax
add ebx, 4
jmp 0x5d2261
call dword [esi + 0x233bbc]
mov ebp, dword [esi + 0x233bc4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x5d22c3
sub esp, 0xffffff80
jmp 0x4b0af6
Function at 0x407cf0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x409660
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push esi
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x11c]
lea eax, [esp + 4]
mov dword [esp + 0x114], 1
push eax
push 1
push 0
push ecx
push edx
mov dword [esp + 0x1c], 0xff
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x407d7a
mov edx, dword [esp + 0x124]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 8]
push ecx
push esi
push esi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x407d7a
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x12c]
call fcn.004082c4
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x120]
mov byte [esp + 0x114], 0
call fcn.004082ac
lea ecx, [esp + 0x124]
mov dword [esp + 0x114], 0xffffffff
call fcn.004082ac
mov ecx, dword [esp + 0x10c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x114
ret 0x10

Function at 0x40894e
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x4085d8
or ebx, eax
add ebx, eax
call fcn.00408976
xor dword [ecx], esi
add eax, ebx
inc ecx
cmp ecx, edx
jne fcn.0040894e
sub esp, 4
mov dword [esp], 0xbe600bc8
pop eax
ret
Function at 0x864190
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1d4000]
push edi
or ebp, 0xffffffff
jmp 0x8641b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x8641b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8641a8
mov eax, 1
add ebx, ebx
jne 0x8641cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x8641dc
jne 0x8641fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8641fb
dec eax
add ebx, ebx
jne 0x8641e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x8641c0
add ebx, ebx
jne 0x8641f7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x86424d
xor ecx, ecx
sub eax, 3
jb 0x864213
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x864282
sar eax, 1
mov ebp, eax
jmp 0x86421e
add ebx, ebx
jne 0x86421e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8641ec
inc ecx
add ebx, ebx
jne 0x86422c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8641ec
add ebx, ebx
jne 0x864239
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x86422e
jne 0x86424a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x86422e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x86426c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x86425e
jmp 0x8641ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x86426c
add edi, ecx
jmp 0x8641ae
pop esi
mov edi, esi
mov ecx, 0x69d6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x86428a
cmp byte [edi], 0x13
jne 0x86428a
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 0x86428f
lea edi, [esi + 0x45b000]
mov eax, dword [edi]
or eax, eax
je 0x864307
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x468b94]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x468cd4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x8642bc
mov ecx, edi
jns 0x8642eb
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 + 0x468cd8]
or eax, eax
je 0x864301
mov dword [ebx], eax
add ebx, 4
jmp 0x8642d9
call dword [esi + 0x468ce8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x864338
cmp al, 0xef
ja 0x86432b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x86430d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x86431a
mov ebp, dword [esi + 0x468cdc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x86436c
sub esp, 0xffffff80
jmp 0x4af4c0
Function at 0x407160
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x4071bb
cmp byte [esi + ebx - 1], 0xa
je 0x40718f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x40c0a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x407790
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0xf0
mov edi, dword [0x40c0b4]
mov esi, dword [ebp + 8]
test edi, edi
je 0x407950
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x40c0b4]
movzx eax, al
bt eax, esi
jae 0x4079b0
mov ecx, dword [0x40c0a4]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x407856
test byte [0x40826c], 8
jne 0x4078f0
lea ebx, [esp + 0x28]
mov edi, ebx
test byte [0x40827c], 8
jne 0x4078a0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call dbg.sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x407825
cmp esi, 3
jbe 0x407860
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 8], str._s:_s:_s
lea edx, [edi + 1]
mov dword [esp], eax
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x409ba8]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x407825
mov ecx, dword [0x40c0b4]
test ecx, ecx
je 0x407990
mov dword [esp], 0x40827c
call dword [0x40c0b4]
test al, 8
je 0x4077fc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call dbg.sprintf
add edi, eax
jmp 0x4077fc
mov ebx, dword [0x40c0b4]
test ebx, ebx
je 0x407970
mov dword [esp], 0x40826c
call dword [0x40c0b4]
test al, 8
je 0x4077e9
call dword [sym.imp.kernel32.dll_GetTickCount]
lea ebx, [esp + 0x28]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mov eax, 0x10624dd3
mov dword [esp], ebx
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call dbg.sprintf
lea edi, [ebx + eax]
jmp 0x4077ef
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x40c0b4
call sym._load_func.part.0
jmp 0x4077b0
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x40c0b4
call sym._load_func.part.0
jmp 0x4078fa
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x40c0b4
call sym._load_func.part.0
jmp 0x4078ae
mov eax, 0xffffffff
jmp 0x407856
Function at 0x407d70
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call dbg.wmain
mov dword [esp], eax
call sym._exit
Function at 0x40b4b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x668898
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, ecx
push ebp
xor ebp, ebp
push esi
mov dword [esp + 0xc], ebx
mov dword [ebx + 4], ebp
mov dword [ebx + 8], ebp
mov dword [ebx + 0xc], ebp
push 0x66c004
push 0x66c000
push ebp
mov dword [esp + 0x3c], ebp
mov dword [ebx + 0x10], ebp
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebp
je 0x40b608
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
cmp edi, ebp
je 0x40b5f3
push edi
call dword [sym.imp.MSVCR71.dll_malloc]
add esp, 4
cmp eax, ebp
mov dword [ebx + 0x10], eax
je 0x40b5f3
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
je 0x40b5f3
mov ecx, edi
mov edi, dword [ebx + 0x10]
mov esi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebx + 0x10]
jmp 0x40b552
xor ebp, ebp
mov cx, word [esi]
add esi, 2
mov eax, esi
mov word [esp + 0x18], cx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b562
sub eax, edx
mov dword [esp + 0x14], eax
mov al, byte [esi]
xor edi, edi
xor ebx, ebx
test al, al
je 0x40b5a8
push 0x7c
push esi
mov ebx, esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov edi, eax
add esp, 8
test edi, edi
je 0x40b5a8
push 0x7c
mov byte [edi], 0
push esi
inc edi
call dword [sym.imp.MSVCR71.dll_strchr]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x40b5a8
mov byte [ebp], 0
inc ebp
mov edx, dword [esp + 0x14]
mov ax, word [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x14]
lea esi, [esi + edx + 1]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebp
mov word [esp + 0x2c], ax
call fcn.0040b440
test ebx, ebx
jne 0x40b550
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
mov ecx, dword [esp + 0x28]
pop esi
pop ebp
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x40c640
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 8]
test edi, edi
je 0x40c68c
push ebx
mov ebx, dword [sym.imp.MSVCR71.dll_fwrite]
push esi
mov esi, dword [ecx]
test esi, esi
mov dword [esp + 0x10], 0
je 0x40c67b
nop
push edi
push 0x30
push 1
push esi
call ebx
mov ecx, dword [esp + 0x20]
add esp, 0x10
inc ecx
mov dword [esp + 0x10], ecx
mov esi, dword [esi + 0x30]
test esi, esi
jne 0x40c660
push edi
push 4
lea eax, [esp + 0x18]
push 1
push eax
call ebx
add esp, 0x10
pop esi
pop ebx
pop edi
ret 4
Function at 0x43a100
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
push eax
push 1
push ecx
push edx
call sub.MSVCR71.dll_fread
add esp, 0x10
dec eax
neg eax
sbb eax, eax
inc eax
ret
Function at 0x10060517
Capabilities:
Encode data using xor

Disassembly:
call 0x10060490
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x100604c0
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x100604dc
xor edx, 0
jmp 0x100604e7
xor edx, edx
jmp 0x100604fe
jmp 0x1006050a
xor eax, eax
push 0x8427d7c0
call 0x10060517
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x10060553
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1006052c
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1006056a
add eax, 0
jno 0x1006056f
add esi, 0
ret 0x10

Function at 0x100612d8
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x100612fa
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1006149c
cmp edi, dword [ebp + 0x10]
jb 0x1006149c
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.10060dc4
inc edi
jmp 0x10061383
jmp 0x10061390
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10060dc4
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10060dc4
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x100613e4
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x100613c8
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.10061412
add dword [eax], 0x39
jle 0x100613ee
sub al, 0xf5
mov ch, al
call fcn.10061427
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x100630ff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x10063115
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x10063126
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.10063167
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x100654d3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x1006541c
add ebx, 0
push ecx
call 0x10065431
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x100a600b
sub ebx, dword [0x100c584a]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x100c583a
call fcn.10060efb
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.10060409
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1006558f
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1006558f
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x10065546
mov eax, 1
lock xchg dword [0x100c5846], eax
push 0x3dd1fc71
call 0x100654d3
push esi
add esp, 8
cmp eax, 0
jne 0x100654bc
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x100654e2
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x100654f7
cmp ecx, edx
cmp eax, 0
je 0x1006551c
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x10065506
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.10065535
dec eax
loope 0x10065538
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x100c5846], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x1006556c
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x10065581
jmp 0x1006558c
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1006547a
Function at 0x1006c5f4
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x1006c8ca
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x100b24be
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x100a9484
push 0xffffffffffffffff
call fcn.100637f4
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x1006c65e
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1006c676
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x1006c8be
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1006c892