joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004bb70
Capabilities:
Parse pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], 0
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x1004bcbf
push 0
push 0
push 0
push 2
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1004bcb5
push 0
push 0
push 0
push 4
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1004bcab
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x1004bca1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp dword [edx], 0x4550
jne 0x1004bca1
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0x18]
cmp ecx, 0x20b
jne 0x1004bc3c
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax + 0x88]
mov dword [ebp - 0x14], edx
jmp 0x1004bc4e
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 0x78]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1004bca1
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.1004bac0
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x10], 0
jne 0x1004bc79
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x14], 1
ja 0x1004bc94
mov edx, dword [ebp - 8]
cmp dword [edx + 0x10], 1
jne 0x1004bc8b
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 0
ja 0x1004bc94
mov dword [ebp - 0x20], 0
jmp 0x1004bc9b
mov dword [ebp - 0x20], 1
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x24]
mov esp, ebp
pop ebp
ret 4
Function at 0x1004bf60
Capabilities:
Parse pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], 0
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x1004c02a
push 0
push 0
push 0
push 2
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1004c020
push 0
push 0
push 0
push 4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1004c016
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x1004c00c
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp dword [edx], 0x4550
jne 0x1004c00c
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + 0x18]
cmp ecx, 0x20b
jne 0x1004c00c
mov dword [ebp - 0x18], 1
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 4

Function at 0x1004e970
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
cmp dword [0x1009c6d8], 0xffffffff
jne 0x1004e9e3
push 0x114
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.10055aa0
add esp, 0xc
mov dword [ebp - 0x11c], 0x114
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x118], 6
ja 0x1004e9d3
cmp dword [ebp - 0x118], 6
jne 0x1004e9ca
cmp dword [ebp - 0x114], 1
ja 0x1004e9d3
mov dword [ebp - 8], 0
jmp 0x1004e9da
mov dword [ebp - 8], 1
mov edx, dword [ebp - 8]
mov dword [0x1009c6d8], edx
cmp dword [0x1009c6d8], 1
jne 0x1004e9f5
mov dword [ebp - 4], 1
jmp 0x1004e9fc
mov dword [ebp - 4], 0
mov al, byte [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x1005dcba
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x1005dcf5
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x1005dcdc
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x1005dced
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x1005dcf7
inc edi
add eax, 0x28
sub byte [ebx], bh
invalid
jb 0x1005dcd2
xor eax, eax
pop edi
pop esi
ret

Function at 0x1005dfe3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call 0x60ee3d70
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
invalid
Function at 0x1005e04f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lcall 0xc635, 0x9b45c633
inc ebp
pushfd
xor al, 0xc6
inc ebp
popfd
and dh, al
inc ebp
sahf
invalid
invalid

Function at 0x1005e062
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
lahf
adc esi, eax
inc ebp
mov al, byte [0xa145c633]
mov byte cs:[ebp - 0x5e], 0x35
Function at 0x1006205
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x100b2d0]
push edi
xor edi, edi
cmp word [0x100c898], di
mov dword [ebp - 4], eax
jne 0x1006247
cmp dword [0x100c884], edi
jne 0x100623e
call fcn.010043ec
test eax, eax
je 0x1006259
cmp word [0x100c898], di
jne 0x1006247
call fcn.01004bc8
test eax, eax
je 0x1006259
call fcn.0100435e
test eax, eax
je 0x1006259
call fcn.01005f21
test eax, eax
jne 0x1006260
xor eax, eax
jmp 0x100636a
push ebx
push esi
mov esi, 0x105
push esi
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x1001264
push esi
lea eax, [ebp - 0x10c]
push eax
call fcn.010066cf
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, edi
mov ebx, 0x100bc44
je 0x10062b3
push 0x10014a8
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x10062b3
push edi
push ebx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [0x100c884], edi
jne 0x10062da
cmp dword [0x100c490], edi
jne 0x10062da
call fcn.010047b3
test eax, eax
jne 0x10062da
xor eax, eax
jmp 0x1006368
push ebx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x1006301
push edi
push 0x10
push edi
push edi
push 0x4bc
push edi
call fcn.01003ebe
call fcn.01003aa1
mov dword [0x100ba5c], eax
jmp 0x10062d3
cmp dword [0x100c88c], edi
jne 0x1006312
call fcn.01005a36
test eax, eax
je 0x10062d3
test byte [0x100cba8], 0xc0
jne 0x1006330
xor eax, eax
mov ax, word [0x100ba64]
push eax
call fcn.01001f93
mov dword [0x100bb84], eax
jmp 0x1006336
mov dword [0x100bb84], edi
cmp dword [0x100c884], edi
jne 0x100634f
cmp dword [0x100c490], edi
jne 0x100634f
call fcn.01005abc
test eax, eax
je 0x10062d3
cmp word [0x100c898], di
jne 0x1006365
cmp dword [0x100c884], edi
jne 0x1006365
call fcn.01004de5
xor eax, eax
inc eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
call fcn.010064de
leave
ret

Function at 0x100645c
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
call fcn.014a4000
jmp fcn.010063e0

Function at 0x100672a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1006741
xor eax, eax
jmp 0x1006749
shr eax, 4
not eax
and eax, 1
pop ebp
ret 4
Function at 0x903058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.009031a8
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 0x90307e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x90306a
add dl, dl
jne 0x903089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9030dc
xor eax, eax
add dl, dl
jne 0x903096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x90317d
add dl, dl
jne 0x9030a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9030b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9030bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9030c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9030d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x903075
mov eax, 1
add dl, dl
jne 0x9030ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9030f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9030e1
sub eax, ebx
mov ebx, 1
jne 0x903128
mov ecx, 1
add dl, dl
jne 0x90310e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x903119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x903105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x903075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x90313f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x90314a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x903136
cmp eax, 0x7d00
jae 0x90316d
cmp eax, 0x500
jb 0x903168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x903075
cmp eax, 0x7f
ja 0x903170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x903075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x90319e
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 0x903075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x423aa4
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.00419328
and dword [ebp - 4], 0
cmp dword [0x43879c], 0
mov ebx, eax
jne 0x423b55
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x423c06
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x423c06
push eax
call fcn.004192b6
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43879c], eax
call esi
push eax
call fcn.004192b6
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4387a0], eax
call esi
push eax
call fcn.004192b6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4387a4], eax
call esi
push eax
call fcn.004192b6
pop ecx
mov dword [0x4387ac], eax
test eax, eax
je 0x423b55
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004192b6
pop ecx
mov dword [0x4387a8], eax
mov eax, dword [0x4387a8]
cmp eax, ebx
je 0x423bad
cmp dword [0x4387ac], ebx
je 0x423bad
push eax
call fcn.00419331
push dword [0x4387ac]
mov esi, eax
call fcn.00419331
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x423bad
test edi, edi
je 0x423bad
call esi
test eax, eax
je 0x423ba4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x423ba4
test byte [ebp - 0xc], 1
jne 0x423bad
or dword [ebp + 0x10], 0x200000
jmp 0x423be6
mov eax, dword [0x4387a0]
cmp eax, ebx
je 0x423be6
push eax
call fcn.00419331
pop ecx
test eax, eax
je 0x423be6
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x423be6
mov eax, dword [0x4387a4]
cmp eax, ebx
je 0x423be6
push eax
call fcn.00419331
pop ecx
test eax, eax
je 0x423be6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43879c]
call fcn.00419331
pop ecx
test eax, eax
je 0x423c06
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x423c08
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
push eax
push ecx
push edx
push ebx
push ebp
push esi
push edi
call 0x56000c
pop ecx
sub ecx, 0x8d00c
mov edx, 0
push ecx
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.0040bbb3
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.0040bbb3
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.0040bbb3
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.0040bbb3
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.0040bbb3
mov dword [0x41203c], eax
call fcn.0040bbb3
test eax, eax
jge 0x402550
push 8
call fcn.0040bbb3
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.0040bbb3
pop ecx
push 1
call fcn.0040bbb3
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.0040bbb3
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.0040bbb3
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.0040bbb3
jmp 0x402495

Function at 0x40bbb3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x40bbc2
pop dword [ebp - 0x14]
mov eax, 0x4b34d48f
add eax, 0xb50be733
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x372e5
push 0
mov eax, 0x947495e3
sub eax, 0x9433b50b
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0x3ee0
mov edx, eax
mov esi, 0x413bc4
add esi, dword [ebp - 0x14]
mov ebx, 0x6a2d3080
xor dword [ebp - 8], ecx
mov edi, dword [esi]
add dword [ebp - 8], 0x5e50324f
sub edi, ebx
sub dword [ebp - 8], ecx
mov dword [edx], edi
mov dword [ebp - 0x10], 0x13563eb6
add edx, 0xebdabba5
add edx, 0x1425445f
add esi, 4
loop 0x40bc0f
add eax, 0xee53
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x68e26fe4
sub ecx, 0x68a26fe4
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x40288e
pop dword [ebp - 0x24]
mov eax, 0xee5d5562
sub eax, 0xee1d2cd4
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xfe9c92f7
add dword [ebp - 0x34], 0x4fb5b254
mov dword [ebp - 0x30], 0xa0470ad9
add dword [ebp - 0x30], 0x91ec416c
mov dword [ebp - 0x2c], 0xb5b055a5
sub dword [ebp - 0x2c], 0x69641177
mov dword [ebp - 0x28], 0x9671b7d4
sub dword [ebp - 0x28], 0x9671b7d4
lea eax, [ebp - 0x34]
push eax
mov eax, 0x81e9f479
sub eax, 0x81a973ed
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xfa3c1cc1
sub dword [ebp - 0x34], 0x85c9b36b
mov dword [ebp - 0x30], 0x26be76c8
sub dword [ebp - 0x30], 0xe5521553
mov dword [ebp - 0x2c], 0xcefa76cf
sub dword [ebp - 0x2c], 0x6b8b0a63
mov dword [ebp - 0x28], 0x286820f0
sub dword [ebp - 0x28], 0x286820f0
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x45dba920
sub eax, 0x459b284c
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3bd9a
push 0
call eax
mov ecx, 0x92beae0c
sub ecx, 0x92be5108
mov esi, eax
mov edx, 0x85429057
add edx, 0x7afe7fa9
add edx, dword [ebp - 0x24]
mov edi, 0xca1f8ac1
sub edi, 0xf456d448
xor dword [ebp - 0x18], 0x7525cb1e
mov ebx, dword [edx]
add dword [ebp - 0x10], edi
xor ebx, edi
add dword [ebp - 0x20], ecx
mov dword [esi], ebx
sub dword [ebp - 0x18], 0xaa8fd7bd
add esi, 4
add edx, 4
loop 0x4029b0
add eax, 0x9cf14f57
sub eax, 0x9cefe874
xor ebx, ebx
add ebx, eax
add eax, 0xcbbc0901
add eax, 0x3443f704
mov ecx, 0x400000
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x40632d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x40633c
pop dword [ebp - 0x3c]
mov eax, 0x40633c
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x42ca34b4
add dword [ebp - 0x4c], 0xb881097
mov dword [ebp - 0x48], 0x1d061397
sub dword [ebp - 0x48], 0xead2c752
mov dword [ebp - 0x44], 0xf9081286
add dword [ebp - 0x44], 0x534431a8
mov dword [ebp - 0x40], 0x9abd4f3e
add dword [ebp - 0x40], 0x6542b0c2
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x5c1fe0ed
add eax, 0xa4208f73
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x9beff248
sub dword [ebp - 0x4c], 0x277d88f2
mov dword [ebp - 0x48], 0x6e310c4f
add dword [ebp - 0x48], 0xd33b5526
mov dword [ebp - 0x44], 0xaf12fc60
sub dword [ebp - 0x44], 0x4ba38ff4
mov dword [ebp - 0x40], 0x470fa42f
add dword [ebp - 0x40], 0xb8f05bd1
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0xbb42c2a5
sub eax, 0xbb0251a5
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x33fdd
push 0
call eax
mov ecx, 0x3d7e
mov esi, eax
mov edx, 0xc3d552d
add edx, 0xf403aad3
add edx, dword [ebp - 0x3c]
mov edi, 0xef972bd1
sub dword [ebp - 0x24], 0xac4dfb9d
mov ebx, dword [edx]
xor dword [ebp - 0x30], 0x383173bd
add ebx, edi
add dword [ebp - 0x24], eax
mov dword [esi], ebx
sub dword [ebp - 0x20], 0xa914b1a7
add esi, 0x9a008cb0
add esi, 0x65ff7354
add edx, 4
loop 0x40644d
add eax, 0x23ad7098
sub eax, 0x23ac87cd
mov ebx, eax
add eax, 0xdb9ad932
add eax, 0x246526d3
mov ecx, 0x1f52baa8
add ecx, 0xe0ed4558
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x405c10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x40f00c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ebx
cmovae eax, dword [ebp + 8]
push esi
push 0x40c5bc
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
mov esi, ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
add esp, 0xc
test eax, eax
jne 0x405c83
mov eax, dword [ebp - 8]
test eax, eax
je 0x405c83
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x405c5e
mov ecx, dword [esi]
push eax
push dword [esi + 0x10]
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov eax, dword [ebp - 8]
add esp, 0x10
test eax, eax
je 0x405c83
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov bl, 1
jmp 0x405c85
xor bl, bl
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x405cbb
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405cb1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x405cb1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040a1f6
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.00409d8d
mov esp, ebp
pop ebp
ret
Function at 0x405cd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40b2dd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x40f00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
push 0x40c5c0
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
add esp, 0xc
test eax, eax
jne 0x405e05
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x405e05
push 2
push 0
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov eax, dword [ebp - 0x14]
add esp, 0xc
test eax, eax
je 0x405e05
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ecx, dword [edi + 0x10]
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
cmp esi, ecx
ja 0x405d7e
mov dword [edi + 0x10], esi
mov eax, edi
cmp dword [edi + 0x14], 0x10
jb 0x405d78
mov eax, dword [edi]
mov byte [eax + esi], 0
jmp 0x405dc2
mov edx, dword [edi + 0x14]
mov ebx, esi
mov eax, edx
sub ebx, ecx
sub eax, ecx
cmp ebx, eax
ja 0x405db1
mov dword [edi + 0x10], esi
mov eax, edi
cmp edx, 0x10
jb 0x405d99
mov eax, dword [edi]
push ebx
lea esi, [eax + ecx]
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov byte [esi + ebx], 0
add esp, 0xc
mov esi, dword [ebp - 0x18]
jmp 0x405dc2
push ecx
push ebx
mov byte [ebp - 0x18], 0
mov ecx, edi
push dword [ebp - 0x18]
push ebx
call fcn.00409400
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x405e05
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_rewind]
mov eax, dword [ebp - 0x14]
add esp, 4
test eax, eax
je 0x405e05
cmp dword [edi + 0x14], 0x10
jb 0x405de2
mov edi, dword [edi]
push eax
push esi
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov eax, dword [ebp - 0x14]
add esp, 0x10
test eax, eax
je 0x405e05
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov bl, 1
jmp 0x405e07
xor bl, bl
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x405e3d
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405e33
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x405e33
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040a1f6
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00409d8d
mov esp, ebp
pop ebp
ret
Function at 0x10001c00
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
mov eax, 0x4f40
call 0x100562ff
movdqa xmm0, xmmword [0x3e16000]
movdqa xmm1, xmmword [0x3e16010]
mov ebx, dword [edx + 4]
mov dword [esp + 0x9c], ecx
mov ecx, dword [edx]
mov edi, edx
call fcn.10001c36