joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402e50
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [esp + 0x30]
push esi
mov esi, ecx
push edi
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0xc]
push 0x66
push ebx
rep stosd dword es:[edi], eax
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x14], 0x823
mov dword [esp + 0x18], 0x4030c0
mov dword [esp + 0x20], 4
mov dword [esp + 0x24], ebx
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x10]
test eax, eax
je 0x402ec5
jle 0x402eb2
xor eax, eax
mov ax, word [esi + 0x10]
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [esp + 0x24], eax
jmp 0x402ecd
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [esp + 0x24], eax
jmp 0x402ecd
mov dword [esp + 0x24], 0
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ecx, dword [esi + 4]
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ecx
call fcn.00402d30
add esp, 4
test ax, ax
jne 0x402efd
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x28
ret 4
mov ecx, dword [esi + 0x14]
mov dl, byte [esi + 0x18]
mov eax, ecx
neg eax
sbb eax, eax
and eax, 0xfffc0080
add eax, 0x40000
test dl, dl
je 0x402f19
or al, 0x20
test ecx, ecx
mov edx, 0x80000000
jne 0x402f27
mov edx, 0x80ca0000
cmp byte [esi + 0x19], 0
je 0x402f33
and edx, 0xefffffff
test ecx, ecx
je 0x402f3c
mov ecx, dword [ecx + 0x20]
jmp 0x402f3e
xor ecx, ecx
push 0
push ebx
push 0
push ecx
mov ecx, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 8]
push ecx
mov ecx, dword [esp + 0x48]
push 0
push 0
push edx
push ecx
push ecx
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
test eax, eax
mov dword [esi + 0x20], eax
jne 0x402f70
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x28
ret 4
push esi
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [esi + 0x20]
push 0x27
push 0
push 0
push 0
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
test al, al
jne 0x402fba
mov esi, dword [esi + 0x20]
test esi, esi
je 0x402faf
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x28
ret 4
mov al, byte [esi + 0x19]
test al, al
jne 0x402ff0
mov ecx, dword [esi + 0x20]
push 1
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x20]
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x28
ret 4
mov ecx, dword [esi + 0x20]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x28
ret 4
Function at 0x405871
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40d1f0
cmp edx, dword [eax]
je 0x405893
add eax, 8
inc ecx
cmp eax, 0x40d280
jl 0x405884
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40d1f0]
jne 0x4059c1
mov eax, dword [0x40daf4]
cmp eax, 1
je 0x40599b
test eax, eax
jne 0x4058c4
cmp dword [0x40d130], 1
je 0x40599b
cmp edx, 0xfc
je 0x4059c1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4058fb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00406060
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00406690
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40593e
lea eax, [ebp - 0x1a4]
push eax
call fcn.00406690
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40ba04
push edi
call fcn.004078b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00406060
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00406070
lea eax, [ebp - 0xa0]
push 0x40b9e4
push eax
call fcn.00406070
push dword [esi + 0x40d1f4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00406070
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00407825
add esp, 0x2c
pop edi
jmp 0x4059c1
lea eax, [ebp + 8]
lea esi, [esi + 0x40d1f4]
push 0
push eax
push dword [esi]
call fcn.00406690
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 0x401120
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push 0
push 0
mov dword [esp + 0xc], 0
push dword [esi]
call fcn.0040a069
push dword [esi]
lea eax, [esp + 0x1c]
push 2
push 1
push eax
call fcn.00409c7e
mov ax, word [esp + 0x28]
add esp, 0x1c
cmp al, 0x4d
jne 0x4011f2
cmp ah, 0x5a
jne 0x4011f2
push 0
push 0x3c
push dword [esi]
call fcn.0040a069
push dword [esi]
lea eax, [esp + 0x14]
push 1
push 4
push eax
call fcn.00409c7e
mov eax, dword [esp + 0x20]
push 0
add eax, 0x18
push eax
push dword [esi]
call fcn.0040a069
push dword [esi]
lea eax, [esp + 0x38]
push 1
push 2
push eax
call fcn.00409c7e
mov ax, word [esp + 0x44]
add esp, 0x38
cmp al, 0xb
jne 0x4011f2
cmp ah, 1
jne 0x4011b6
mov ecx, 0x98
jmp 0x4011c0
cmp ah, 2
jne 0x4011f2
mov ecx, 0xa8
mov eax, dword [esp + 4]
push 0
add eax, ecx
push eax
push dword [esi]
call fcn.0040a069
push dword [esi]
lea eax, [esp + 0x14]
push 1
push 4
push eax
call fcn.00409c7e
mov eax, dword [esp + 0x20]
add esp, 0x1c
or ecx, 0xffffffff
test eax, eax
cmove eax, ecx
pop esi
pop ecx
ret
or eax, 0xffffffff
pop esi
pop ecx
ret

Function at 0x401220
Capabilities:
Read file on windows

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi], 0
jne 0x401252
lea eax, [edi + 0x68]
push 0x420200
push eax
call fcn.00402900
add esp, 8
mov dword [edi], eax
test eax, eax
jne 0x401252
push 0x420270
call fcn.00401a80
add esp, 4
xor eax, eax
pop edi
ret
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push 0
push dword [ebp + 4]
call fcn.0040775a
add eax, dword [edi + 4]
push eax
push dword [edi]
call fcn.0040a069
add esp, 0xc
push dword [ebp + 8]
call fcn.0040775a
push eax
call fcn.0040995b
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x40129a
push 0x42028c
call fcn.00401a80
add esp, 4
xor eax, eax
pop ebp
pop ebx
pop edi
ret
push dword [edi]
push 1
push dword [ebp + 8]
call fcn.0040775a
push eax
push ebx
call fcn.00409c7e
add esp, 0x10
cmp eax, 1
jae 0x4012ce
push 0x4202ac
call fcn.00401a80
push ebx
call fcn.00409956
add esp, 8
xor eax, eax
pop ebp
pop ebx
pop edi
ret
cmp byte [ebp + 0x10], 1
jne 0x401305
push esi
push ebp
push ebx
call fcn.00401030
push ebx
mov esi, eax
call fcn.00409956
add esp, 0xc
mov ebx, esi
test esi, esi
pop esi
jne 0x401305
lea eax, [ebp + 0x12]
push eax
push 0x4202c8
call fcn.00401a80
add esp, 8
xor eax, eax
pop ebp
pop ebx
pop edi
ret
mov eax, dword [edi]
test eax, eax
je 0x40131a
push eax
call fcn.004099dc
add esp, 4
mov dword [edi], 0
pop ebp
mov eax, ebx
pop ebx
pop edi
ret
Function at 0x401320
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
push ebp
push esi
call fcn.00401220
push esi
mov ebx, eax
call fcn.00403b80
add esp, 0xc
cmp eax, 0xffffffff
jne 0x401348
pop esi
pop ebp
or eax, eax
pop ebx
ret
push edi
lea edi, [ebp + 0x12]
lea eax, [esi + 0x2068]
push edi
push eax
call fcn.00403e70
add esp, 8
mov esi, eax
push dword [ebp + 0xc]
call fcn.0040775a
mov ebp, eax
test esi, esi
jne 0x401387
push edi
push 0x4202e0
push 0x4202fc
call fcn.004017f0
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
push 1
push ebp
push ebx
call fcn.0040a81e
add esp, 0x10
cmp eax, 1
je 0x4013b8
test ebp, ebp
je 0x4013b8
push edi
push 0x420304
push 0x420328
call fcn.004017f0
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call fcn.004099dc
push ebx
call fcn.00409956
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4013d0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x64
mov eax, dword [0x42c008]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
mov ebx, dword [esp + 0x70]
push esi
push edi
mov edi, dword [esp + 0x74]
lea esi, [esp + 0x14]
push 0
add ebx, 0xffffffa0
push ebx
push dword [edi]
call fcn.0040a069
add esp, 0xc
test eax, eax
jne 0x40143d
push dword [edi]
lea eax, [esp + 0x10]
push 1
push 0x60
push eax
call fcn.00409c7e
add esp, 0x10
cmp eax, 1
jb 0x40143d
nop dword [eax]
push 8
push esi
push 0x420330
call fcn.00409600
add esp, 0xc
test eax, eax
je 0x401452
dec esi
lea eax, [esp + 0xc]
cmp esi, eax
jae 0x401420
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00407760
add esp, 0x64
ret
movups xmm0, xmmword [esi]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [edi + 0x20], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [edi + 0x30], xmm0
movups xmm0, xmmword [esi + 0x30]
movups xmmword [edi + 0x40], xmm0
movups xmm0, xmmword [esi + 0x40]
movups xmmword [edi + 0x50], xmm0
movq xmm0, qword [esi + 0x50]
movq qword [edi + 0x60], xmm0
push dword [edi + 0x18]
call fcn.0040775a
lea ecx, [esp + 0xc]
sub esi, ecx
mov ecx, dword [esp + 0x6c]
add esi, ebx
sub esi, eax
xor eax, eax
add esi, 0x58
mov dword [edi + 4], esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00407760
add esp, 0x64
ret
Function at 0x401560
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi], 0
jne 0x401585
lea eax, [esi + 0x68]
push 0x420200
push eax
call fcn.00402900
add esp, 8
mov dword [esi], eax
test eax, eax
je 0x401610
push esi
call fcn.00401120
add esp, 4
cmp eax, 1
jge 0x4015a8
push 2
push 0
push dword [esi]
call fcn.0040a069
push dword [esi]
call fcn.0040a5db
add esp, 0x10
push eax
push esi
call fcn.004013d0
add esp, 8
cmp eax, 0xffffffff
je 0x401610
push dword [esi + 0x24]
mov dword [esi + 0x406c], 0
call fcn.0040775a
push 0
mov dword [0x42c954], eax
push dword [esi + 0x1c]
call fcn.0040775a
add eax, dword [esi + 4]
push eax
push dword [esi]
call fcn.0040a069
add esp, 0xc
push dword [esi + 0x20]
call fcn.0040775a
push eax
call fcn.0040995b
add esp, 4
mov dword [esi + 8], eax
test eax, eax
jne 0x401615
push 0x42033c
push 0x420360
call fcn.004017f0
add esp, 8
or eax, 0xffffffff
pop esi
ret
push dword [esi]
push 1
push dword [esi + 0x20]
call fcn.0040775a
push eax
push dword [esi + 8]
call fcn.00409c7e
add esp, 0x10
cmp eax, 1
jae 0x401649
push 0x420368
push 0x420384
call fcn.004017f0
add esp, 8
or eax, 0xffffffff
pop esi
ret
push dword [esi + 0x20]
call fcn.0040775a
add eax, dword [esi + 8]
push dword [esi]
mov dword [esi + 0xc], eax
call fcn.00409a87
add esp, 4
test eax, eax
je 0x401677
push 0x42038c
call fcn.00401a10
add esp, 4
or eax, 0xffffffff
pop esi
ret
push esi
call fcn.00401200
add esp, 4
xor eax, eax
pop esi
ret

Function at 0x403a50
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x1004
call fcn.00407780
mov eax, dword [0x42c008]
xor eax, esp
mov dword [esp + 0x1000], eax
mov eax, dword [esp + 0x1008]
push ebx
push esi
mov esi, dword [esp + 0x1018]
push edi
mov edi, dword [esp + 0x1018]
push 0x420200
push eax
call fcn.00402900
push esi
push edi
mov ebx, eax
call fcn.00403e70
add esp, 0x10
xor edi, edi
mov esi, eax
test ebx, ebx
je 0x403b4c
push ebx
test esi, esi
je 0x403b51
call fcn.00409a5c
add esp, 4
test eax, eax
jne 0x403b23
push ebx
push 1
lea eax, [esp + 0x14]
push 0x1000
push eax
call fcn.00409c7e
add esp, 0x10
cmp eax, 0xffffffff
jne 0x403ae2
push ebx
call fcn.00409a87
add esp, 4
test eax, eax
je 0x403b08
push ebx
jmp 0x403b18
push esi
push 1
lea eax, [esp + 0x14]
push 0x1000
push eax
call fcn.0040a81e
add esp, 0x10
test eax, eax
jle 0x403b17
push esi
call fcn.00409a87
add esp, 4
test eax, eax
jne 0x403b17
push ebx
call fcn.00409a5c
add esp, 4
test eax, eax
je 0x403ab8
jmp 0x403b23
push esi
call fcn.0040f4a7
add esp, 4
or edi, 0xffffffff
push ebx
call fcn.004099dc
push esi
call fcn.004099dc
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.00407760
add esp, 0x1004
ret
test esi, esi
je 0x403b59
push esi
call fcn.004099dc
add esp, 4
mov ecx, dword [esp + 0x100c]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00407760
add esp, 0x1004
ret
Function at 0x403e70
Capabilities:
Create directory

Disassembly:
mov eax, 0x4034
call fcn.00407780
mov eax, dword [0x42c008]
xor eax, esp
mov dword [esp + 0x4030], eax
mov eax, dword [esp + 0x4038]
push esi
mov esi, dword [esp + 0x4040]
push 0x1000
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0040cbe0
push 0x1000
lea eax, [esp + 0x1044]
push esi
push eax
call fcn.0040cbe0
add esp, 0x18
cmp byte [esp + 0x1033], 0
jne 0x40403a
cmp byte [esp + 0x2033], 0
jne 0x40403a
push ebp
lea ebp, [esp + 0x38]
lea ecx, [ebp + 1]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x403ee1
push ebx
push edi
lea eax, [esp + 0x1040]
sub ebp, ecx
push 0x42042c
push eax
call fcn.0040cd0a
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x403fe4
nop dword [eax]
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403f15
sub ecx, edx
inc ebp
add ebp, ecx
cmp ebp, 0xfff
jae 0x403fc9
lea edi, [esp + 0x40]
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x403f32
mov ax, word [0x42042c]
mov esi, ebx
mov word [edi], ax
mov al, byte [ebx]
inc ebx
test al, al
jne 0x403f47
lea edi, [esp + 0x40]
sub ebx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403f55
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
push 0x42042c
rep movsb byte es:[edi], byte [esi]
push 0
call fcn.0040cd0a
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x403fe4
push 0x1000
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x2048]
push eax
call fcn.00404bc0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x2050]
push eax
call fcn.0040d573
add esp, 0x14
test eax, eax
jns 0x403f10
lea eax, [esp + 0x2040]
push eax
call fcn.0040e371
add esp, 4
jmp 0x403f10
xor eax, eax
pop edi
pop ebx
pop ebp
pop esi
mov ecx, dword [esp + 0x4030]
xor ecx, esp
call fcn.00407760
add esp, 0x4034
ret
push 0x1000
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x2048]
push eax
call fcn.00404bc0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x2050]
push eax
call fcn.0040d573
add esp, 0x14
test eax, eax
jne 0x404026
lea eax, [esp + 0x40]
push eax
push 0x4215c4
call fcn.00401a80
add esp, 8
lea eax, [esp + 0x40]
push 0x4215f8
push eax
call fcn.00402900
add esp, 8
jmp 0x403fcb
mov ecx, dword [esp + 0x4034]
xor eax, eax
pop esi
xor ecx, esp
call fcn.00407760
add esp, 0x4034
ret
Function at 0x45c0d0
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 0x45c0fe
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x45c11c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0045c03a
jmp 0x45c11c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45c11c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0045c03a
test edi, edi
mov eax, edi
jne 0x45c106
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x49453c]
test ecx, ecx
je 0x45c1cf
jmp 0x45c0cf
ret 8

Function at 0x4678f2
Capabilities:
Encode data using xor

Disassembly:
adc al, 0xdf
int1
retf
inc edx
cwde
sub al, 0xf7
adc byte [ebx], cl
push es
inc edi
dec eax
lcall 0xd82a, 0x1f44ebad
test eax, 0x1a0141d0
add dword [ebx - 0x3b0e93b3], ebx
or eax, eax
cmp ch, byte [edi + 0x5a]
dec byte [edi - 0x5d]
invalid
jge 0x46788c
out dx, al
mov cl, 0xbd
test al, 0xa9
call 0xe8480792
cmp byte [ecx*4 + 0x32cff234], cl
xchg edi, eax
sbb eax, 0x3a37784f
mov dword [edx], esp
jnp 0x46789e
lcall 0x28e6, 0x31a8d1d7
lea ecx, [esi + 0x291d1e48]
sbb bh, byte [ebp - 0x127820c8]
xor esi, esp
sub byte [ebp + 0x1d1e488e], cl
sub dword [edx], ebx
mov ebp, 0xed87df38
movsb byte es:[edi], byte [esi]
stosd dword es:[edi], eax
push edi
xchg esi, eax
sub edx, ebx
jbe 0x467900
jl 0x4678df
xor byte [esi], bl
cli
imul ebp, dword [ebx], 0x6f
xor al, 0x11
adc al, byte [esi - 0x50]
imul edx, edi, 0x23
call [edi + 0x2e644827]
jmp 0x8384b6e4

Function at 0x432000
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
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x2f624f0a
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..tls
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x7b2557c0
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
mov ecx, 0x614e34d4
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
mov ecx, 0x10fc71c0
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x402730
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
push ebx
cmovae eax, dword [ebp + 0x20]
push esi
push edi
push dword [ebp + 0x30]
mov dword [ebp - 4], ecx
mov ecx, 0x440070
push eax
call fcn.00414b30
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x43fa28
push eax
call fcn.00414b30
mov esi, dword [0x440080]
xor ebx, ebx
mov edi, dword [0x440084]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0x441548], bl
mov eax, ebx
mov ecx, 0x440070
cmovae ecx, dword [0x440070]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0x441650], al
inc ebx
cmp ebx, 0x100
jl 0x402780
xor edi, edi
xor esi, esi
mov dl, byte [esi + 0x441548]
movzx eax, byte [esi + 0x441650]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x4027d4
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0x441548]
mov byte [esi + 0x441548], al
inc esi
mov byte [edi + 0x441548], dl
cmp esi, 0x100
jl 0x4027b0
mov esi, dword [ebp - 4]
mov ecx, esi
call fcn.00402430
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x402829
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40281f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402874
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x40286b
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402861
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402874
push edx
push ecx
call fcn.00415fcc
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0041bb2d
int3
Function at 0x402880
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, 0xaaaaaaab
mov dword [ebp - 4], edx
mov ebx, ecx
push edi
push 0x3d
mov esi, dword [esi]
add esi, 2
mov dword [ebp - 8], ebx
mul esi
shr edx, 1
shl edx, 2
push edx
call fcn.00414690
cmp dword [ebx + 0x14], 0x10
mov edi, ebx
jb 0x4028b7
mov edi, dword [ebx]
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [ebp + 8], 3
xor esi, esi
mov ecx, dword [eax]
mov eax, ecx
div dword [ebp + 8]
sub ecx, edx
mov dword [ebp + 8], edx
mov dword [ebp - 0xc], ecx
je 0x40295d
mov ebx, dword [ebp - 4]
dec ecx
mov eax, 0xaaaaaaab
add ebx, 2
mul ecx
shr edx, 1
inc edx
nop dword [eax + eax]
movsx ecx, byte [ebx - 2]
lea ebx, [ebx + 3]
movsx eax, byte [ebx - 4]
shl ecx, 8
or ecx, eax
movsx eax, byte [ebx - 3]
shl ecx, 8
or ecx, eax
mov eax, ecx
sar eax, 0x12
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + esi], al
mov eax, ecx
sar eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + esi + 1], al
mov eax, ecx
sar eax, 6
and ecx, 0x3f
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + esi + 2], al
movzx eax, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + esi + 3], al
add esi, 4
sub edx, 1
jne 0x4028f0
mov edx, dword [ebp + 8]
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test edx, edx
je 0x4029d4
mov eax, dword [ebp - 4]
movsx eax, byte [ecx + eax]
sub edx, 1
je 0x402987
mov ebx, dword [ebp - 4]
shl eax, 8
movsx ecx, byte [ecx + ebx + 1]
mov ebx, dword [ebp - 8]
or ecx, eax
mov eax, ecx
sar eax, 0xa
and eax, 0x3f
jmp 0x40298c
mov ecx, eax
sar eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + esi], al
mov eax, ecx
test edx, edx
je 0x4029a3
sar eax, 4
and eax, 0x3f
jmp 0x4029a9
and eax, 3
shl eax, 4
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + esi + 1], al
test edx, edx
je 0x4029ce
and ecx, 0xf
mov al, byte [ecx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + esi + 2], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, 0x3d
mov byte [edi + esi + 2], al
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret