joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434070
Capabilities:
Copy file
Create pipe
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1e94
call fcn.00434b00
mov dword [ebp - 4], 0
jmp 0x43408f
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x332beaf6
jge 0x43413a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x4d6784], 0x16
jne 0x4340d6
lea ecx, [ebp - 0x58]
push ecx
push 0
lea edx, [ebp - 0x458]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCalendarInfoA]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x4d6784], 0x9e
jne 0x43412a
push 0
push 0
push 0
push 0
push 0x4017c0
push 0x4017e0
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
push 0
lea eax, [ebp - 0xa78]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryA]
push 0
lea ecx, [ebp - 0x1278]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
cmp dword [ebp - 4], 0x3775ee
jle 0x434135
jmp 0x43413a
jmp 0x434086
push section..data
mov edx, dword [0x4d6784]
push edx
mov eax, dword [0x4d2d84]
push eax
call fcn.00433d00
mov dword [ebp - 0x127c], 0
jmp 0x43416c
mov ecx, dword [ebp - 0x127c]
add ecx, 1
mov dword [ebp - 0x127c], ecx
cmp dword [ebp - 0x127c], 0x3e79e
jge 0x4341ad
cmp dword [0x4d6784], 0x10
jne 0x43419a
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x401850
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp dword [ebp - 0x127c], 0x1e673
jne 0x4341ab
call fcn.00433f90
jmp 0x43415d
mov dword [ebp - 0x1280], 0
jmp 0x4341c8
mov edx, dword [ebp - 0x1280]
add edx, 1
mov dword [ebp - 0x1280], edx
cmp dword [ebp - 0x1280], 0xdd9a7
jge 0x434232
cmp dword [0x4d6784], 0xc01
jne 0x434230
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeaps]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapValidate]
push 0x4018ac
push 0
push 0x4018dc
push 0x4018fc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0x401924
push 0
lea eax, [ebp - 0x1680]
push eax
push 0x40192c
push 0x401958
push 0x401980
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x4341b9
jmp dword [0x4d2d84]
Function at 0x434de0
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x434e03
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x434e0a
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x434e21
mov edx, dword [ebp - 4]
push edx
call fcn.00437c60
add esp, 4
or eax, 0xffffffff
jmp 0x434e23
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x43c070
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4594d8]
jne 0x43c07a
repz ret
jmp fcn.00441290
Function at 0x402e90
Capabilities:
Create mailslot

Disassembly:
push ecx
cmp dword [0x2b831c4], 3
jne 0x402eb6
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMailslotA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [esp], 0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov eax, dword [esp + 0xc]
xor dword [esp], eax
mov eax, dword [esp]
mov ecx, dword [esp + 8]
mov dword [ecx], eax
pop ecx
ret 0xc

Function at 0x4030e0
Capabilities:
Enumerate gui resources
Get disk information

Disassembly:
mov eax, dword [0x2b831c4]
mov ecx, dword [0x2b83138]
shr eax, 3
sub esp, 0xc08
test eax, eax
jbe 0x4031f6
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp dword [0x2b831c4], 0x959
jne 0x4031d8
call edi
push 0
lea eax, [esp + 0x41c]
push eax
push 0
call ebx
push 0
push 0
call esi
push 0
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push 0
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0x402b00
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x402b10
push 0x402b18
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov edx, dword [esp + 0x10]
push edx
call fcn.00402f00
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x403120
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc08
ret
Function at 0x408790
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x425a30]
jne 0x40879a
repz ret
jmp fcn.00409c8c

Function at 0x409163
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.0040575a
and dword [ebp - 4], 0
cmp dword [0x42c39c], 0
mov ebx, eax
jne 0x409214
push 0x402a54
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4092c5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402a48
push edi
call esi
test eax, eax
je 0x4092c5
push eax
call fcn.004056e8
mov dword [esp], 0x402a38
push edi
mov dword [0x42c39c], eax
call esi
push eax
call fcn.004056e8
mov dword [esp], 0x402a24
push edi
mov dword [0x42c3a0], eax
call esi
push eax
call fcn.004056e8
mov dword [esp], 0x402a08
push edi
mov dword [0x42c3a4], eax
call esi
push eax
call fcn.004056e8
pop ecx
mov dword [0x42c3ac], eax
test eax, eax
je 0x409214
push 0x4029f0
push edi
call esi
push eax
call fcn.004056e8
pop ecx
mov dword [0x42c3a8], eax
mov eax, dword [0x42c3a8]
cmp eax, ebx
je 0x40926c
cmp dword [0x42c3ac], ebx
je 0x40926c
push eax
call fcn.00405763
push dword [0x42c3ac]
mov esi, eax
call fcn.00405763
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40926c
test edi, edi
je 0x40926c
call esi
test eax, eax
je 0x409263
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409263
test byte [ebp - 0xc], 1
jne 0x40926c
or dword [ebp + 0x10], 0x200000
jmp 0x4092a5
mov eax, dword [0x42c3a0]
cmp eax, ebx
je 0x4092a5
push eax
call fcn.00405763
pop ecx
test eax, eax
je 0x4092a5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4092a5
mov eax, dword [0x42c3a4]
cmp eax, ebx
je 0x4092a5
push eax
call fcn.00405763
pop ecx
test eax, eax
je 0x4092a5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42c39c]
call fcn.00405763
pop ecx
test eax, eax
je 0x4092c5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4092c7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40106c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
cmp dword [0x2153f3c], 0x134
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov ebx, dword [eax + 4]
jne 0x4010a5
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov eax, dword [edi]
and dword [ebp - 8], 0
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 8]
call fcn.00401062
add dword [ebp - 8], 0x54
cmp dword [0x2153f3c], 0xb54
jne 0x4010d4
push 0
call dword [sym.imp.KERNEL32.dll_DebugActiveProcessStop]
mov eax, dword [edi + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, esi
lea ecx, [ebp - 4]
call fcn.00401052
mov eax, dword [ebp - 0x1c]
mov edx, dword [0x2153f3c]
add dword [ebp - 4], eax
cmp edx, 0xfa9
jne 0x40111a
mov dword [0x20ec2ac], 0xedeb2e40
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
lea edi, [eax + esi]
mov eax, esi
shr eax, cl
mov ecx, dword [ebp - 0x20]
mov dword [0x20ec2a8], 0x9150ce2e
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
call fcn.00401069
cmp edx, 0x3eb
jne 0x401163
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and dword [0x20e90a4], 0
xor dword [ebp - 4], edi
mov edi, dword [ebp - 0x14]
xor edi, dword [ebp - 4]
cmp dword [0x2153f3c], 0x18f
jne 0x401188
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and dword [ebp - 0x10], 0
sub ebx, edi
and eax, 0x5dc052bb
sub dword [ebp - 0x10], 0x5396dd36
add dword [ebp - 0x10], 0x5396dd3a
mov ecx, dword [ebp - 0x24]
mov eax, ebx
shr eax, 5
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
call fcn.00401069
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add eax, ebx
push eax
mov eax, ebx
shl eax, cl
add eax, dword [ebp - 0x28]
call fcn.0040105b
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.00401058
and dword [0x456160], 0
sub esi, dword [ebp - 4]
lea eax, [ebp - 8]
call fcn.0040104b
dec dword [ebp - 0x18]
jne 0x4010e7
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
mov dword [eax + 4], ebx
pop ebx
leave
ret 4
Function at 0x401201
Capabilities:
Query environment variable
Set console window title

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x2153f3c]
mov ecx, dword [0x20e90a8]
sub esp, 0xd38
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x40129b
push ebx
push edi
mov edi, ecx
mov ebx, eax
cmp dword [0x2153f3c], 0xae9
jne 0x40128a
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push esi
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x938]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
lea eax, [ebp - 0x538]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
push esi
lea eax, [ebp - 0xd38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x138]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
mov eax, dword [ebp + 8]
push edi
call fcn.0040106c
add edi, 8
dec ebx
jne 0x401225
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x40764f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x438410]
jne 0x407659
repz ret
jmp fcn.0040bdd9

Function at 0x40ada7
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.0040343d
and dword [ebp - 4], 0
cmp dword [0x43a968], 0
mov ebx, eax
jne 0x40ae58
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40af09
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40af09
push eax
call fcn.004033cb
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43a968], eax
call esi
push eax
call fcn.004033cb
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43a96c], eax
call esi
push eax
call fcn.004033cb
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43a970], eax
call esi
push eax
call fcn.004033cb
pop ecx
mov dword [0x43a978], eax
test eax, eax
je 0x40ae58
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004033cb
pop ecx
mov dword [0x43a974], eax
mov eax, dword [0x43a974]
cmp eax, ebx
je 0x40aeb0
cmp dword [0x43a978], ebx
je 0x40aeb0
push eax
call fcn.00403446
push dword [0x43a978]
mov esi, eax
call fcn.00403446
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40aeb0
test edi, edi
je 0x40aeb0
call esi
test eax, eax
je 0x40aea7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40aea7
test byte [ebp - 0xc], 1
jne 0x40aeb0
or dword [ebp + 0x10], 0x200000
jmp 0x40aee9
mov eax, dword [0x43a96c]
cmp eax, ebx
je 0x40aee9
push eax
call fcn.00403446
pop ecx
test eax, eax
je 0x40aee9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40aee9
mov eax, dword [0x43a970]
cmp eax, ebx
je 0x40aee9
push eax
call fcn.00403446
pop ecx
test eax, eax
je 0x40aee9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43a968]
call fcn.00403446
pop ecx
test eax, eax
je 0x40af09
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40af0b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404270
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x4042d1
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x4042b4
cmp edi, 2
jb 0x4042b4
cmp byte [esi], cl
jne 0x4042b4
cmp byte [esi + 1], cl
jne 0x4042b4
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x433790]
jmp 0x404285
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x433790]
test edi, edi
jne 0x404285
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x404300
cmp cl, 0x23
jne 0x4042e7
cmp byte [esi], cl
jne 0x4042e7
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x433790]
test cl, cl
jne 0x4042d8
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x404410
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x404424
mov dword [ebx], 0
mov edx, 0x437904
call fcn.00404310
mov esi, eax
test esi, esi
je 0x404512
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x404508
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x404508
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x404508
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x404508
mov eax, dword [0x43a6d0]
test eax, eax
je 0x40449c
inc dword [eax + 0x36c]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x404508
push esi
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x4044ed
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x43a6d0]
add esp, 4
test eax, eax
je 0x4044da
dec dword [eax + 0x36c]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x4044ff
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405ad0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x43a040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0xc4]
lea edx, [ebp - 8]
push ebx
mov ebx, dword [ecx + 0xcc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
mov dword [ebp - 8], edi
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x433790]
sub esi, 1
jne 0x405b03
mov eax, dword [0x43a6d0]
not ebx
cmp dword [eax + 0x1be0], ebx
jne 0x405b32
mov dword [eax + 0x1be4], ebx
cmp dword [eax + 0x1c1c], ebx
jne 0x405b41
mov byte [eax + 0x1c20], 1
cmp dword [eax + 0x1bc8], ebx
jne 0x405b5a
push ecx
push edi
mov edx, 4
mov ecx, ebx
call fcn.004153b0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00430616
mov esp, ebp
pop ebp
ret 4
Function at 0x40a110
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x40a14d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x40a133
cmp byte [esi], bl
jne 0x40a133
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x433790]
test bl, bl
jne 0x40a124
pop edi
pop esi
not ecx
pop ebx
jmp fcn.0040a0b0
Function at 0x4144b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x2fa8], 0
lea esi, [edi + 0x2fac]
je 0x414532
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x4144ec
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00415fe0
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.004047e0
mov edx, dword [esi]
mov ecx, 0x43a6cb
push dword [edi + 0x2fa8]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x2fb4]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.004047e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e070
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41e0aa
mov eax, dword [0x43a6d0]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x41e09d
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x41e0db
mov eax, dword [0x43a6d0]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x41e0ce
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x41e10c
mov eax, dword [0x43a6d0]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x41e0ff
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x41e159
mov eax, dword [0x43a6d0]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x41e14c
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x41e18a
mov eax, dword [0x43a6d0]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x41e17d
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x41e1bb
mov eax, dword [0x43a6d0]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x41e1ae
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.00420900
Function at 0x43134c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43138b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43138b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43138b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x43138b
cmp dword [ecx + 0x74], 0xe
jbe 0x43138b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401040
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x48
push ebx
push esi
xor ebx, ebx
lea eax, [esp + 0x18]
push 0x38
push str.1.2.12
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
call fcn.00408410
mov esi, eax
add esp, 0xc
test esi, esi
je 0x401094
mov eax, dword [esp + 0x58]
push esi
add eax, 0x12
push eax
push str.Failed_to_extract__s:_inflateInit___failed_with_return_code__d__n
call fcn.00401b50
add esp, 0xc
or eax, 0xffffffff
pop esi
pop ebx
add esp, 0x48
ret
push 0x2000
call fcn.00411a23
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4010c8
mov eax, dword [esp + 0x58]
add eax, 0x12
push eax
push str.Failed_to_extract__s:_failed_to_allocate_temporary_input_buffer__n
push str.malloc
call fcn.00401b30
add esp, 0xc
jmp 0x4011f0
push 0x2000
call fcn.00411a23
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4010fa
mov ecx, dword [esp + 0x58]
add ecx, 0x12
push ecx
push str.Failed_to_extract__s:_failed_to_allocate_temporary_output_buffer__n
push str.malloc
call fcn.00401b30
add esp, 0xc
jmp 0x4011f0
mov eax, dword [esp + 0x58]
xor ecx, ecx
push ebp
mov ebp, dword [esp + 0x60]
push edi
mov eax, dword [eax + 8]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
test ecx, ecx
jb 0x401129
ja 0x401122
cmp eax, 0x2000
jbe 0x401129
mov esi, 0x2000
jmp 0x40112b
mov esi, eax
mov eax, dword [esp + 0x5c]
push dword [eax]
push esi
push 1
push dword [esp + 0x24]
call fcn.0040ce9f
add esp, 0x10
cmp eax, esi
jne 0x4011eb
mov eax, dword [esp + 0x5c]
push dword [eax]
call fcn.0040cc8d
add esp, 4
test eax, eax
jne 0x4011eb
sub dword [esp + 0x10], esi
mov dword [esp + 0x24], esi
sbb dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x30], 0x2000
push 0
push eax
mov dword [esp + 0x34], ebx
call fcn.00406a50
add esp, 8
mov dword [esp + 0x1c], eax
lea ecx, [eax + 4]
cmp ecx, 6
ja case.0x4011a0.1
movzx ecx, byte [ecx + 0x401274]
jmp dword [ecx*4 + 0x401268]
mov esi, 0x2000
sub esi, dword [esp + 0x30]
test ebp, ebp
je 0x401214
push ebp
push esi
push 1
push ebx
call fcn.0040d5b7
add esp, 0x10
cmp eax, esi
jne 0x4011d2
push ebp
call fcn.0040cc8d
add esp, 4
test eax, eax
je 0x401225
or eax, 0xffffffff
push eax
mov eax, dword [esp + 0x64]
add eax, 0x12
push eax
push str.Failed_to_extract__s:_decompression_resulted_in_return_code__d__n
call fcn.00401b50
add esp, 0xc
or esi, 0xffffffff
pop edi
pop ebp
lea eax, [esp + 0x18]
push eax
call fcn.00408200
push dword [esp + 0x14]
call fcn.00411a08
push ebx
call fcn.00411a08
add esp, 0xc
mov eax, esi
pop esi
pop ebx
add esp, 0x48
ret
test edi, edi
je 0x401229
push esi
push ebx
push edi
call fcn.0040a370
add esp, 0xc
add edi, esi
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], 0
je 0x401172
cmp eax, 1
je 0x401263
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x401247
cmp dword [esp + 0x10], ecx
jbe 0x4011d5
mov eax, dword [esp + 0x10]
jmp 0x401115
mov eax, 0xfffffffd
jmp 0x4011d5
cmp eax, 1
jne 0x4011d5
xor esi, esi
jmp 0x4011ee