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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1b4
mov eax, dword [0x46ceb0]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push esi
mov eax, 0x46e31c
push edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401025
mov edi, dword [0x46e340]
sub eax, edx
mov esi, eax
lea esi, [esi + edi - 1]
xor eax, eax
test esi, esi
jle 0x401067
mov cl, byte [edi + 0x46e32e]
mov dl, byte [edi + 0x46e32d]
mov edi, edi
mov bl, byte [eax + 0x46e31c]
sub bl, cl
xor bl, dl
mov byte [eax + 0x46e31c], bl
add eax, 1
cmp eax, esi
jl 0x401050
lea esi, [edi + edi + 8]
xor eax, eax
test esi, esi
jle 0x401097
mov cl, byte [edi + 0x46e32e]
mov dl, byte [edi + 0x46e32d]
lea ecx, [ecx]
mov bl, byte [eax + 0x46e310]
sub bl, cl
xor bl, dl
mov byte [eax + 0x46e310], bl
add eax, 1
cmp eax, esi
jl 0x401080
push 0x46e310
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
mov eax, dword [0x46e340]
lea edi, [eax + 0xa]
xor esi, esi
test edi, edi
mov dword [esp + 0x14], ebx
jle 0x4010dd
mov cl, byte [eax + 0x46e32e]
mov dl, byte [eax + 0x46e32d]
mov bl, byte [esi + 0x46e334]
sub bl, cl
xor bl, dl
mov byte [esi + 0x46e334], bl
add esi, 1
cmp esi, edi
jl 0x4010c2
mov ebx, dword [esp + 0x14]
lea esi, [eax - 1]
cmp esi, edi
jge 0x401111
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ebx, [ebx]
movsx eax, byte [esi + 0x46e334]
push eax
push ebx
call edi
mov dword [esi*4 + 0x470f68], eax
mov eax, dword [0x46e340]
add esi, 1
lea ecx, [eax + 0xa]
cmp esi, ecx
jl 0x4010f0
add al, 1
movzx ax, al
xor ecx, ecx
mov ch, al
lea edx, [esp + 0x28]
push edx
or ecx, eax
push ecx
call dword [0x470f68]
mov edx, 0x74f2
sub edx, dword [0x46e340]
mov word [esp + 0x18], 2
push edx
call dword [0x470f84]
push 0x46e31c
mov word [esp + 0x1e], ax
call dword [0x470f88]
push 6
push 1
push 2
mov dword [esp + 0x28], eax
call dword [0x470f74]
mov edi, eax
push 0x10
lea eax, [esp + 0x1c]
push eax
push edi
call dword [0x470f78]
mov eax, str.studio
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x401180
push 0
sub eax, ecx
push eax
push str.studio
push edi
call dword [0x470f70]
push 0
mov ecx, 5
sub ecx, dword [0x46e340]
lea edx, [esp + 0x14]
push ecx
push edx
push edi
mov dword [esp + 0x20], 0
call dword [0x470f6c]
mov eax, dword [esp + 0x10]
xor esi, esi
test eax, eax
je 0x4011e3
push 0
sub eax, esi
push eax
lea eax, [esi + 0x42dd10]
push eax
push edi
call dword [0x470f6c]
add esi, eax
mov eax, dword [esp + 0x10]
cmp esi, eax
jne 0x4011c6
mov edi, dword [0x46e340]
movsx esi, byte [0x46e32e]
mov ecx, 0x46e32f
sub ecx, edi
movsx edx, byte [ecx]
mov ecx, dword [edx + 0x42dd10]
sub esi, edi
lea edx, [ecx + edi - 1]
add esi, 0x42dd15
xor eax, eax
test edx, edx
jle 0x401231
movzx ecx, byte [edi + 0x46e32e]
sub byte [eax + esi], cl
mov cl, byte [eax + esi]
mov bl, byte [edi + 0x46e32d]
xor bl, cl
mov byte [eax + esi], bl
add eax, 1
cmp eax, edx
jl 0x401212
mov ecx, dword [esp + 0x1bc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041a0ba
mov esp, ebp
pop ebp
ret
Function at 0x40a5fd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x40a640
call fcn.00411579
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40a640
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40a65b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0040a1b7
test ebx, ebx
mov esi, eax
je 0x40a659
test edi, edi
je 0x40a659
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x410b69
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x410b97
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x410bb5
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00410ad3
jmp 0x410bb5
mov eax, dword [esi + 0x14]
test eax, eax
je 0x410bb5
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00410ad3
test edi, edi
mov eax, edi
jne 0x410b9f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x46fe00]
test ecx, ecx
je 0x410c78
jmp 0x410b68
ret 8

Function at 0x41a0ba
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46ceb0]
jne 0x41a0c4
repz ret
jmp fcn.0041ed6a
Function at 0x4254ce
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0041e751
xor ebx, ebx
cmp dword [0x470e30], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4255a3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x42550e
xor eax, eax
jmp 0x425667
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x425507
push eax
call fcn.0041e6ee
mov dword [esp], 0x463fa8
push edi
mov dword [0x470e30], eax
call esi
push eax
call fcn.0041e6ee
mov dword [esp], 0x463f94
push edi
mov dword [0x470e34], eax
call esi
push eax
call fcn.0041e6ee
mov dword [0x470e38], eax
lea eax, [ebp - 8]
push eax
call fcn.0041c8aa
test eax, eax
pop ecx
pop ecx
je 0x425571
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042019f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4255a3
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0041e6ee
cmp eax, ebx
pop ecx
mov dword [0x470e40], eax
je 0x4255a3
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041e6ee
pop ecx
mov dword [0x470e3c], eax
mov eax, dword [0x470e3c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x42561c
cmp dword [0x470e40], esi
je 0x42561c
push eax
call fcn.0041e75a
pop ecx
call eax
cmp eax, ebx
je 0x4255e9
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x470e40]
call fcn.0041e75a
pop ecx
call eax
test eax, eax
je 0x4255e9
test byte [ebp - 0x18], 1
jne 0x42561c
lea eax, [ebp - 0xc]
push eax
call fcn.0041c8e1
test eax, eax
pop ecx
je 0x425604
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042019f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x425613
or dword [ebp + 0x10], 0x200000
jmp 0x42564d
or dword [ebp + 0x10], 0x40000
jmp 0x42564d
mov eax, dword [0x470e34]
cmp eax, esi
je 0x42564d
push eax
call fcn.0041e75a
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x42564d
mov eax, dword [0x470e38]
cmp eax, esi
je 0x42564d
push dword [ebp - 4]
push eax
call fcn.0041e75a
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x470e30]
call fcn.0041e75a
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42d958
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x46ceb0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0042d8ed
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0041aa60
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x42d9a7
cmp dword [ebp - 0x1c], 5
jb 0x42d9bf
jmp 0x42d9bb
cmp dword [ebp - 0x10], 1
jne 0x42d9bf
cmp dword [ebp - 0x1c], 4
ja 0x42d9bb
jne 0x42d9bf
cmp dword [ebp - 0x18], 0
jbe 0x42d9bf
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x465208
call fcn.0042d7c1
test eax, eax
jge 0x42d9e0
mov byte [0x47103c], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041a0ba
add ebp, 0x78
leave
ret
Function at 0x414838
Capabilities:
Accept command line arguments

Disassembly:
sub dword [0x425798], 1
jae 0x4148be
mov byte [0x4215f0], 2
mov dword [0x4251e8], 0x4205bc
mov dword [0x4251ec], 0x4205d4
mov byte [0x425226], 2
mov dword [0x4251d4], 0x413954
call fcn.004120f8
test al, al
je 0x41487b
call fcn.00412128
call fcn.004121ec
mov word [0x42522c], 0xd7b0
mov word [0x4253f8], 0xd7b0
mov word [0x4255c4], 0xd7b0
call fcn.00413848
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x425218], eax
call fcn.00410164
mov dword [0x425214], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x42520c], eax
ret

Function at 0x41a750
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x41a7b2
call fcn.0041a700
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.004154e4
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.004154e4
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x41a830
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x4233c4], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x41a90a
cmp dword [0x4233c0], 0
jne 0x41a90a
cmp dword [0x4235a4], 0
je 0x41a8c4
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.0041a600
add esp, 8
mov ebx, eax
test eax, eax
jne 0x41a8aa
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.0041a600
add esp, 8
mov ebx, eax
test eax, eax
jne 0x41a8aa
lea ebx, [ebp - 0x84]
jmp 0x41a8ab
inc ebx
call fcn.0041a7ec
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x41a945
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x4233c8
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.004154e4
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x4233cb
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x41a945
cmp dword [0x4233c0], 0
je 0x41a924
cmp dword [0x4233c0], 0xffffffff
je 0x41a945
push esi
call dword [0x4233c0]
pop ecx
mov eax, dword [0x4233c4]
test eax, eax
je 0x41a945
cmp dword [0x4233c4], 0xffffffff
je 0x41a945
cmp byte [eax], 0
je 0x41a945
push esi
push eax
call fcn.0041a750
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43b632
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
mov ebx, dword [esp]
add esp, 4
sub ecx, edi
call fcn.0043b666
or edi, ecx
xor dword [eax], ebx
or edi, edi
and ecx, ecx
push 0x7dae0cee
pop ecx
inc eax
dec ecx
or edi, edi
add edi, edi
cmp eax, edx
jne fcn.0043b632
add edi, ecx
and ecx, edi
and ecx, edi
ret
Function at 0x44b610
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
push edx
mov dword [esi], 0
mov al, byte [0x65f04a]
mov cl, byte [0x65f04d]
mov edi, dword [0x65f030]
and cl, al
mov eax, dword [0x65f034]
mov byte [0x65f04d], cl
mov bl, byte [0x65f043]
mov ecx, eax
shr ecx, 2
sub edi, ecx
mov ecx, dword [0x65f038]
or ecx, 7
mov dword [0x65f030], edi
imul ecx, ebx
and eax, ecx
mov dword [0x65f034], eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x44b673
or dword [esi], 0x2000000
mov edx, dword [0x662aac]
push edx
call dword [sym.imp.ole32.dll_CoRevokeClassObject]
mov eax, esi
pop edi

Function at 0x53795f
Capabilities:
Encode data using xor

Disassembly:
fbld tbyte [edx + ebp + 0x695034c]
or eax, 0xc9d0138f
mov bh, 0x59
or ah, byte [ebx + 0x29]
pop ebx
push 0x6e1e9dc5
bound ecx, qword [esi - 0x6e1dd68e]
out 0x30, al
dec esp
clc
aad 0xc7
inc eax
rcl cl, cl
jle 0x537999
invalid
lodsb al, byte [esi]
ret 0xddf2

Function at 0x65785d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x65f398
cmp edx, dword [eax]
je 0x65787f
add eax, 8
inc ecx
cmp eax, 0x65f428
jl 0x657870
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x65f398]
jne 0x6579ad
mov eax, dword [0xa5bcf4]
cmp eax, 1
je 0x657987
test eax, eax
jne 0x6578b0
cmp dword [0x65f2c4], 1
je 0x657987
cmp edx, 0xfc
je 0x6579ad
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x6578e7
lea eax, [ebp - 0x1a4]
push 0x65c9b0
push eax
call fcn.00658240
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.006586d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x65792a
lea eax, [ebp - 0x1a4]
push eax
call fcn.006586d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65c9ac
push edi
call fcn.0065a5a0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65c990
push eax
call fcn.00658240
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00658250
lea eax, [ebp - 0xa0]
push 0x65c98c
push eax
call fcn.00658250
push dword [esi + 0x65f39c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00658250
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65c964
push eax
call fcn.0065a514
add esp, 0x2c
pop edi
jmp 0x6579ad
lea eax, [ebp + 8]
lea esi, [esi + 0x65f39c]
push 0
push eax
push dword [esi]
call fcn.006586d0
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]
pop esi
leave
ret

Function at 0xc80e53
Capabilities:
Encode data using xor

Disassembly:
sbb esi, dword [edi + eax + 0xf2b083f]
imul edi, dword [esi - 0xa09ce63], 0x51c51e42
invalid
loope 0xc80de4
or eax, 0xe84855cc
mov byte [0xfe15f2ec], al
inc ecx
invalid
je 0xc80e12
add ecx, edx
and eax, dword [edx]
mov dword [ebp + 0x4f], esi
shr ecx, cl
mov edx, 0x740dc87d
xchg edi, eax
into
mov eax, dword [0xaa23c1aa]
cmc
inc ebx
imul ebx, eax, 0xffffff90
push esi
xchg edx, eax
pop edx
xchg esi, eax
and ebx, esi
lcall 0x5aa8, 0xb0a343e3
invalid
Function at 0x56d7b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x110000]
push edi
jmp 0x56d7ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x56d7d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56d7c0
mov eax, 1
add ebx, ebx
jne 0x56d7e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x56d7f4
jne 0x56d813
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56d813
dec eax
add ebx, ebx
jne 0x56d800
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x56d7d8
add ebx, ebx
jne 0x56d80f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x56d865
xor ecx, ecx
sub eax, 3
jb 0x56d82b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x56d89a
sar eax, 1
mov ebp, eax
jmp 0x56d836
add ebx, ebx
jne 0x56d836
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56d804
inc ecx
add ebx, ebx
jne 0x56d844
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56d804
add ebx, ebx
jne 0x56d851
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x56d846
jne 0x56d862
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x56d846
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x56d884
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x56d876
jmp 0x56d7c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x56d884
add edi, ecx
jmp 0x56d7c6
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x56d8a2
cmp byte [edi], 0x11
jne 0x56d8a2
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 al, bl
loop 0x56d8a7
lea edi, [esi + 0x166000]
mov eax, dword [edi]
or eax, eax
je 0x56d91f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1f58d0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1f5a4c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x56d8d4
mov ecx, edi
jns 0x56d903
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 + 0x1f5a50]
or eax, eax
je 0x56d919
mov dword [ebx], eax
add ebx, 4
jmp 0x56d8f1
call dword [esi + 0x1f5a60]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x56d950
cmp al, 0xef
ja 0x56d943
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x56d925
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x56d932
mov ebp, dword [esi + 0x1f5a54]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x56d984
sub esp, 0xffffff80
jmp 0x420577
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x3dd15bc9
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x3fbe0cd1
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x100021e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [0x1003f8a0]
mov dword [ebp - 4], esi
test esi, esi
je 0x1000225c
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10006c70
mov eax, dword [ebp - 8]
mov ecx, dword [0x1003fc10]
cmp byte [eax + 0xd], 0
jne 0x10002215
cmp esi, dword [eax + 0x10]
jae 0x10002217
mov eax, ecx
cmp eax, ecx
jne 0x1000225c
cmp dword [0x1003fc14], 4
je 0x1000225c
push 0
push 0
push 0x1003fca4
push 0x10002000
push 0
push 0
mov dword [0x1003fca4], esi
mov dword [0x1003fca8], 0x10002650
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10004eb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10034ff5
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x1003f040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub dword [ebp + 0xc], 1
jne 0x10004fc3
mov esi, dword [ebp + 8]
push esi
mov dword [0x1003f8a4], esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0xfe5
push 0x1003f8b0
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, 0x1003f8b0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004f10
sub ecx, edx
test ecx, ecx
jle 0x10004f2e
nop dword [eax]
cmp byte [ecx + 0x1003f8b0], 0x5c
je 0x10004f9f
dec ecx
test ecx, ecx
jg 0x10004f20
push 0
push 0
push 0
push 0x10004ab0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 4
call fcn.10033d53
mov dword [ebp + 0xc], eax
mov dword [eax], 0x10004d40
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x10006e00
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10004fb4
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10004f97
push ecx
push eax
call dword [sym.imp.MSVCP140.dll__Thrd_detach]
add esp, 8
test eax, eax
je 0x10004fc3
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
inc ecx
cmp ecx, 0x140
jae 0x10004fda
mov byte [ecx + 0x1003f8b0], 0
jmp 0x10004f2e
push 6
mov dword [ebp - 0x10], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
call fcn.10033c76
int3
Function at 0x10005350
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x1000537c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x100053a4
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x100053aa
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x10005434
jg 0x100053c1
test esi, esi
je 0x10005434
test ecx, ecx
jl 0x10005417
jg 0x100053cb
test eax, eax
je 0x10005417
cmp edi, ecx
jg 0x100053df
jl 0x100053d5
cmp esi, eax
jae 0x100053df
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
add edx, ecx
sub esi, ecx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
test edi, edi
jl 0x10005434
jg 0x1000541a
test esi, esi
je 0x10005434
jmp 0x1000541a
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x10005434
push eax
push esi
push 1
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc