joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004b158
Capabilities:
Terminate process

Disassembly:
push 8
push 0x100504e0
call fcn.1004ab88
push 8
call fcn.1001a870
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x10056f34], esi
jne 0x1004b18c
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
mov dword [0x10056f30], esi
mov al, byte [ebp + 0x10]
mov byte [0x10056f2c], al
cmp dword [ebp + 0xc], edi
jne 0x1004b1d6
cmp dword [0x100613e8], edi
je 0x1004b1c6
mov eax, dword [0x100613e4]
sub eax, 4
mov dword [0x100613e4], eax
cmp eax, dword [0x100613e8]
jb 0x1004b1c6
mov eax, dword [eax]
cmp eax, edi
je 0x1004b1a7
call eax
jmp 0x1004b1a7
push 0x10052020
mov eax, 0x1005201c
call fcn.1004b0d6
pop ecx
push 0x10052028
mov eax, 0x10052024
call fcn.1004b0d6
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x1004b207
cmp dword [ebp + 0x10], edi
jne 0x1004b215
mov dword [0x10056f34], esi
push dword [ebp + 8]
call fcn.1004b094
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x1004b214
push 8
call fcn.1001a870
pop ecx
ret
call fcn.1004abc3
ret

Function at 0x1004bc99
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x100542d0]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x100546b0]
je 0x1004bcce
inc eax
cmp eax, 0x13
jb 0x1004bcbf
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x100546b0]
jne 0x1004bdf4
mov eax, dword [0x10056e74]
cmp eax, 1
je 0x1004bdcc
cmp eax, edx
jne 0x1004bcfe
cmp dword [0x10056e78], 1
je 0x1004bdcc
cmp ecx, 0xfc
je 0x1004bdf4
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1004bd34
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.1004c6e0
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.1004ceb0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x1004bd68
mov eax, edi
push eax
call fcn.1004ceb0
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x1004fde4
push edi
call fcn.1004c830
add esp, 0x10
push edi
call fcn.1004ceb0
push dword [esi + 0x100546b4]
mov ebx, eax
call fcn.1004ceb0
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.100497b0
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.1004c6e0
push edi
push ebx
call fcn.1004c6f0
push 0x1004fde0
push ebx
call fcn.1004c6f0
push dword [esi + 0x100546b4]
push ebx
call fcn.1004c6f0
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.1001a870
add esp, 0x2c
jmp 0x1004bdf4
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x100546b4]
push dword [esi]
call fcn.1004ceb0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.kernel32.dll_GetStdHandle]
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.10049461
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x100100b7
Capabilities:
Get thread local storage value

Disassembly:
push 8
mov eax, 0x1005827c
call fcn.10025a34
cmp byte [0x10093bd8], 0
push dword [0x10093bd4]
je 0x100100da
call dword [sym.imp.kernel32.dll_FlsGetValue]
jmp 0x100100e0
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x10010128
push 0x14
call fcn.10033e9c
mov esi, eax
pop ecx
test esi, esi
je 0x10010130
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [ebp - 4], edi
push 8
pop ecx
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
call fcn.10002cc8
mov dword [esi], eax
push esi
mov dword [eax], edi
mov dword [eax + 4], edi
mov ecx, dword [esi]
mov dword [ecx], esi
mov ecx, 0x10093bd4
call fcn.10033e9c
mov eax, esi
call fcn.10025a05
ret
call fcn.10033e9c
int3

Function at 0x10033e9c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x10033eab
pop dword [ebp - 0x20]
mov eax, 0x10033eab
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x52886
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0xadab8af6
add ecx, 0x5254cc5f
mov edi, eax
mov ebx, 0x42b88269
sub ebx, 0x32ae9069
add ebx, dword [ebp - 0x20]
mov esi, 0xf3cbce93
xor dword [ebp - 0x10], 0x7232085b
mov edx, dword [ebx]
add dword [ebp - 4], 0x1f50edf1
xor edx, esi
mov dword [ebp - 0x18], 0xa94bd54d
mov dword [edi], edx
xor dword [ebp - 0x10], esi
add edi, 4
add ebx, 0x47ef2e0a
add ebx, 0xb810d1fa
loop 0x10033efa
add eax, 0x5402a073
add eax, 0xabfeafb4
mov ebx, eax
add eax, 0x925e9467
add eax, 0x6da16b9e
mov ecx, 0x10000000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x343f19f8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x343f6b04]
jne 0x34415a46
ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x34419cd8], eax
mov dword [0x34419cd4], ecx
mov dword [0x34419cd0], edx
mov dword [0x34419ccc], ebx
mov dword [0x34419cc8], esi
mov dword [0x34419cc4], edi
mov word [0x34419cf0], ss
mov word [0x34419ce4], cs
mov word [0x34419cc0], ds
mov word [0x34419cbc], es
mov word [0x34419cb8], fs
mov word [0x34419cb4], gs
pushfd
pop dword [0x34419ce8]
mov eax, dword [ebp]
mov dword [0x34419cdc], eax
mov eax, dword [ebp + 4]
mov dword [0x34419ce0], eax
lea eax, [ebp + 8]
mov dword [0x34419cec], eax
mov eax, dword [ebp - 0x320]
mov dword [0x34419c28], 0x10001
mov eax, dword [0x34419ce0]
mov dword [0x34419bdc], eax
mov dword [0x34419bd0], 0xc0000409
mov dword [0x34419bd4], 1
mov eax, dword [0x343f6b04]
mov dword [ebp - 0x328], eax
mov eax, dword [0x34417ca0]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x34419c20], eax
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x34415b4c
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x34419c20], 0
jne 0x34415b36
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret

Function at 0x343fac8a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x343fac99
pop dword [ebp - 0x30]
mov eax, 0xbcb06742
sub eax, 0x8870baa9
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x20e7ab75
add dword [ebp - 0x40], 0x2d6a99d6
mov dword [ebp - 0x3c], 0xeefaa5d2
add dword [ebp - 0x3c], 0x4338a673
mov dword [ebp - 0x38], 0xd74f5742
sub dword [ebp - 0x38], 0x8b031314
mov dword [ebp - 0x34], 0x15e96f1d
add dword [ebp - 0x34], 0xea1690e3
lea eax, [ebp - 0x40]
push eax
mov eax, 0x9b082f50
add eax, 0x9936e1dc
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x7f0af5fe
add dword [ebp - 0x40], 0xf5677358
mov dword [ebp - 0x3c], 0x6da72ec4
sub dword [ebp - 0x3c], 0x2c3acd4f
mov dword [ebp - 0x38], 0xe39c8a1
sub dword [ebp - 0x38], 0xaaca5c35
mov dword [ebp - 0x34], 0x5c53842f
sub dword [ebp - 0x34], 0x5c53842f
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x4a7f924f
sub eax, 0x16408127
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x3ddcf
push 0
call eax
mov ecx, 0x43914670
sub ecx, 0x4391033e
mov edi, eax
mov ebx, 0xec4127ce
add ebx, 0x4800a832
add ebx, dword [ebp - 0x30]
mov edx, 0xe5b317e5
add edx, 0xc0cedd06
sub dword [ebp - 0x1c], esi
mov esi, dword [ebx]
xor esi, edx
add dword [ebp - 0x1c], eax
mov dword [edi], esi
add dword [ebp - 0x1c], esi
add edi, 0xb8d7a87d
sub edi, 0xb8d7a879
add ebx, 0x7bad7eb1
add ebx, 0x84528153
loop 0x343fadbb
add eax, 0x91dbd4c1
sub eax, 0x91dad526
mov ebx, eax
add eax, 0x8e5a2b89
sub eax, 0x8e5a2b84
mov ecx, 0x343f0000
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x100250d4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x100250e3
pop dword [ebp - 0x44]
mov eax, 0xfc045a3c
sub eax, 0xec020959
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x5cb826ab
sub dword [ebp - 0x54], 0xe65e160
mov dword [ebp - 0x50], 0x3a18e03b
sub dword [ebp - 0x50], 0x7e593f6
mov dword [ebp - 0x4c], 0x48ba912
sub dword [ebp - 0x4c], 0xb83f64e4
mov dword [ebp - 0x48], 0xcaa378d5
add dword [ebp - 0x48], 0x355c872b
lea eax, [ebp - 0x54]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x6ca4d3e4
add dword [ebp - 0x54], 0x7cd9572
mov dword [ebp - 0x50], 0xdfd0d00a
add dword [ebp - 0x50], 0x619b916b
mov dword [ebp - 0x4c], 0x56899680
add dword [ebp - 0x4c], 0xce5d5ec
mov dword [ebp - 0x48], 0x5e20dba7
add dword [ebp - 0x48], 0xa1df2459
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3b9ae
push 0
call eax
mov ecx, 0x4a18
xor esi, esi
add esi, eax
mov edx, 0x5e1e8fec
sub edx, 0x4e160bec
add edx, dword [ebp - 0x44]
mov ebx, 0xac63087d
add ebx, 0x549e290a
sub dword [ebp - 0x30], 0xd35dcf5e
mov edi, dword [edx]
xor edi, ebx
xor dword [ebp - 8], 0x547f9911
mov dword [esi], edi
add dword [ebp - 0x34], 0xfe607f8f
add esi, 0xb875a80f
sub esi, 0xb875a80b
add edx, 0xaea0bc33
add edx, 0x515f43d1
loop 0x100251f7
add eax, 0xcd069524
sub eax, 0xcd0579f1
xor ebx, ebx
add ebx, eax
add eax, 0xac50d5b5
add eax, 0x53af2a50
mov ecx, 0xcdd4ff64
sub ecx, 0xbdd4ff64
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x1001a8f6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x1001a905
pop dword [ebp - 0xc]
mov eax, 0x4c4ae034
sub eax, 0x3c49372f
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x3d9f5
push 0
mov eax, 0xb61c2702
sub eax, 0xa618c626
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0xe03e28df
sub ecx, 0xe03deca5
mov edx, eax
mov ebx, 0x1003be00
add ebx, dword [ebp - 0xc]
mov edi, 0x4138d30c
sub edi, 0x300eac75
xor dword [ebp - 4], eax
mov esi, dword [ebx]
add dword [ebp - 8], ecx
xor esi, edi
add dword [ebp - 4], ecx
mov dword [edx], esi
xor dword [ebp - 8], eax
add edx, 0x49771cef
add edx, 0xb688e315
add ebx, 4
loop 0x1001a95e
add eax, 0x9d40bcb4
sub eax, 0x9d3fd8f9
mov ebx, eax
add eax, 0xef788953
sub eax, 0xef78894e
mov ecx, 0x423c158f
sub ecx, 0x323c158f
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x100289d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x100330b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10035b0c]
test dword [ebp + 8], eax
je 0x10028a7a
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x808]
push eax
call fcn.1001a8f6
xor eax, eax
add esp, 0xc
mov word [ebp - 8], ax
mov eax, dword [0x10035b08]
test eax, eax
je 0x10028a6d
lea ecx, [ebp - 0x808]
push ecx
push eax
call fcn.1001a8f6
mov eax, dword [0x100330ac]
pop ecx
pop ecx
test eax, eax
jle 0x10028a7a
push esi
mov esi, dword [0x10035b10]
push edi
mov edi, dword [0x10035b14]
cdq
push edx
push eax
push edi
push esi
call fcn.10029420
add esi, 1
mov dword [0x10035b10], esi
adc edi, 0
or eax, edx
mov dword [0x10035b14], edi
pop edi
pop esi
jne 0x10028a7a
push dword [0x10035b08]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
pop ecx
jmp 0x10028a7a
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10028d50
leave
ret
Function at 0x10015c7d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x10015c8c
pop dword [ebp - 0x14]
mov eax, 0x10015c8c
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x3771e
push 0
mov eax, 0xa4397578
sub eax, 0x9437f428
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0xe88cd1a9
sub ecx, 0xe88c91aa
xor edx, edx
add edx, eax
mov edi, 0x41394913
add edi, 0xcec96ced
add edi, dword [ebp - 0x14]
mov esi, 0x3fb16de5
add esi, 0xec862e1b
xor dword [ebp - 8], 0x7efe34c1
mov ebx, dword [edi]
xor dword [ebp - 8], 0x387d6498
add ebx, esi
sub dword [ebp - 8], esi
mov dword [edx], ebx
add dword [ebp - 0xc], esi
add edx, 0x15e91d7f
add edx, 0xea16e285
add edi, 4
loop 0x10015ce8
add eax, 0xf2cf
mov ebx, eax
add eax, 5
mov ecx, 0x8c7566a9
sub ecx, 0x7c7566a9
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x29801a89
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x298601b4]
jne 0x29801a93
repz ret
jmp fcn.2983e792

Function at 0x298050c5
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x2983eb59
call fcn.29801f91
mov ebx, dword [ebp + 8]
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x298050e5
xor eax, eax
call fcn.298029c6
ret 4
call dword [sym.imp.MSVCP100.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
test eax, eax
je 0x29805113
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x24]
mov edi, dword [eax]
add edi, dword [ecx]
mov ecx, esi
call dword [sym.imp.MSVCP100.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
cmp eax, edi
jae 0x29805113
mov ecx, esi
call dword [sym.imp.MSVCP100.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
mov byte [eax], bl
mov eax, ebx
jmp 0x298050dd
xor edi, edi
cmp dword [esi + 0x54], edi
jne 0x2980511f
or eax, 0xffffffff
jmp 0x298050dd
mov ecx, esi
call fcn.29803ec2
cmp dword [esi + 0x44], edi
jne 0x2980513c
push dword [esi + 0x54]
push ebx
call fcn.2982ced6
pop ecx
pop ecx
test al, al
je 0x2980511a
jmp 0x2980510f
push edi
push 8
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x30], bl
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
call fcn.2982ced6
mov dword [ebp - 4], edi
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x298051f1
lea eax, [ebp - 0x2c]
mov ecx, eax
add eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x34]
push edx
push eax
push ecx
mov ecx, dword [esi + 0x44]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2f]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [esi + 0x4c]
push eax
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::out_int___char_const___char_const___char_const____char___char___char___const]
test eax, eax
js 0x2980520f
cmp eax, 1
jg 0x298051f9
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x298051a4
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x34]
sub edi, eax
je 0x298051cb
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x298051b7
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x2980520f
lea eax, [ebp - 0x30]
mov byte [esi + 0x49], 1
cmp dword [ebp - 0x38], eax
jne 0x29805229
test edi, edi
jne 0x2980515b
cmp dword [ebp - 0x1c], 0x20
jae 0x2980520f
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.2982ced6
jmp 0x2980515b
mov ecx, dword [ebp - 0x2c]
jmp 0x2980516d
cmp eax, 3
jne 0x2980520f
push dword [esi + 0x54]
push dword [ebp - 0x30]
call fcn.2982ced6
pop ecx
pop ecx
test al, al
jne 0x29805229
or esi, 0xffffffff
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.2982ced6
mov eax, esi
jmp 0x298050dd
mov esi, ebx
jmp 0x29805212
Function at 0x2980522d
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x2983fd5f
call fcn.29801f91
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x44], edi
je 0x29805323
cmp byte [esi + 0x49], 0
je 0x29805323
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x29805263
xor al, al
jmp 0x29805325
push edi
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
call fcn.2982ced6
mov dword [ebp - 4], edi
lea ebx, [esi + 0x4c]
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x298052c5
lea eax, [ebp - 0x2c]
mov ecx, eax
add eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
push edx
push eax
push ecx
mov ecx, dword [esi + 0x44]
push ebx
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x298052ca
dec eax
je 0x298052ce
dec eax
dec eax
je 0x2980531f
xor bl, bl
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.2982ced6
mov al, bl
jmp 0x29805325
mov ecx, dword [ebp - 0x2c]
jmp 0x29805290
mov byte [esi + 0x49], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x298052da
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x29805301
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x298052ed
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x298052af
cmp byte [esi + 0x49], 0
je 0x2980531f
test edi, edi
jne 0x29805282
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.2982ced6
jmp 0x29805282
mov bl, 1
jmp 0x298052b1
mov al, 1
call fcn.298029c6
ret
Function at 0x2982092f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x29840d8f
call fcn.2983e23c
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x298209dd
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x41c]
push eax
call fcn.2982ced6
add esp, 0xc
test eax, eax
js 0x298209dd
mov edi, dword [ebp - 0x41c]
cmp edi, 0x400
jg 0x298209c3
push edi
call fcn.2981d496
pop ecx
test al, al
je 0x298209c3
mov eax, edi
call fcn.2983e480
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x298209cf
push edi
lea ecx, [ebp - 0x428]
call fcn.2982ced6
push 3
push edi
push esi
push eax
call fcn.2982ced6
cmp eax, ebx
jne 0x29820a1a
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x298209f6
lea ecx, [ebp - 0x418]
call fcn.2981cb8c
mov esi, 0x8007000e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.2981cb0e
mov eax, esi
lea esp, [ebp - 0x440]
call fcn.2983e275
ret 0x10
push 2
push ebx
push eax
call fcn.2981d73e
mov edi, eax
mov dword [ebp - 0x41c], edi
cmp edi, ebx
jne 0x29820a3b
call fcn.2981c3ab
mov esi, eax
jmp 0x29820b05
push dword [ebp - 0x420]
push dword [ebp - 0x424]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x29820a5e
call fcn.2981c3ab
jmp 0x29820af7
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x29820a54
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x424], esi
cmp eax, esi
jae 0x29820a8e
mov esi, 0x8007000e
jmp 0x29820af9
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.2982ced6
mov dword [ebp - 4], 1
jmp 0x29820abc
cmp dword [ebp - 0x418], ebx
je 0x29820a87
push esi
push dword [ebp - 0x420]
push esi
push dword [ebp - 0x418]
call fcn.2982ced6
mov eax, dword [ebp - 0x418]
add esp, 0x10
push dword [ebp + 0x14]
mov byte [eax + esi], bl
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.2982ced6
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x298209fb
lea ecx, [ebp - 0x418]
call fcn.2981cb8c
jmp 0x298209fb
Function at 0x298068a3
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x298529aa
call fcn.29802379
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x38], ebx
je 0x298069b3
cmp byte [edi + 0x3d], bl
je 0x298069b3
mov eax, dword [edi]
push 0xffffffffffffffff
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x298583e0]
mov ecx, edi
call esi
cmp eax, 0xffffffff
jne 0x298068e4
xor al, al
jmp 0x298069b5
push ebx
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.2980706a
mov dword [ebp - 4], ebx
mov esi, dword [ebp - 0x14]
cmp esi, 0x10
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
add eax, edx
push eax
push ecx
mov ecx, dword [edi + 0x38]
lea eax, [edi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, ebx
je 0x2980693d
sub eax, 1
je 0x29806940
dec eax
sub eax, 1
jne 0x298069a0
inc eax
jmp 0x2980699e
mov byte [edi + 0x3d], bl
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp esi, 0x10
mov edx, dword [ebp - 0x2c]
cmovae eax, ecx
sub edx, eax
mov dword [ebp - 0x30], edx
je 0x2980697c
push dword [edi + 0x4c]
cmp esi, 0x10
lea eax, [ebp - 0x28]
push edx
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov edx, dword [ebp - 0x30]
add esp, 0x10
cmp edx, eax
jne 0x2980699c
mov esi, dword [ebp - 0x14]
cmp byte [edi + 0x3d], 0
je 0x2980699a
test edx, edx
jne 0x29806902
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.29806fa0
jmp 0x298068ff
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 4
call fcn.2983f30e
mov al, bl
jmp 0x298069b5
mov al, 1
call fcn.29802cf8
ret