joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406d50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x108]
sub esp, 0x108
push 0xffffffffffffffff
push 0x437740
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4493b4]
xor eax, ebp
mov dword [ebp + 0x104], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x2c], 1
push 0x104
push edi
lea eax, [ebp]
push eax
call fcn.00423cc0
add esp, 0xc
mov dword [ebp - 4], edi
wait
cmp ebx, edi
jne 0x406dcc
mov dword [ebp - 0x28], 0x57
push 0x444850
lea ecx, [ebp - 0x28]
push ecx
call fcn.004244c5
lea edx, [ebp - 0x1c]
push edx
push 0x20019
push edi
push str.SoftwareMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x406dfe
mov dword [ebp - 0x20], eax
push 0x444850
lea eax, [ebp - 0x20]
push eax
call fcn.004244c5
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp]
push edx
lea eax, [ebp - 0x2c]
push eax
push edi
push str.Version
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, edi
je 0x406e3b
mov dword [ebp - 0x24], esi
push 0x444850
lea edx, [ebp - 0x24]
push edx
call fcn.004244c5
lea eax, [ebp]
push eax
call fcn.00422685
add esp, 4
fstp qword [ebx]
wait
mov dword [ebp - 4], 0xffffffff
jmp 0x406e7d
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.00422383
add ebp, 0x108
mov esp, ebp
pop ebp
ret

Function at 0x4070d0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438050
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x4493b4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x134], esi
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x124], esi
mov dword [ebp - 4], esi
push 0x100
push esi
lea eax, [ebp - 0x118]
push eax
call fcn.00423cc0
add esp, 0xc
lea ecx, [ebp - 0x118]
call fcn.00407210
lea ecx, [ebp - 0x128]
push ecx
lea edx, [ebp - 0x138]
push edx
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x407198
push esi
push 0x400
mov edx, dword [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x128]
push eax
call fcn.00426620
push esi
push 0x400
push edx
push eax
call fcn.00426620
jmp 0x40719a
xor eax, eax
mov dword [ebp - 0x11c], eax
push eax
push str.Get_Disk_Free_Space___d
mov ecx, 0x44d258
call fcn.00404e20
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00422383
mov esp, ebp
pop ebp
ret
Function at 0x407210
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x108]
sub esp, 0x108
push 0xffffffffffffffff
push 0x438028
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4493b4]
xor eax, ebp
mov dword [ebp + 0x104], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x14], edi
push 0x43e748
lea ecx, [ebp - 0x1c]
call fcn.00402f70
mov dword [ebp - 4], edi
push 0x43e748
lea ecx, [ebp - 0x18]
call fcn.00402f70
mov byte [ebp - 4], 1
push 0x104
push edi
lea eax, [ebp]
push eax
call fcn.00423cc0
add esp, 0xc
mov ebx, 2
mov byte [ebp - 4], bl
cmp esi, edi
je 0x407375
push 0x104
lea ecx, [ebp]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x4072c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x28], eax
push 0x444850
lea edx, [ebp - 0x28]
push edx
call fcn.004244c5
lea eax, [ebp]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4072c6
sub eax, edx
jne 0x4072e8
mov dword [ebp - 0x24], 0xc
push 0x4448b8
lea eax, [ebp - 0x24]
push eax
call fcn.004244c5
lea ecx, [ebp]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00403290
push ebx
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x18]
call fcn.00402a70
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x1c]
call fcn.004074c0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.00402f10
mov eax, dword [ebp - 0x1c]
push eax
push 0x100
push esi
call fcn.00422999
add esp, 0xc
mov dword [ebp - 4], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00402f10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00402f10
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.00422383
add ebp, 0x108
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x2c], 0x57
push 0x4448b8
lea ecx, [ebp - 0x2c]
push ecx
call fcn.004244c5
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 1
mov eax, 0x40739d
ret

Function at 0x40c9bd
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 0x40ca00
call fcn.00411edb
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40ca00
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40ca1b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0040c574
test ebx, ebx
mov esi, eax
je 0x40ca19
test edi, edi
je 0x40ca19
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x40d1be
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x43673c
call fcn.00424134
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.00411edb
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x40d209
call fcn.00411edb
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x40d21a
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x40d227
or eax, 0xffffffff
jmp 0x40d383
mov ecx, esi
call fcn.0040ccee
mov dword [ebp - 0x14], eax
call fcn.00409e30
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x40d2a5
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x40d2a5
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x40d2a5
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.004089cc
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x40d2a5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x40d2a5
mov ecx, ebx
call fcn.0040d648
test eax, eax
je 0x40d2a5
push 0
mov ecx, ebx
call fcn.0040d663
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.0040b87b
push dword [ebp - 0x14]
call fcn.00409d88
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0040cfc6
xor edi, edi
cmp eax, edi
je 0x40d302
test byte [esi + 0x3c], 0x10
je 0x40d2ec
push 4
pop edi
mov ecx, esi
call fcn.0040d52f
test ax, 0x100
je 0x40d2e2
push 5
pop edi
push edi
mov ecx, esi
call fcn.004098f9
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x40d302
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0040d832
or dword [ebp - 4], 0xffffffff
jmp 0x40d32d
cmp dword [ebp - 0x28], edi
je 0x40d33b
push 1
mov ecx, ebx
call fcn.0040d663
cmp dword [ebp - 0x2c], edi
je 0x40d34b
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x40d364
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x40d364
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0040cd28
cmp dword [esi + 0x58], edi
je 0x40d380
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.004241d9
ret
Function at 0x40fdd9
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4493b4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0x11c]
jne 0x40fe19
push 0x43a978
push 4
push eax
call fcn.00422999
push eax
call fcn.00406180
add esp, 0x10
jmp 0x40fe2b
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x40fe99
push edi
call fcn.0042454a
mov edi, dword [eax]
call fcn.0042454a
and dword [eax], 0
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.0042291f
add esp, 0x18
mov ebx, eax
call fcn.0042454a
cmp dword [eax], 0
je 0x40fe79
call fcn.0042454a
push dword [eax]
call fcn.00407694
pop ecx
jmp 0x40fe80
call fcn.0042454a
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x40fe99
cmp ebx, esi
jae 0x40fe99
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x40fe9b
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00422383
leave
ret
Function at 0x410ab1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x410af7
call fcn.00411edb
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x410af7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x410b3a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x410b23
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x410b23
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x410b37
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x422383
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4493b4]
jne 0x42238d
repz ret
jmp fcn.00427401
Function at 0x42bb6d
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x449cb8]
je 0x42bb88
inc edi
cmp edi, 0x17
jb 0x42bb79
cmp edi, 0x17
jae 0x42bd08
push ebp
push 3
call fcn.0043281f
cmp eax, 1
pop ecx
je 0x42bcd4
push 3
call fcn.0043281f
test eax, eax
pop ecx
jne 0x42bbbc
cmp dword [0x4493b0], 1
je 0x42bcd4
cmp ebx, 0xfc
je 0x42bd07
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x44cc50
push ebp
call fcn.00422999
add esp, 0xc
test eax, eax
je 0x42bbf2
push esi
push esi
push esi
push esi
push esi
call fcn.0042797f
add esp, 0x14
push 0x104
mov esi, 0x44cc69
push esi
push 0
mov byte [0x44cd6d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42bc36
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00422999
add esp, 0xc
test eax, eax
je 0x42bc36
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0042797f
add esp, 0x14
push esi
call fcn.00424410
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x42bc7b
push esi
call fcn.00424410
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x44cf64
push 0x43cac4
sub ecx, eax
push ecx
push eax
call fcn.00422aea
add esp, 0x14
test eax, eax
je 0x42bc7b
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0042797f
add esp, 0x14
jmp 0x42bc7d
xor esi, esi
push 0x43cac0
push ebx
push ebp
call fcn.00422b9d
add esp, 0xc
test eax, eax
je 0x42bc9d
push esi
push esi
push esi
push esi
push esi
call fcn.0042797f
add esp, 0x14
push dword [edi*8 + 0x449cbc]
push ebx
push ebp
call fcn.00422b9d
add esp, 0xc
test eax, eax
je 0x42bcbf
push esi
push esi
push esi
push esi
push esi
call fcn.0042797f
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00432662
add esp, 0xc
jmp 0x42bd07
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x42bd07
cmp ebp, 0xffffffff
je 0x42bd07
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x449cbc]
push dword [esi]
call fcn.00424410
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x432662
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0042853c
xor ebx, ebx
cmp dword [0x44d1ac], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x432738
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x432818
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x43dc58
push edi
call esi
cmp eax, ebx
je 0x432818
push eax
call fcn.004284ce
mov dword [esp], 0x43dc48
push edi
mov dword [0x44d1ac], eax
call esi
push eax
call fcn.004284ce
mov dword [esp], 0x43dc34
push edi
mov dword [0x44d1b0], eax
call esi
push eax
call fcn.004284ce
mov dword [0x44d1b4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00425f15
test eax, eax
pop ecx
pop ecx
je 0x432706
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042797f
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x432738
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004284ce
cmp eax, ebx
pop ecx
mov dword [0x44d1bc], eax
je 0x432738
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004284ce
pop ecx
mov dword [0x44d1b8], eax
mov eax, dword [0x44d1b8]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4327bd
cmp dword [0x44d1bc], ecx
je 0x4327bd
push eax
call fcn.00428545
push dword [0x44d1bc]
mov esi, eax
call fcn.00428545
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4327bd
cmp edi, ebx
je 0x4327bd
call esi
cmp eax, ebx
je 0x43278a
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43278a
test byte [ebp - 0x18], 1
jne 0x4327bd
lea eax, [ebp - 0x10]
push eax
call fcn.00425f4c
test eax, eax
pop ecx
je 0x4327a5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042797f
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4327b4
or dword [ebp + 0x10], 0x200000
jmp 0x4327f8
or dword [ebp + 0x10], 0x40000
jmp 0x4327f8
mov eax, dword [0x44d1b0]
cmp eax, dword [ebp - 8]
je 0x4327f8
push eax
call fcn.00428545
cmp eax, ebx
pop ecx
je 0x4327f8
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4327f8
mov eax, dword [0x44d1b4]
cmp eax, dword [ebp - 8]
je 0x4327f8
push eax
call fcn.00428545
cmp eax, ebx
pop ecx
je 0x4327f8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44d1ac]
call fcn.00428545
cmp eax, ebx
pop ecx
je 0x432818
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43281a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x436108
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4493b4]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0043609d
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.00423cc0
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 0x436157
cmp dword [ebp - 0x1c], 5
jb 0x43616f
jmp 0x43616b
cmp dword [ebp - 0x10], 1
jne 0x43616f
cmp dword [ebp - 0x1c], 4
ja 0x43616b
jne 0x43616f
cmp dword [ebp - 0x18], 0
jbe 0x43616f
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x43e4fc
call fcn.00435f8e
test eax, eax
jge 0x436190
mov byte [0x44d44c], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00422383
add ebp, 0x78
leave
ret
Function at 0x10004810
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, 0x55555556
imul ecx
push esi
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, dword [ebp + 0xc]
lea eax, [esi + esi*2]
sub ecx, eax
push edi
mov eax, ecx
mov ecx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], eax
test esi, esi
jle 0x100048c2
lea eax, [esi*4]
mov dword [ebp + 8], esi
mov dword [ebp - 8], eax
push ebx
mov edi, edi
mov bl, byte [edx]
movzx eax, byte [edx + 1]
movzx esi, bl
mov byte [ebp + 0xf], al
mov al, byte [edx + 2]
mov edi, esi
shr edi, 2
movzx ebx, byte [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx edi, byte [ebp + 0xf]
mov byte [ecx], bl
mov ebx, edi
shr ebx, 4
shl esi, 4
or ebx, esi
movzx esi, al
mov eax, esi
shr eax, 6
add edi, edi
and ebx, 0x3f
movzx ebx, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
add edi, edi
or eax, edi
mov byte [ecx + 1], bl
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 2], al
and esi, 0x3f
movzx eax, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 3], al
add edx, 3
add ecx, 4
dec dword [ebp + 8]
jne 0x10004850
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 8]
pop ebx
cmp eax, 1
jne 0x100048f5
movzx edx, byte [edx]
mov eax, edx
shr eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and edx, 3
mov byte [ecx], al
shl edx, 4
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
lea eax, [edi + 4]
pop edi
mov byte [ecx + 1], dl
mov word [ecx + 2], 0x3d3d
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x10004945
mov al, byte [edx]
mov dl, byte [edx + 1]
movzx esi, al
mov eax, esi
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
movzx edx, dl
mov eax, edx
shr eax, 4
shl esi, 4
or eax, esi
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
and edx, 0xf
movzx edx, byte [edx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
lea eax, [edi + 4]
pop edi
mov byte [ecx + 2], dl
mov byte [ecx + 3], 0x3d
pop esi
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10009fb0
Capabilities:
Create thread

Disassembly:
push ecx
push 0
push 0
push 0x10093d10
push 0x10009eb0
push 0
push 0
call fcn.100518d6
add esp, 0x18
mov dword [0x10093d44], eax
test eax, eax
jne 0x1000a018
call fcn.1001ef30
push edx
call fcn.10263fb3
push eax
push 0
push 0x1fffff
call fcn.1015c6d1
mov ebp, 0x1074c085
push 0
push eax
push edi
call fcn.1009d441
push 0
call fcn.1005266b
call fcn.100dff73
sub dword [edx], 0x50
call fcn.101ded9c
jmp 0x25ffa07e
pop ecx
ret
Function at 0x1001a980
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e3b8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1008dc90]
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
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x1001aaa1
cmp byte [edi + 0x49], bl
je 0x1001aaa1
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x1001aa95
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x1001a9f5
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x1001aa0d
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x1001aa36
dec eax
je 0x1001aa3a
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x1001aa90
jmp 0x1001aa9c
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x1001aa4a
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x1001aa73
cmp ebx, 0x10
jae 0x1001aa59
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.100510ee
add esp, 0x10
cmp esi, eax
jne 0x1001aa8d
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x1001aa99
test esi, esi
jne 0x1001aa01
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.10019810
jmp 0x1001a9fb
lea ecx, [ebp - 0x2c]
call fcn.10006150
xor al, al
jmp 0x1001aaa3
lea ecx, [ebp - 0x2c]
call fcn.10006150
mov al, 1
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.1004fcc3
mov esp, ebp
pop ebp
ret

Function at 0x1001f5f0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
push esi
mov esi, dword [eax + 0x104]
push edi
mov edi, ecx
mov ecx, dword [eax + 0x100]
jbe 0x1001f651
sub edx, edi
mov dword [ebp - 4], edx
push ebx
inc ecx
and ecx, 0xff
mov dl, byte [ecx + eax]
movzx ebx, dl
add esi, ebx
and esi, 0xff
mov bl, byte [esi + eax]
mov byte [ecx + eax], bl
mov byte [esi + eax], dl
movzx ebx, byte [ecx + eax]
movzx edx, dl
add ebx, edx
and ebx, 0xff
movzx edx, byte [ebx + eax]
mov ebx, dword [ebp - 4]
xor dl, byte [ebx + edi]
inc edi
dec dword [ebp + 8]
mov byte [edi - 1], dl
jne 0x1001f610
pop ebx
pop edi
mov dword [eax + 0x104], esi
mov dword [eax + 0x100], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10026c4c
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, eax
test esi, esi
je 0x10026c9c
mov eax, dword [edx + 8]
add eax, 4
cmp ecx, eax
jb 0x10026c9c
xor eax, eax
test ecx, ecx
je 0x10026c3f
mov byte [eax + esi], al
inc eax
cmp eax, ecx
jb 0x10026c37
mov eax, dword [edx + 0x18]
cmp byte [eax], 0
je 0x10026c95
test ecx, ecx
je 0x10026c95
push ebx
push edi
mov edi, ecx
nop
mov ecx, dword [eax + 0xc]
inc ecx
and ecx, 0xff
mov dword [eax + 0xc], ecx
mov ecx, dword [eax + ecx*4 + 0x14]
mov edx, dword [eax + 0x10]
add edx, ecx
and edx, 0xff
mov dword [eax + 0x10], edx
mov edx, dword [eax + edx*4 + 0x14]
mov ebx, dword [eax + 0xc]
mov dword [eax + ebx*4 + 0x14], edx
mov ebx, dword [eax + 0x10]
add edx, ecx
and edx, 0xff
mov dword [eax + ebx*4 + 0x14], ecx
mov cl, byte [eax + edx*4 + 0x14]
xor byte [esi], cl
inc esi
dec edi
jne 0x10026c50
pop edi
pop ebx
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret