joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
je 0x431072
nop
nop
nop
mov ebx, 0x40915c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x6e067601
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
loop 0x431060
nop
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4310d2
mov ebx, 0x42f3f8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x3ebc2688
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x449e10
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor edi, edi
push str.UxTheme.dll
mov ebx, eax
mov dword [esi], edi
call ebp
mov dword [esi + 4], eax
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov eax, dword [0x64fc24]
cmp eax, edi
jne 0x449ecb
cmp dword [0x64fc28], edi
jne 0x449ecb
push 0x8003
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp ebx, edi
mov dword [0x64fd10], eax
je 0x449e7a
mov ecx, dword [0x64fddc]
push 0x64fae8
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
cmp ebx, edi
jne 0x449e9c
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
cmp ebx, edi
je 0x449ebe
push str.GetLogicalProcessorInformation
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetLogicalProcessorInformationEx
push ebx
mov dword [0x64fc24], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x64fc28], eax
mov edx, dword [0x64fd10]
push edx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push str.dwmapi.dll
call ebp
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
cmp eax, edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
je 0x449ef3
push str.OpenThemeData
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x14], eax
jmp 0x449f26
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov eax, dword [esi + 8]
cmp eax, edi
je 0x449f44
push str.DwmIsCompositionEnabled
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x58], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x524d23
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, edi
test bx, bx
je 0x524d2f
mov esi, ebx
cmp si, cx
je 0x524d2f
invalid
or eax, dword [ebx - 0x48f0fd3e]
xor ah, byte [esi - 0x7b]
div byte [ebp - 0x10]
add edx, 2
movzx esi, word [edx]
test si, si
jne 0x524d1f
xor ecx, ecx
cmp word [edx], cx
je 0x524d41
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x524d16
xor edx, edx
mov esi, eax
cmp word [eax], dx
je 0x524d86
movzx ebx, word [edi]
mov ecx, edi
test bx, bx
je 0x524d6f
movzx edx, word [eax]
mov dword [ebp - 4], edx
mov edx, ebx
cmp dx, word [ebp - 4]
je 0x524d6d
add ecx, 2
movzx edx, word [ecx]
test dx, dx
jne 0x524d5c
xor edx, edx
cmp word [ecx], dx
jne 0x524d7e
add eax, 2
cmp word [eax], dx
jne 0x524d4d
jmp 0x524d86
xor ecx, ecx
mov word [eax], cx
add eax, 2
mov ecx, dword [ebp + 0x10]
pop edi
mov dword [ecx], eax
sub eax, esi
neg eax
sbb eax, eax
and eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0xb67752a
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
mov ecx, 0x653b53bf
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x422937
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.00419b87
and dword [ebp - 4], 0
cmp dword [0x42ffe0], 0
mov ebx, eax
jne 0x4229e8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x422a99
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x422a99
push eax
call fcn.00419b15
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42ffe0], eax
call esi
push eax
call fcn.00419b15
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42ffe4], eax
call esi
push eax
call fcn.00419b15
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42ffe8], eax
call esi
push eax
call fcn.00419b15
pop ecx
mov dword [0x42fff0], eax
test eax, eax
je 0x4229e8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00419b15
pop ecx
mov dword [0x42ffec], eax
mov eax, dword [0x42ffec]
cmp eax, ebx
je 0x422a40
cmp dword [0x42fff0], ebx
je 0x422a40
push eax
call fcn.00419b90
push dword [0x42fff0]
mov esi, eax
call fcn.00419b90
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x422a40
test edi, edi
je 0x422a40
call esi
test eax, eax
je 0x422a37
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x422a37
test byte [ebp - 0xc], 1
jne 0x422a40
or dword [ebp + 0x10], 0x200000
jmp 0x422a79
mov eax, dword [0x42ffe4]
cmp eax, ebx
je 0x422a79
push eax
call fcn.00419b90
pop ecx
test eax, eax
je 0x422a79
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x422a79
mov eax, dword [0x42ffe8]
cmp eax, ebx
je 0x422a79
push eax
call fcn.00419b90
pop ecx
test eax, eax
je 0x422a79
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42ffe0]
call fcn.00419b90
pop ecx
test eax, eax
je 0x422a99
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x422a9b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x5b6c7041
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..text_1
nop
mov ebx, 0x4304d8
mov ecx, 0x225b6486
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x438860
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x22000]
push edi
or ebp, 0xffffffff
jmp 0x438882
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x438889
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x438878
pushfd
xor eax, eax
inc eax
popfd
add ebx, ebx
jne 0x43889b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x438890
jne 0x4388ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x438890
xor ecx, ecx
sub eax, 3
jb 0x4388c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x438932
mov ebp, eax
add ebx, ebx
jne 0x4388cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4388d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4388fc
inc ecx
add ebx, ebx
jne 0x4388e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4388dd
jne 0x4388f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4388dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43891c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43890d
jmp 0x43887e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43891c
add edi, ecx
jmp 0x43887e
pop esi
mov edi, esi
mov ecx, 0xe0e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43893a
cmp byte [edi], 0xa
jne 0x43893a
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 eax, ebx
loop 0x43893f
lea edi, [esi + 0x36000]
mov eax, dword [edi]
test eax, eax
je 0x4389b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3820c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x382ac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43896c
push edi
pop ecx
jns 0x43899b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x382b0]
test eax, eax
je 0x4389b1
mov dword [ebx], eax
add ebx, 4
jmp 0x438989
call dword [esi + 0x382b4]
popal
jmp 0x41be59
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43100c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x401100
Capabilities:
Check if file exists
Create process on windows
Delete file
Get common file path
Get file attributes
Set registry value

Disassembly:
mov eax, 0x1c4c
call fcn.004190c0
mov eax, dword [0x432c20]
xor eax, esp
mov dword [esp + 0x1c44], eax
push ebx
push ebp
push esi
push edi
xor esi, esi
push 0x206
lea ecx, [esp + 0x826]
xor eax, eax
push esi
push ecx
mov dword [esp + 0x30], esi
mov word [esp + 0x82c], ax
call fcn.00416c10
add esp, 0xc
push 0x206
lea eax, [esp + 0x124e]
xor edx, edx
push esi
push eax
mov word [esp + 0x1254], dx
call fcn.00416c10
add esp, 0xc
push 0x206
lea edx, [esp + 0x1046]
xor ecx, ecx
push esi
push edx
mov word [esp + 0x104c], cx
call fcn.00416c10
xor eax, eax
add esp, 0xc
push 0x7e
lea edx, [esp + 0x7a6]
xor ecx, ecx
push esi
push edx
mov word [esp + 0x66c], ax
mov dword [esp + 0x66e], eax
mov dword [esp + 0x672], eax
mov dword [esp + 0x676], eax
mov dword [esp + 0x67a], eax
mov dword [esp + 0x67e], eax
mov dword [esp + 0x682], eax
mov dword [esp + 0x686], eax
mov word [esp + 0x68a], ax
mov word [esp + 0x7ac], cx
call fcn.00416c10
add esp, 0xc
push 0x7e
lea ecx, [esp + 0x726]
xor eax, eax
push esi
push ecx
mov word [esp + 0x72c], ax
call fcn.00416c10
add esp, 0xc
push 0x7e
lea eax, [esp + 0x6a6]
xor edx, edx
push esi
push eax
xor ebx, ebx
mov word [esp + 0x6ac], dx
call fcn.00416c10
add esp, 0xc
push 0x206
lea edx, [esp + 0xc36]
xor ecx, ecx
push esi
push edx
xor ebp, ebp
mov word [esp + 0xc3c], cx
call fcn.00416c10
add esp, 0xc
xor eax, eax
mov word [esp + 0x680], ax
mov dword [esp + 0x682], eax
mov dword [esp + 0x686], eax
mov dword [esp + 0x68a], eax
mov dword [esp + 0x68e], eax
mov dword [esp + 0x692], eax
push 0x206
lea edx, [esp + 0xa2e]
xor ecx, ecx
push esi
push edx
mov dword [esp + 0x6a2], eax
mov dword [esp + 0x6a6], eax
mov word [esp + 0x6aa], ax
mov word [esp + 0xa34], cx
call fcn.00416c10
add esp, 0xc
push 0x206
lea ecx, [esp + 0xe3e]
xor eax, eax
push esi
push ecx
mov word [esp + 0xe44], ax
call fcn.00416c10
add esp, 0xc
push 0x200
lea edx, [esp + 0x2c]
push esi
push edx
call fcn.00416c10
add esp, 0xc
push 1
lea edi, [esp + 0x2c]
jmp loc.0047b27b
Function at 0x10005050
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005532c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10060008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0x24], 0
mov byte [esi + 0x10], 0
mov dword [esi + 0x20], 0
mov dword [esi], vtable.ADXHistoryTable.0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0xa
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 3
mov dword [esi + 0x7c], 3
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 3
mov dword [esi + 0x98], 3
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
lea eax, [esi + 0xc0]
mov dword [esi + 0xac], 0
push eax
mov dword [esi + 0xb0], 0
mov dword [esi + 0xb4], 0
mov dword [esi + 0xb8], 0
mov dword [esi + 0xbc], 0
mov dword [esi + 0xc], 0x80
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x80], 1
mov dword [esi + 0x78], 3
mov eax, dword [esi + 0x7c]
cmp eax, 3
je 0x10005275
cmp eax, 4
jne 0x1000526e
mov eax, dword [esi + 0x88]
xor ebx, ebx
mov ecx, dword [esi + 0x84]
sub eax, ecx
sar eax, 2
imul eax, eax, 0xaaaaaaab
test eax, eax
je 0x1000526e
xor edi, edi
nop dword [eax]
mov eax, dword [edi + ecx + 4]
test eax, eax
je 0x10005247
push eax
call fcn.10007a2e
mov ecx, dword [esi + 0x84]
add esp, 4
mov dword [edi + ecx + 4], 0
inc ebx
mov eax, dword [esi + 0x88]
add edi, 0xc
mov ecx, dword [esi + 0x84]
sub eax, ecx
sar eax, 2
imul eax, eax, 0xaaaaaaab
cmp ebx, eax
jb 0x10005230
mov dword [esi + 0x7c], 3
mov dword [esi + 0x9c], 1
mov dword [esi + 0x94], 3
mov eax, dword [esi + 0x98]
cmp eax, 3
je 0x10005300
cmp eax, 4
jne 0x100052f6
mov eax, dword [esi + 0xa4]
xor ebx, ebx
mov ecx, dword [esi + 0xa0]
sub eax, ecx
sar eax, 2
imul eax, eax, 0xaaaaaaab
test eax, eax
je 0x100052f6
xor edi, edi
mov eax, dword [edi + ecx + 4]
test eax, eax
je 0x100052cf
push eax
call fcn.10007a2e
mov ecx, dword [esi + 0xa0]
add esp, 4
mov dword [edi + ecx + 4], 0
inc ebx
mov eax, dword [esi + 0xa4]
add edi, 0xc
mov ecx, dword [esi + 0xa0]
sub eax, ecx
sar eax, 2
imul eax, eax, 0xaaaaaaab
cmp ebx, eax
jb 0x100052b8
mov dword [esi + 0x98], 3
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100074d0
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x124], 0
je 0x100075b5
mov eax, dword [esi + 0x11c]
xor ebp, ebp
sub eax, dword [esi + 0x118]
sar eax, 2
test eax, eax
je 0x100075b5
cmp dword [esi], 0xffffffff
lea ecx, [esi + 0x128]
mov edi, dword [esi + 0x124]
mov ebx, ecx
je 0x1000757d
mov eax, dword [esi + 0xc]
cmp edi, eax
jb 0x10007575
push eax
push ebx
push dword [esi + 4]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 0xc]
add esp, 0xc
add dword [esi + 4], eax
add ebx, eax
mov edx, dword [esi]
sub edi, eax
mov ecx, dword [esi + 4]
xor eax, eax
mov dword [esi + 0xc], 0
cmp edx, 0xffffffff
je 0x1000756c
push eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push 0x4000
push dword [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esi + 8]
mov eax, 0x4000
mov dword [esi + 0xc], 0x4000
mov dword [esi + 4], ecx
cmp edi, eax
jae 0x10007517
push edi
push ebx
push ecx
jmp 0x1000758f
mov ecx, dword [esi + 4]
push edi
push ebx
push ecx
jmp 0x1000758f
mov eax, dword [esi + 4]
test eax, eax
je 0x100075c0
lea ecx, [edi + 1]
cmp ecx, dword [esi + 0xc]
ja 0x100075c0
push ecx
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
sub dword [esi + 0xc], edi
inc ebp
add dword [esi + 4], edi
add esp, 0xc
mov eax, dword [esi + 0x11c]
sub eax, dword [esi + 0x118]
sar eax, 2
cmp ebp, eax
jb 0x100074fd
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret

Function at 0x100075d0
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi], 0xffffffff
je 0x1000766b
mov eax, dword [esi + 0xc]
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
cmp ebx, eax
jb 0x1000764b
nop
push eax
push ebp
push dword [esi + 4]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 0xc]
add esp, 0xc
add dword [esi + 4], eax
add ebp, eax
mov edx, dword [esi]
sub ebx, eax
mov ecx, dword [esi + 4]
xor eax, eax
mov dword [esi + 0xc], 0
cmp edx, 0xffffffff
je 0x10007645
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 0x4000
push dword [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esi + 8]
mov eax, 0x4000
mov dword [esi + 0xc], 0x4000
mov dword [esi + 4], ecx
cmp ebx, eax
jae 0x100075f0
jmp 0x1000764e
mov ecx, dword [esi + 4]
push ebx
push ebp
push ecx
call sub.VCRUNTIME140.dll_memcpy
sub dword [esi + 0xc], ebx
add esp, 0xc
add dword [esi + 4], ebx
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
ret 8
mov eax, dword [esi + 4]
test eax, eax
je 0x1000769d
mov ebx, dword [esp + 0x14]
lea ecx, [ebx + 1]
cmp ecx, dword [esi + 0xc]
ja 0x1000769d
push ecx
push dword [esp + 0x14]
push eax
call sub.VCRUNTIME140.dll_memcpy
sub dword [esi + 0xc], ebx
add esp, 0xc
add dword [esi + 4], ebx
mov eax, 1
pop edi
pop esi
pop ebx
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
ret 8
Function at 0x10009850
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xc
mov eax, ecx
mov ecx, dword [esp + 0x10]
push ebx
push ebp
push esi
mov dword [eax], ecx
mov ecx, eax
push edi
mov dword [esp + 0x10], eax
call fcn.10009ed0
mov edx, dword [esp + 0x20]
test edx, edx
je 0x100099fc
mov ecx, dword [edx + 0x30]
test ecx, ecx
je 0x100099fc
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
xor esi, esi
mov ebp, 0x2710
mov dword [esp + 0x14], esi
lea eax, [ebp - 0x2710]
cmp eax, ecx
jae 0x100099ce
mov eax, dword [edx + 0x2c]
test eax, eax
je 0x100099ce
lea ebx, [esi + eax]
xor esi, esi
mov edi, ebx
test ebx, ebx
je 0x1000997f
mov eax, dword [ebx + 4]
sub eax, esi
je 0x10009923
sub eax, 1
je 0x100098f7
sub eax, 1
jne 0x1000997f
push eax
push dword [0x10064700]
mov eax, dword [esp + 0x18]
push ebp
push dword [eax + 4]
push 0x12c
push 0x12c
push esi
push esi
push 0x50000000
push esi
push 0x10057634
jmp 0x1000994d
mov eax, dword [esp + 0x10]
push 0
push dword [0x10064700]
push ebp
push dword [eax + 4]
push 0x12c
push 0x12c
push 0
push 0
push 0x50000000
push 0
push 0x1005761c
jmp 0x1000994d
mov eax, dword [esp + 0x10]
push 0
push dword [0x10064700]
push ebp
push dword [eax + 4]
push 0x12c
push 0x12c
push 0
push 0
push 0x50000000
push 0
push 0x1005760c
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
mov edi, ebx
test esi, esi
je 0x1000997f
push ebx
push 0xffffffffffffffeb
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push ebx
push esi
mov dword [esp + 0x20], esi
call fcn.10009050
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push esi
call ebx
jmp 0x10009999
push edi
push esi
mov dword [esp + 0x20], esi
call fcn.10009050
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push esi
call ebx
test esi, esi
je 0x100099bd
mov ecx, dword [esp + 0x10]
add ecx, 0x18
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x100099b0
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x100099dd
lea edx, [esp + 0x18]
push edx
push eax
call fcn.100030b0
jmp 0x100099dd
test edi, edi
je 0x100099dd
push 0x70
push edi
call fcn.100079cd
add esp, 8
jmp 0x100099dd
push 0
push 0
call fcn.10009050
push 5
push 0
call ebx
mov edx, dword [esp + 0x20]
inc ebp
add dword [esp + 0x14], 0x70
mov esi, dword [esp + 0x14]
mov ecx, dword [edx + 0x30]
lea eax, [ebp - 0x2710]
cmp eax, ecx
jb 0x10009892
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4