joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403360
Capabilities:
Create process on windows
Self delete
Terminate process

Disassembly:
sub esp, 0x114
mov eax, dword [0x412008]
xor eax, esp
mov dword [esp + 0x110], eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x413a20]
push 0
push eax
push 1
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov ecx, dword [0x413a20]
push ecx
lea edx, [esp + 4]
push str._c_ping_127.0.0.1__del__q___s_
push edx
call fcn.004033f3
add esp, 0xc
push 0
push 0
lea eax, [esp + 8]
push eax
push str.cmd.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x40aff5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004058cd
and dword [ebp - 4], 0
cmp dword [0x414374], 0
mov ebx, eax
jne 0x40b0a6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b157
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b157
push eax
call fcn.0040585b
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x414374], eax
call esi
push eax
call fcn.0040585b
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x414378], eax
call esi
push eax
call fcn.0040585b
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41437c], eax
call esi
push eax
call fcn.0040585b
pop ecx
mov dword [0x414384], eax
test eax, eax
je 0x40b0a6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040585b
pop ecx
mov dword [0x414380], eax
mov eax, dword [0x414380]
cmp eax, ebx
je 0x40b0fe
cmp dword [0x414384], ebx
je 0x40b0fe
push eax
call fcn.004058d6
push dword [0x414384]
mov esi, eax
call fcn.004058d6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b0fe
test edi, edi
je 0x40b0fe
call esi
test eax, eax
je 0x40b0f5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b0f5
test byte [ebp - 0xc], 1
jne 0x40b0fe
or dword [ebp + 0x10], 0x200000
jmp 0x40b137
mov eax, dword [0x414378]
cmp eax, ebx
je 0x40b137
push eax
call fcn.004058d6
pop ecx
test eax, eax
je 0x40b137
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b137
mov eax, dword [0x41437c]
cmp eax, ebx
je 0x40b137
push eax
call fcn.004058d6
pop ecx
test eax, eax
je 0x40b137
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x414374]
call fcn.004058d6
pop ecx
test eax, eax
je 0x40b157
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b159
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1002df80
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1002e144
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1f000]
push edi
or ebp, 0xffffffff
jmp 0x1002dfaa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1002dfb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1002dfa0
mov eax, 1
add ebx, ebx
jne 0x1002dfc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1002dfb8
jne 0x1002dfd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1002dfb8
xor ecx, ecx
sub eax, 3
jb 0x1002dfe8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1002e05a
mov ebp, eax
add ebx, ebx
jne 0x1002dff3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1002e000
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1002e024
inc ecx
add ebx, ebx
jne 0x1002e010
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1002e005
jne 0x1002e021
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1002e005
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1002e044
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1002e035
jmp 0x1002dfa6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1002e044
add edi, ecx
jmp 0x1002dfa6
pop esi
mov edi, esi
mov ecx, 0xc42
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1002e062
cmp byte [edi], 0x11
jne 0x1002e062
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 0x1002e067
lea edi, [esi + 0x2a000]
mov eax, dword [edi]
or eax, eax
je 0x1002e0d6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2e44c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2e49c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1002e094
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2e4a0]
or eax, eax
je 0x1002e0d0
mov dword [ebx], eax
add ebx, 4
jmp 0x1002e0b1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1002e107
cmp al, 0xef
ja 0x1002e0fa
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1002e0dc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1002e0e9
mov ebp, dword [esi + 0x2e4a4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x1002e13b
sub esp, 0xffffff80
jmp 0x10013194

Function at 0x414de1
Capabilities:
Encode data using xor

Disassembly:
xor dword [edx], ebx
add edx, 4
dec ecx
add esi, 1
sub esp, 4
mov dword [esp], ecx
pop eax
cmp edx, edi
jne fcn.00414de1
dec eax
add esi, eax
inc esi
ret
Function at 0x41a4678
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor edx, edx
mov dword [ebp - 4], edx
xor edx, edx
push ebp
push 0x41a470f
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, eax
mov dl, 1
mov eax, dword [sym.imp.adortl60.bpl__Adodb_TADOQuery_]
call sub.adortl60.bpl__Adodb_TADOQuery__bctr_qqrp18Classes_TComponent
mov ebx, eax
call sub.VEDatasets.bpl__Vedataset_Connection_qqrv
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x268]
lea eax, [ebp - 4]
push eax
call sub.VEDatasets.bpl__Vedataset_FirmaNo_qqrv
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
call sub.VEDatasets.bpl__Vedataset_DonemNo_qqrv
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x41a4728
call sub.rtl60.bpl__Sysutils_Format_qqrx17System_AnsiStringpx14System_TVarRecxi
mov eax, dword [ebp - 4]
push eax
mov eax, ebx
call sub.adortl60.bpl__Adodb_TADOQuery_GetSQL_qqrv
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_Open_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a4716
lea eax, [ebp - 4]
call sub.rtl60.bpl__System__LStrClr_qqrpv
ret

Function at 0x41b147c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__System__LStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x41b14dc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__Sysutils_FileExists_qqrx17System_AnsiString
test al, al
je 0x41b14c6
push 3
push 0x41b14e8
push 0x41b14e8
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__System__LStrToPChar_qqrx17System_AnsiString
push eax
push 0x41b14ec
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b14e3
lea eax, [ebp - 4]
call sub.rtl60.bpl__System__LStrClr_qqrpv
ret
Function at 0x41b52d8
Capabilities:
Reference sql statements

Disassembly:
add esp, 0xffffff98
mov eax, 0x41b53ec
mov dword [esp], eax
mov eax, 0x41b5408
mov dword [esp + 4], eax
mov eax, 0x41b5424
mov dword [esp + 8], eax
mov eax, 0x41b5444
mov dword [esp + 0xc], eax
mov eax, 0x41b5464
mov dword [esp + 0x10], eax
mov eax, 0x41b5484
mov dword [esp + 0x14], eax
mov eax, 0x41b54a4
mov dword [esp + 0x18], eax
mov eax, 0x41b54c4
mov dword [esp + 0x1c], eax
mov eax, 0x41b54e8
mov dword [esp + 0x20], eax
mov eax, 0x41b550c
mov dword [esp + 0x24], eax
mov eax, 0x41b552c
mov dword [esp + 0x28], eax
mov eax, 0x41b554c
mov dword [esp + 0x2c], eax
mov eax, 0x41b556c
mov dword [esp + 0x30], eax
mov eax, 0x41b5408
mov dword [esp + 0x34], eax
mov eax, 0x41b558c
mov dword [esp + 0x38], eax
mov eax, 0x41b55ac
mov dword [esp + 0x3c], eax
mov eax, 0x41b55cc
mov dword [esp + 0x40], eax
mov eax, 0x41b55f0
mov dword [esp + 0x44], eax
mov eax, 0x41b5614
mov dword [esp + 0x48], eax
mov eax, 0x41b5634
mov dword [esp + 0x4c], eax
mov eax, 0x41b5650
mov dword [esp + 0x50], eax
mov eax, 0x41b5668
mov dword [esp + 0x54], eax
mov eax, 0x41b5688
mov dword [esp + 0x58], eax
mov eax, 0x41b56a8
mov dword [esp + 0x5c], eax
mov eax, 0x41b56c8
mov dword [esp + 0x60], eax
mov eax, 0x41b56ec
mov dword [esp + 0x64], eax
mov eax, esp
mov edx, 0x19
call fcn.041aab88
mov edx, 0x41b570c
mov eax, 0x41bb8b0
call fcn.041aaf48
add esp, 0x68
ret
Function at 0x4014d0
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 0x40152b
cmp byte [esi + ebx - 1], 0xa
je 0x4014ff
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x405084], 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 0x401a80
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 [0x405094]
mov esi, dword [ebp + 8]
test edi, edi
je 0x401c40
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x405094]
movzx eax, al
bt eax, esi
jae 0x401ca0
mov ecx, dword [0x405084]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x401b46
test byte [0x403024], 8
jne 0x401be0
lea ebx, [esp + 0x28]
mov edi, ebx
test byte [0x403034], 8
jne 0x401b90
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 0x401b15
cmp esi, 3
jbe 0x401b50
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 + 0x404108]
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 0x401b15
mov ecx, dword [0x405094]
test ecx, ecx
je 0x401c80
mov dword [esp], 0x403034
call dword [0x405094]
test al, 8
je 0x401aec
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 0x401aec
mov ebx, dword [0x405094]
test ebx, ebx
je 0x401c60
mov dword [esp], 0x403024
call dword [0x405094]
test al, 8
je 0x401ad9
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 0x401adf
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x405094
call sym._load_func.part.0
jmp 0x401aa0
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x405094
call sym._load_func.part.0
jmp 0x401bea
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x405094
call sym._load_func.part.0
jmp 0x401b9e
mov eax, 0xffffffff
jmp 0x401b46
Function at 0x401e60
Capabilities:
Accept command line arguments
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 0x401ed0
Capabilities:
Accept command line arguments
Encrypt data using rc4 prga

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x401f37
xor ecx, ecx
xor edx, edx
jmp 0x401f19
cmp ax, 0x5c
jne 0x401fa8
add edx, 1
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x401f37
cmp ax, 9
je 0x401f25
cmp ax, 0x20
jne 0x401f00
test ecx, ecx
je 0x401f93
movzx eax, word [ebx + 2]
add ebx, 2
xor edx, edx
test ax, ax
jne 0x401f19
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x30], 1
je 0x401fc8
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call dbg.wWinMain@16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
add ebx, 2
movzx eax, word [ebx]
cmp ax, 9
je 0x401f90
cmp ax, 0x20
je 0x401f90
jmp 0x401f37
cmp ax, 0x22
jne 0x401f29
and edx, 1
jne 0x401f29
xor ecx, 1
jmp 0x401f0d
mov eax, 1
mov esi, 1
mov word [ebp - 0x2c], ax
jmp 0x401f50
Function at 0x1001ebe9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x1001ebf9
mov edx, dword [eax]
jmp 0x1001ebfb
mov edx, eax
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
lea ecx, [edx + ecx*2]
jb 0x1001ec09
mov eax, dword [eax]
push edi
xor edi, edi
cmp eax, ecx
je 0x1001ec32
push esi
mov esi, edi
mov edx, edi
shr edx, 2
shl esi, 6
add esi, edx
movzx edx, word [eax]
add edx, 0x9e3779b9
add edx, esi
add eax, 2
xor edi, edx
cmp eax, ecx
jne 0x1001ec11
pop esi
mov eax, edi
pop edi
pop ebp
ret 4
Function at 0x1004180f
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1014b18a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x101aeb60]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov eax, dword [0x101aeb60]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
lea edx, [esi + 0xc]
lea ecx, [esp + 0x10]
call fcn.10042dda
and dword [esp + 0x38], 0
push eax
mov ecx, edi
call fcn.1001ddfc
or dword [esp + 0x38], 0xffffffff
xor ebx, ebx
push 0
inc ebx
push ebx
lea ecx, [esp + 0x18]
call fcn.100024b5
lea edx, [esi + 0x10]
lea ecx, [esp + 0x10]
call fcn.10042a6d
mov dword [esp + 0x38], ebx
push eax
mov ecx, edi
call fcn.1001ddfc
or dword [esp + 0x38], 0xffffffff
push 0
push ebx
lea ecx, [esp + 0x18]
call fcn.100024b5
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.100a3ae5
mov esp, ebp
pop ebp
ret 4

Function at 0x10044019
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0xc], ebx
mov ecx, edi
mov edx, dword [ebx]
mov eax, dword [ecx + 0x101b34a8]
mov dword [ecx + edx], eax
add ecx, 4
cmp ecx, 0x48
jl 0x1004402b
mov edx, edi
mov esi, 0x100
mov ecx, dword [ebx + 4]
mov eax, dword [edx + 0x101b24a8]
mov dword [edx + ecx], eax
add edx, 4
dec esi
jne 0x10044045
cmp edx, 0x1000
jl 0x10044040
mov eax, edi
mov dword [ebp - 4], eax
inc eax
cdq
idiv dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov esi, dword [ebx]
mov ebx, dword [ebp + 8]
movzx ecx, byte [edx + eax]
mov edx, dword [ebp - 4]
movzx eax, byte [edx + eax]
shl eax, 8
or ecx, eax
lea eax, [edx + 2]
cdq
idiv dword [ebp + 0xc]
shl ecx, 8
movzx eax, byte [edx + ebx]
or ecx, eax
mov eax, dword [ebp - 4]
add eax, 3
cdq
idiv dword [ebp + 0xc]
shl ecx, 8
movzx eax, byte [edx + ebx]
or ecx, eax
mov eax, dword [ebp - 4]
add eax, 4
cdq
idiv dword [ebp + 0xc]
xor dword [edi + esi], ecx
mov ebx, dword [ebp - 0xc]
add edi, 4
mov eax, edx
mov dword [ebp - 4], eax
cmp edi, 0x48
jl 0x10044064
xor edi, edi
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], edi
mov esi, edi
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
mov ecx, ebx
call fcn.1004380f
mov ecx, dword [ebx]
mov eax, dword [ebp + 0xc]
mov dword [esi + ecx], eax
mov ecx, dword [ebx]
mov eax, dword [ebp + 8]
mov dword [esi + ecx + 4], eax
add esi, 8
cmp esi, 0x48
jl 0x100440cb
mov esi, 0x80
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
mov ecx, ebx
call fcn.1004380f
mov ecx, dword [ebx + 4]
mov eax, dword [ebp + 0xc]
mov dword [edi + ecx], eax
mov ecx, dword [ebx + 4]
mov eax, dword [ebp + 8]
mov dword [edi + ecx + 4], eax
add edi, 8
dec esi
jne 0x100440f8
cmp edi, 0x1000
jl 0x100440f3
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1004944f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
mov eax, esi
cdq
sub eax, edx
sar eax, 1
push edi
lea edx, [eax + 1]
mov dword [ebp - 8], ebx
call fcn.10046ead
mov edi, eax
dec esi
test edi, edi
je 0x100494d3
xor edx, edx
mov dword [ebp - 4], edx
test esi, esi
jle 0x100494c8
mov dword [ebp + 8], 7
movsx ecx, byte [ebx + edx]
movsx ebx, byte [ebx + edx + 1]
mov eax, ebx
sar eax, 6
and al, 1
imul byte [ebp + 8]
sub bl, al
mov eax, ecx
sar eax, 6
and al, 1
imul byte [ebp + 8]
sub cl, al
mov eax, edx
cdq
sub eax, edx
mov edx, dword [ebp - 4]
and bl, 0xf
shl cl, 4
xor bl, cl
sar eax, 1
add edx, 2
mov byte [eax + edi], bl
mov ebx, dword [ebp - 8]
mov dword [ebp - 4], edx
cmp edx, esi
jl 0x10049485
mov eax, edx
cdq
sub eax, edx
sar eax, 1
mov byte [eax + edi], 0
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1004eadf
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov ebx, ecx
mov esi, edx
mov edx, dword [ebx + 0x3c]
push edi
xor edi, edi
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
cmp dword [edx], edi
jne 0x1004eb1e
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx]
or eax, 0x1e
push edi
and eax, 0x87f7f
push eax
push edx
push edi
push ecx
call dword [ecx + 0x18]
add esp, 0x14
mov dword [ebp - 4], eax
test eax, eax
jne 0x1004ec01
mov ecx, dword [ebx + 0x18]
cmp ecx, dword [ebx + 0x24]
jbe 0x1004eb54
mov eax, dword [ebx + 0x80]
push edi
cdq
push ecx
push edx
push eax
call fcn.100a9940
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x3c]
lea edx, [ebp - 0x18]
mov ecx, dword [eax]
push edx
push 5
push eax
call dword [ecx + 0x28]
mov eax, dword [ebx + 0x18]
add esp, 0xc
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 4]
test esi, esi
je 0x1004ec01
mov edi, dword [esi + 0x14]
mov dword [ebp - 0x14], edi
cmp edi, dword [ebx + 0x18]
ja 0x1004ebf3
test byte [esi + 0x18], 0x20
jne 0x1004ebf3
mov eax, dword [ebx + 0x80]
cdq
push edx
push eax
lea ecx, [edi - 1]
push 0
push ecx
call fcn.100a9940
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
cmp edi, 1
jne 0x1004eb9a
mov ecx, esi
call fcn.1004e1ba
push dword [ebp - 4]
mov eax, dword [esi + 4]
push dword [ebp - 0xc]
mov ecx, dword [ebx + 0x3c]
push dword [ebx + 0x80]
mov edx, eax
mov dword [ebp - 0x10], eax
call fcn.100462a3
add esp, 0xc
mov dword [ebp - 4], eax
cmp edi, 1
jne 0x1004ebd4
mov esi, dword [ebp - 0x10]
add esi, 0x18
lea edi, [ebx + 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0x14]
cmp edi, dword [ebx + 0x20]
jbe 0x1004ebdc
mov dword [ebx + 0x20], edi
inc dword [ebx + 0xa8]
push dword [esi + 4]
mov ecx, dword [ebx + 0x58]
mov edx, edi
call fcn.100593f8
mov eax, dword [ebp - 4]
pop ecx
mov esi, dword [esi + 0xc]
mov dword [ebp - 8], esi
test eax, eax
je 0x1004eb57
pop edi
pop esi
pop ebx
leave
ret