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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5fc
mov eax, dword [0x431860]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
push str.http:__
push edi
mov dword [ebp - 0x5f8], ebx
call fcn.0040e770
mov esi, eax
add esp, 8
test esi, esi
je 0x40aa69
add esi, 7
jmp 0x40aa6b
mov esi, edi
push 0x42d5bc
push esi
call fcn.0040e770
add esp, 8
test eax, eax
je 0x40abb0
push 0x42d5bc
push esi
call fcn.0040e770
sub eax, esi
push eax
push esi
lea eax, [ebp - 0x48]
push 0x40
push eax
call fcn.0040eb26
push 0x42d5bc
push esi
call fcn.0040e770
push eax
lea eax, [ebp - 0x1f0]
push 0x104
push eax
call fcn.0040e299
add esp, 0x2c
lea eax, [ebp - 0x5f0]
push 0
push 1
push 0x400
push eax
lea edx, [ebp - 0x1f0]
lea ecx, [ebp - 0x48]
call fcn.0040a190
add esp, 0x10
test al, al
je 0x40abb0
push ecx
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x5f0]
call fcn.0040a0d0
add esp, 8
test al, al
je 0x40abb0
lea eax, [ebp - 0xe8]
push eax
call fcn.0040ebca
add esp, 4
mov edi, eax
push edi
push ecx
mov edx, str.Downloading_file__
mov ecx, 0x4330f0
call fcn.00405410
add esp, 4
mov ecx, eax
call fcn.00406c70
mov edx, str._bytes_..._n
mov ecx, eax
call fcn.00405410
push edi
call fcn.0040c999
add esp, 4
mov esi, eax
push 1
push 0
push edi
push esi
lea edx, [ebp - 0x1f0]
lea ecx, [ebp - 0x48]
call fcn.0040a190
add esp, 0x10
test al, al
je 0x40aba7
push 0x20
lea edx, [ebp - 0x68]
mov ecx, str.heur_check
call fcn.004051d0
add esp, 4
mov byte [ebp - 0x5f1], al
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40abc3
mov edx, str._nError_opening_file_for_writing_n
mov ecx, 0x4330f0
call fcn.00405410
push esi
call fcn.0040e294
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040cfef
mov esp, ebp
pop ebp
ret
push ebx
push ecx
push edi
push ecx
mov edx, str.Writing_data_to_file
mov ecx, 0x4330f0
call fcn.00405410
add esp, 4
mov ecx, eax
call fcn.00406c70
mov edx, str._bytes__handle:
mov ecx, eax
call fcn.00405410
add esp, 4
mov ecx, eax
call fcn.0040adf0
mov edx, str._to__
mov ecx, eax
call fcn.00405410
mov edx, dword [ebp - 0x5f8]
mov ecx, eax
call fcn.00405410
mov edx, 0x42cd38
mov ecx, eax
call fcn.00405410
xor ecx, ecx
cmp byte [ebp - 0x5f1], cl
push 0
lea eax, [ebp - 0x5fc]
cmovne eax, ecx
push eax
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.0040e294
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
mov al, 1
pop ebx
call fcn.0040cfef
mov esp, ebp
pop ebp
ret
Function at 0x40b110
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x431860]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
lea eax, [ebp - 0x130]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 1
jne 0x40b1ee
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [ebp - 0x130]
push eax
push edi
call ebx
cmp eax, 1
jne 0x40b1ee
jmp 0x40b180
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x10c]
lea esp, [esp]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x40b1b0
test dl, dl
je 0x40b1ac
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x40b1b0
add ecx, 2
add eax, 2
test dl, dl
jne 0x40b190
xor eax, eax
jmp 0x40b1b5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40b1df
push dword [ebp - 0x128]
push eax
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0xd
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
lea eax, [ebp - 0x130]
push eax
push edi
call ebx
cmp eax, 1
je 0x40b180
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040cfef
mov esp, ebp
pop ebp
ret
Function at 0x40b210
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x431860]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov esi, ecx
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b243
sub eax, edx
inc eax
push eax
call fcn.0040c999
mov edi, eax
mov eax, esi
add esp, 4
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b260
sub eax, edx
push esi
inc eax
push eax
push edi
call fcn.0040e299
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x40b377
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x40b377
mov ecx, edi
xor edx, edx
lea esi, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b2b0
sub ecx, esi
je 0x40b2e3
jmp 0x40b2c0
mov al, byte [edx + edi]
cmp al, 0x41
jl 0x40b2d0
cmp al, 0x5a
jg 0x40b2d0
add al, 0x20
mov byte [edx + edi], al
mov eax, edi
inc edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b2d6
sub eax, esi
cmp edx, eax
jb 0x40b2c0
lea ecx, [ebp - 0x10c]
xor edx, edx
lea esi, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b2f0
sub ecx, esi
je 0x40b32f
jmp 0x40b300
mov al, byte [ebp + edx - 0x10c]
cmp al, 0x41
jl 0x40b318
cmp al, 0x5a
jg 0x40b318
add al, 0x20
mov byte [ebp + edx - 0x10c], al
lea ecx, [ebp - 0x10c]
inc edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b322
sub ecx, esi
cmp edx, ecx
jb 0x40b300
mov ecx, edi
lea eax, [ebp - 0x10c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40b357
test dl, dl
je 0x40b353
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40b357
add eax, 2
add ecx, 2
test dl, dl
jne 0x40b337
xor eax, eax
jmp 0x40b35c
sbb eax, eax
or eax, 1
test eax, eax
je 0x40b39a
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x40b2a3
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0040e294
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040cfef
mov esp, ebp
pop ebp
ret
push edi
call fcn.0040e294
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
mov al, 1
pop ebx
call fcn.0040cfef
mov esp, ebp
pop ebp
ret
Function at 0x40b3c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x431860]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov esi, ecx
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b3f3
sub eax, edx
inc eax
push eax
call fcn.0040c999
mov edi, eax
mov eax, esi
add esp, 4
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b410
sub eax, edx
push esi
inc eax
push eax
push edi
call fcn.0040e299
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x40b527
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x40b527
mov ecx, edi
xor edx, edx
lea esi, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b460
sub ecx, esi
je 0x40b493
jmp 0x40b470
mov al, byte [edx + edi]
cmp al, 0x41
jl 0x40b480
cmp al, 0x5a
jg 0x40b480
add al, 0x20
mov byte [edx + edi], al
mov eax, edi
inc edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b486
sub eax, esi
cmp edx, eax
jb 0x40b470
lea ecx, [ebp - 0x10c]
xor edx, edx
lea esi, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b4a0
sub ecx, esi
je 0x40b4df
jmp 0x40b4b0
mov al, byte [ebp + edx - 0x10c]
cmp al, 0x41
jl 0x40b4c8
cmp al, 0x5a
jg 0x40b4c8
add al, 0x20
mov byte [ebp + edx - 0x10c], al
lea ecx, [ebp - 0x10c]
inc edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b4d2
sub ecx, esi
cmp edx, ecx
jb 0x40b4b0
mov ecx, edi
lea eax, [ebp - 0x10c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40b507
test dl, dl
je 0x40b503
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40b507
add eax, 2
add ecx, 2
test dl, dl
jne 0x40b4e7
xor eax, eax
jmp 0x40b50c
sbb eax, eax
or eax, 1
test eax, eax
je 0x40b54b
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x40b453
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0040e294
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040cfef
mov esp, ebp
pop ebp
ret
push edi
call fcn.0040e294
add esp, 4
push dword [ebp - 0x128]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040cfef
mov esp, ebp
pop ebp
ret
Function at 0x41d0e5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x431860]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00411f50
mov dword [ebp - 0x14], eax
cmp dword [0x434058], edi
jne 0x41d1d6
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x41d163
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41d2b6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41d2b6
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41d2b6
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x434058], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x43405c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x434060], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x434068], eax
test eax, eax
je 0x41d1d3
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x434064], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41d1fb
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41d1ee
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x41d210
push 4
pop eax
jmp 0x41d2b8
cmp dword [ebp - 0x14], edi
je 0x41d210
push dword [0x434058]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41d1f5
mov eax, dword [0x434064]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x41d26e
cmp dword [0x434068], esi
je 0x41d26e
push eax
call ebx
push dword [0x434068]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41d26e
test eax, eax
je 0x41d26e
call ecx
test eax, eax
je 0x41d263
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x41d263
test byte [ebp - 8], 1
jne 0x41d26e
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x41d29e
mov eax, dword [0x43405c]
cmp eax, esi
je 0x41d29b
push eax
call ebx
test eax, eax
je 0x41d29b
call eax
mov edi, eax
test edi, edi
je 0x41d29b
mov eax, dword [0x434060]
cmp eax, esi
je 0x41d29b
push eax
call ebx
test eax, eax
je 0x41d29b
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x434058]
call ebx
test eax, eax
je 0x41d2b6
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x41d2b8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040cfef
leave
ret
Function at 0x420b9c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00416efa
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x420bd4
xor eax, eax
jmp 0x420c00
cmp esi, dword [ebp - 4]
je 0x420bfd
cmp dword [ebp + 0xc], 0
je 0x420bfd
push dword [edi + 0x9c]
call fcn.004207aa
push dword [edi + 0x9c]
mov esi, eax
call fcn.00412208
pop ecx
pop ecx
cmp esi, eax
je 0x420bd0
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x401000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
enter 0x84, 0
sub ebp, 0x82
mov dword [ebp - 2], 0
call fcn.00401554
mov ebx, eax
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, ebx
or al, 0x40
push eax
mov eax, 0x401e00
sub eax, fcn.004015cb
push eax
push fcn.004015cb
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x40107d
mov eax, ebx
lea edx, [ebp - 2]
call fcn.00401478
mov eax, ebx
call fcn.004014c9
lea eax, [ebx + 0x1b600]
lea edx, [ebx - 1]
lea ecx, [ebp - 2]
and edx, eax
test ebx, ebx
je 0x401071
mov eax, 0x402054
add eax, eax
jmp 0x401076
mov eax, 0x402054
mov ebx, ecx
call fcn.004015cb
xor eax, eax
lea esp, [ebp + 0x82]
pop ebp
pop edx
pop ecx
pop ebx
ret

Function at 0x401554
Capabilities:
Delete file
Encode data using base64 via winapi

Disassembly:
push ebx
push ecx
push edx
enter 0x11c, 0
lea ebx, [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push ebx
call dword [sym.imp.USER32.DLL_GetCursorPos]
push 0
push 0
lea ebx, [ebp - 4]
call dword [sym.imp.USER32.DLL_GetWindow]
push ebx
lea ebx, [ebp - 0x18]
push ebx
push 1
push 1
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 4], 0xa
mov byte [ebp - 0x11c], 0
call dword [sym.imp.CRYPT32.DLL_CryptBinaryToStringA]
lea eax, [ebp - 0x18]
movzx ebx, byte [ebp - 0x18]
push eax
sub ebx, 0x41
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov eax, ebx
leave
pop edx
pop ecx
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x59d590
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x12d000]
push edi
or ebp, 0xffffffff
jmp 0x59d5b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x59d5b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59d5a8
mov eax, 1
add ebx, ebx
jne 0x59d5cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x59d5dc
jne 0x59d5fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59d5fb
dec eax
add ebx, ebx
jne 0x59d5e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x59d5c0
add ebx, ebx
jne 0x59d5f7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x59d64d
xor ecx, ecx
sub eax, 3
jb 0x59d613
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x59d682
sar eax, 1
mov ebp, eax
jmp 0x59d61e
add ebx, ebx
jne 0x59d61e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59d5ec
inc ecx
add ebx, ebx
jne 0x59d62c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59d5ec
add ebx, ebx
jne 0x59d639
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x59d62e
jne 0x59d64a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x59d62e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x59d66c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x59d65e
jmp 0x59d5ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x59d66c
add edi, ecx
jmp 0x59d5ae
pop esi
mov edi, esi
mov ecx, 0x6373
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x59d68a
cmp byte [edi], 0x15
jne 0x59d68a
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 0x59d68f
lea edi, [esi + 0x193000]
mov eax, dword [edi]
or eax, eax
je 0x59d707
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a81f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a8314]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x59d6bc
mov ecx, edi
jns 0x59d6eb
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 + 0x1a831c]
or eax, eax
je 0x59d701
mov dword [ebx], eax
add ebx, 4
jmp 0x59d6d9
call dword [esi + 0x1a8318]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x59d738
cmp al, 0xef
ja 0x59d72b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x59d70d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x59d71a
mov ebp, dword [esi + 0x1a8320]
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 0x59d76c
sub esp, 0xffffff80
jmp 0x4c5120
Function at 0x40344c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x40345b
pop dword [ebp - 0x20]
mov eax, 0xb61e8f1e
add eax, 0x4a21a53d
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x749d6945
add dword [ebp - 0x30], 0xd9b4dc06
mov dword [ebp - 0x2c], 0x2214180b
add dword [ebp - 0x2c], 0x101f343a
mov dword [ebp - 0x28], 0x9064e84a
add dword [ebp - 0x28], 0xbbe75be4
mov dword [ebp - 0x24], 0xd131280e
add dword [ebp - 0x24], 0x2eced7f2
lea eax, [ebp - 0x30]
push eax
mov eax, 0x8bc78698
add eax, 0x7478b9bc
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xacb11859
sub dword [ebp - 0x30], 0x383eaf03
mov dword [ebp - 0x2c], 0x6413a80e
add dword [ebp - 0x2c], 0xdd58b967
mov dword [ebp - 0x28], 0xf120604d
sub dword [ebp - 0x28], 0x8db0f3e1
mov dword [ebp - 0x24], 0xfbaeaf2a
add dword [ebp - 0x24], 0x45150d6
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x554ac078
add eax, 0xaaf57fd8
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x390bb
push 0
call eax
mov ecx, 0x50b9
xor edi, edi
add edi, eax
mov edx, 0x408400
add edx, dword [ebp - 0x20]
mov esi, 0x4325aea3
add dword [ebp - 0xc], 0x9160ec71
mov ebx, dword [edx]
add dword [ebp - 4], ebx
add ebx, esi
sub dword [ebp - 0x18], ecx
mov dword [edi], ebx
xor dword [ebp - 0x1c], edi
add edi, 4
add edx, 4
loop 0x40356d
add eax, 0xf8f149e5
sub eax, 0xf8f0142e
mov ebx, eax
add eax, 0xff08a1f0
sub eax, 0xff08a1eb
mov ecx, 0x38578b69
sub ecx, 0x38178b69
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x4063c3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x4063e7
xor eax, eax
test eax, eax
je 0x4063f9
cmp byte [ebp + eax - 0x121], 0x5c
je 0x4063f9
xor ecx, ecx
jmp 0x4063fc
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x4064e8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43f2c4], 0
push esi
jne 0x40651f
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4064f9
mov dword [ecx*4 + 0x43f2c0], eax
inc ecx
cmp ecx, 0x100
jl 0x4064f4
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406550
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x43f2c0]
xor eax, esi
inc ecx
dec edx
jne 0x406532
pop edi
not eax
pop esi
ret 0xc
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
mov ecx, 0x259071c1
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x77640d7b
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x403180
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
push edx
mov al, byte [0x40b32c]
test al, al
jne 0x4031e6
push dword [0x40b475]
push 0x40b401
push 0xff0000
push dword [0x4093e7]
push dword [0x4093eb]
push dword [0x4093ef]
push dword [0x4093f3]
push 0
push 0
push dword [0x40b058]
push 0
call fcn.00403210
mov dword [0x4093cc], eax
push dword [0x40b060]
push eax
call sub.user32.dll_ShowWindow
push dword [0x4093cc]
call sub.user32.dll_UpdateWindow
jmp 0x403201
mov bl, byte [ebp + 8]
test bl, bl
je 0x403201
push 0x40b401
push 0
push 0xc
push dword [0x4093cc]
call sub.user32.dll_SendMessageA
call fcn.00402d80
pop edx
pop ecx
pop ebx
leave
ret 4