joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b9d0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x24]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov byte [ebp - 0xc], cl
push 4
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call sub.kernel32.dll_GetLocaleInfoW
mov dword [ebp - 0x1c], eax
cmp eax, 2
jle 0x42ba7a
mov eax, dword [ebp - 0x1c]
sub eax, 2
test eax, eax
jl 0x42ba96
mov dword [ebp - 0x20], 0xffffffff
lea esi, [esi]
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov dx, word [ebp + edx*2 - 0x18]
mov word [ebp - 0x24], dx
mov edx, dword [ebp - 0x20]
mov dx, word [ebp + edx*2 - 0x18]
cmp dx, 0x20
jb 0x42ba96
sub dx, 0x20
je 0x42ba70
sub dx, 0x80
je 0x42ba70
sub dx, 0x1f62
jb 0x42ba96
sub dx, 1
jbe 0x42ba70
sub dx, 6
je 0x42ba70
sub dx, 0x26
jne 0x42ba96
nop
jmp 0x42ba70
cmp eax, dword [ebp - 0x20]
jg 0x42ba18
lea esi, [esi]
jmp 0x42ba96
cmp dword [ebp - 0x1c], 2
jne 0x42ba8a
mov ax, word [ebp - 0x18]
mov word [ebp - 0x24], ax
jmp 0x42ba96
mov al, byte [ebp - 0xc]
call fcn.0040b460
mov word [ebp - 0x24], ax
mov ax, word [ebp - 0x24]
sub ax, 0x7f
jbe 0x42bb14
sub ax, 0x21
je 0x42bb28
sub ax, 0x17
je 0x42bb34
sub ax, 0x222
je 0x42bb40
sub ax, 0x392
je 0x42bb48
sub ax, 1
je 0x42bb50
sub ax, 0x1996
je 0x42bb58
sub ax, 1
je 0x42bb60
sub ax, 6
je 0x42bb68
sub ax, 0xb
je 0x42bb78
sub ax, 0x1b
je 0x42bb70
sub ax, 0x367
je 0x42bb80
jmp 0x42bb88
mov ax, word [ebp - 0x24]
call fcn.0040b500
mov byte [ebp - 0x10], al
jmp 0x42bb90
mov byte [ebp - 0x10], 0x20
jmp 0x42bb90
mov byte [ebp - 0x10], 0x2e
jmp 0x42bb90
mov byte [ebp - 0x10], 0x27
jmp 0x42bb90
mov byte [ebp - 0x10], 0x2c
jmp 0x42bb90
mov byte [ebp - 0x10], 0x27
jmp 0x42bb90
mov byte [ebp - 0x10], 0x20
jmp 0x42bb90
mov byte [ebp - 0x10], 0x20
jmp 0x42bb90
mov byte [ebp - 0x10], 0x20
jmp 0x42bb90
mov byte [ebp - 0x10], 0x20
jmp 0x42bb90
mov byte [ebp - 0x10], 0x2d
jmp 0x42bb90
mov byte [ebp - 0x10], 0x27
jmp 0x42bb90
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x10], al
mov esi, esi
mov al, byte [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x438990
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x118]
push ebx
push esi
push edi
mov esi, eax
mov edi, edx
mov dword [ebp - 0x118], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x110], al
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.00438980
push ebp
push 0x414780
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push edi
call sub.kernel32.dll_FindResourceA
mov dword [esi + 0x10], eax
test eax, eax
jne 0x438aa0
mov al, byte [ebp - 0x110]
test al, al
je 0x438a69
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.00404d20
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.00409190
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.00409f60
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x58a5a8
call fcn.004516e0
mov edx, 0x4389fa
mov ecx, ebp
call fcn.00414640
jmp 0x438aa0
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x58a5a8
call fcn.004516e0
mov edx, 0x438a69
mov ecx, ebp
call fcn.00414640
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_LoadResource
mov dword [esi + 0x14], eax
test eax, eax
jne 0x438b64
mov al, byte [ebp - 0x110]
test al, al
je 0x438b2d
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.00404d20
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.00409190
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.00409f60
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x58a5a8
call fcn.004516e0
mov edx, 0x438abe
mov ecx, ebp
call fcn.00414640
jmp 0x438b64
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x58a5a8
call fcn.004516e0
mov edx, 0x438b2d
mov ecx, ebp
call fcn.00414640
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_SizeofResource
mov ebx, eax
push dword [esi + 0x14]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, esi
mov ecx, ebx
call fcn.00438320
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00438980
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43bc20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, 0x58b234
call fcn.0040d030
test al, al
je 0x43bd06
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
call fcn.0043bd20
xor eax, eax
push fcn.0043bc10
push ebp
push 0x414780
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0xc4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x18]
mov byte [edx + 0x18], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1a]
mov byte [edx + 0x1a], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1b]
mov byte [edx + 0x1b], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1c]
mov byte [edx + 0x1c], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 8]
add eax, 0x30
call fcn.00408910
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 8]
call fcn.0043ae30
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 8]
call fcn.0043a980
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
call dword [ecx + 0xb0]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0043bc10
jmp 0x43bd11
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0043e1b0
mov esp, ebp
pop ebp
ret
Function at 0x448170
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc20]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc10], 0
xor eax, eax
push fcn.00448160
push ebp
push 0x414780
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xfffffff
mov edx, dword [ebp - 4]
lea eax, [ebp - 0xc10]
call fcn.00408910
lea eax, [ebp - 0xc10]
call fcn.00403a90
lea eax, [ebp - 0xc1c]
push eax
mov eax, dword [ebp - 0xc10]
test eax, eax
jne 0x4481d0
mov eax, 0x5d82f0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc18], eax
cmp eax, 0xc00
jbe 0x44827a
mov edx, dword [ebp - 0xc18]
lea eax, [ebp - 0xc0c]
call fcn.0040fa70
xor eax, eax
push fcn.00448150
push ebp
push 0x414780
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0xc0c]
push dword [ebp - 0xc18]
push dword [ebp - 0xc1c]
mov eax, dword [ebp - 0xc10]
test eax, eax
jne 0x44822c
mov eax, 0x5d82f0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x448268
lea eax, [ebp - 0xc14]
push eax
lea eax, [ebp - 0xc20]
push eax
mov eax, 0x58fd4c
push eax
push dword [ebp - 0xc0c]
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x448268
mov eax, dword [ebp - 0xc20]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea esi, [esi]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00448150
jmp 0x4482d8
lea eax, [ebp - 0xc08]
push eax
push dword [ebp - 0xc18]
push dword [ebp - 0xc1c]
mov eax, dword [ebp - 0xc10]
test eax, eax
jne 0x44829c
mov eax, 0x5d82f0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4482d8
lea eax, [ebp - 0xc14]
push eax
lea eax, [ebp - 0xc20]
push eax
mov eax, 0x58fd4c
push eax
lea eax, [ebp - 0xc08]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4482d8
mov eax, dword [ebp - 0xc20]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
mov esi, esi
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00448160
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x452bf0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x26c]
push ebx
push esi
mov dword [ebp - 4], eax
mov byte [ebp - 8], dl
mov bl, cl
mov edx, 0x590c30
lea eax, [ebp - 0x268]
call fcn.0040e820
xor eax, eax
push fcn.00452bd0
push ebp
push 0x414780
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test eax, eax
jne 0x452c33
mov eax, 0x5d82f0
push eax
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
jne 0x452c7b
call sub.kernel32.dll_GetLastError
cmp eax, 0xa1
jbe 0x452c4f
clc
jmp 0x452c56
bt dword [0x590200], eax
jb 0x452c6f
mov eax, ebp
call fcn.00452d20
test al, al
je 0x452c6f
mov byte [ebp - 0x26c], 1
jmp 0x452d00
mov byte [ebp - 0x26c], 0
jmp 0x452d00
mov eax, esi
and eax, 0x10
movzx edx, byte [ebp - 8]
cmp eax, dword [edx*4 + 0x568e50]
sete byte [ebp - 0x26c]
mov al, bl
and al, byte [ebp - 0x26c]
je 0x452d00
and esi, 0x400
je 0x452d00
lea ebx, [ebp - 0x268]
mov edx, 0x590c30
mov eax, ebx
call fcn.0040e8e0
mov edx, ebx
mov eax, dword [ebp - 4]
xor cl, cl
call fcn.00452890
test eax, eax
je 0x452cd4
sub eax, 1
je 0x452cec
jmp 0x452cf8
mov dl, byte [ebp - 8]
mov eax, dword [ebp - 0x268]
xor cl, cl
call fcn.00452bf0
mov byte [ebp - 0x26c], al
jmp 0x452d00
mov byte [ebp - 0x26c], 1
jmp 0x452d00
mov byte [ebp - 0x26c], 0
nop
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00452bd0
mov al, byte [ebp - 0x26c]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x452f10
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
test eax, eax
jne 0x452f1c
mov eax, 0x5d82f0
push eax
call sub.kernel32.dll_GetFileAttributesW
mov esp, ebp
pop ebp
ret

Function at 0x452fc0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
push ebx
push esi
push edi
mov edi, eax
mov esi, edx
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
xor eax, eax
push fcn.00452fb0
push ebp
push 0x414780
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
test ebx, ebx
jle 0x453030
lea edx, [ebx - 1]
lea eax, [ebp - 4]
call fcn.0040b800
cmp ebx, 1
jle 0x453020
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
xor dx, dx
call fcn.0040afb0
jmp 0x45303b
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00408910
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00452fb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x453440
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.00453430
push ebp
push 0x414780
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea esi, [esi]
add ebx, 1
lea eax, [ebx*4 + 0x5fb60c]
xor edx, edx
call fcn.00408910
mov dword [ebx*4 + 0x5fb62c], 0xffffffff
cmp ebx, 7
jl 0x453468
call sub.kernel32.dll_GetThreadLocale
mov esi, eax
push 0xb
lea eax, [ebp - 0xc]
push eax
push 0x100b
push esi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x4534f4
lea esi, [esi]
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
xor cx, cx
mov edx, 0xa
call fcn.00409300
mov eax, dword [ebp - 0x10]
mov edx, 1
call fcn.00449c70
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x4534f4
push 4
push ebx
push esi
mov eax, 0x453310
push eax
call sub.kernel32.dll_EnumCalendarInfoA
push 3
push ebx
push esi
mov eax, 0x4533a0
push eax
call sub.kernel32.dll_EnumCalendarInfoA
nop
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00453430
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x453b40
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x14]
push ebx
push esi
push edi
mov ebx, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.00453b10
push ebp
push 0x414780
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
xor edx, edx
call fcn.0040b160
call sub.kernel32.dll_GetEnvironmentStringsW
mov edi, eax
mov esi, edi
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0044f830
jmp 0x453c18
lea edx, [ebp - 4]
mov eax, esi
call fcn.0040b110
mov edx, dword [ebp - 4]
mov ecx, 1
mov al, 0x3d
call fcn.0040bbe0
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx - 1]
mov eax, dword [ebp - 4]
mov edx, 1
call fcn.0040b980
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0044f830
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0040b7c0
test eax, eax
jne 0x453c08
push dword [ebp - 0x14]
mov eax, dword [ebp - 4]
test eax, eax
je 0x453bf6
mov eax, dword [eax - 4]
sub eax, ebx
mov ecx, eax
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
call fcn.0040b980
jmp 0x453c1f
mov eax, esi
call fcn.004046f0
shl eax, 1
add eax, esi
add eax, 2
mov esi, eax
cmp word [esi], 0
jne 0x453ba0
push edi
call sub.kernel32.dll_FreeEnvironmentStringsW
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00453b10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x453c50
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x94]
mov dword [0x5fb670], 0
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
mov eax, dword [ebp - 0x84]
mov dword [0x5fb4d0], eax
mov eax, dword [ebp - 0x90]
mov dword [0x5fb4e0], eax
mov eax, dword [ebp - 0x8c]
mov dword [0x5fb4f0], eax
mov eax, dword [ebp - 0x88]
mov dword [0x5fb500], eax
mov edx, 0x5fb511
lea eax, [ebp - 0x80]
mov ecx, pe_nt_image_headers32
call fcn.00403570
lea eax, [ebp - 0x80]
call fcn.004046d0
mov byte [0x5fb510], al
mov eax, 0x5902d0
push eax
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x5fb680], eax
test eax, eax
je 0x453cf0
mov eax, 0x5902dc
push eax
push dword [0x5fb680]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5fb670], eax
nop
cmp dword [0x5fb4e0], 6
jae 0x453d04
mov dword [0x568710], 0
nop
cmp dword [0x5fb4e0], 6
jb 0x453d20
cmp dword [0x5fb4f0], 1
jb 0x453d20
mov dword [0x568720], 2
mov esp, ebp
pop ebp
ret
Function at 0x490210
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
lea esi, [ecx - 1]
test esi, esi
jl 0x490244
mov edi, 0xffffffff
nop
add edi, 1
mov cl, al
xor cl, byte [edx]
and ecx, 0xff
mov ebx, ecx
mov ecx, eax
shr ecx, 8
xor ecx, dword [ebx*4 + 0x5fbc80]
mov eax, ecx
add edx, 1
cmp esi, edi
jg 0x490220
pop edi
pop esi
pop ebx
ret
Function at 0x4affe0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x28]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004088e0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x28], 0
xor eax, eax
push fcn.004affc0
push ebp
push 0x414780
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 8], 0
cmp dword [ebp - 4], 0
je 0x4b001f
jmp 0x4b0024
jmp 0x4b00e9
mov eax, dword [ebp - 4]
call fcn.004afb60
mov byte [ebp - 0x18], al
cmp byte [ebp - 0x18], 0
jne 0x4b0037
jmp 0x4b0057
mov eax, dword [ebp - 4]
call fcn.004afbf0
test al, al
jne 0x4b0045
jmp 0x4b0057
mov eax, dword [ebp - 4]
mov dl, 1
call fcn.004afd20
mov byte [ebp - 8], al
jmp 0x4b00e9
cmp byte [ebp - 0x18], 0
jne 0x4b005f
jmp 0x4b007b
mov edx, dword [ebp - 4]
mov ecx, 1
mov al, 0x20
call fcn.00409890
cmp eax, 0
jg 0x4b0075
jmp 0x4b007b
mov byte [ebp - 0x14], 1
jmp 0x4b007f
mov byte [ebp - 0x14], 0
cmp byte [ebp - 0x14], 0
jne 0x4b0087
jmp 0x4b00b0
push 0
mov eax, 0x5a3bb4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov eax, 0x5a3bb4
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x24]
lea eax, [ebp - 4]
mov ecx, 2
call fcn.00408ca0
nop
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x28]
call fcn.0040c970
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0xc]
call fcn.0040b0a0
push 1
push 0
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4b00d8
mov eax, 0x5d82f0
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
seta byte [ebp - 8]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004affc0
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4b05c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov edx, eax
xor eax, eax
lea ebx, [edx + 1]
movzx ecx, byte [edx]
add ecx, 1
and ecx, 0xff
add edx, ecx
jmp 0x4b05f1
mov ecx, eax
shl ecx, 5
sub ecx, eax
movzx esi, byte [ebx]
xor ecx, esi
mov eax, ecx
add ebx, 1
cmp edx, ebx
ja 0x4b05e0
pop esi
pop ebx
ret
Function at 0x4b1dd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
push ebx
push esi
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
cmp edx, 1
jne 0x4b1df4
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
call dword [edx + 0x34]
mov dword [ebp - 8], eax
lea esi, [esi]
cmp dword [ebp - 8], 0
je 0x4b1eba
mov esi, esi
xor eax, eax
push 0x4b1e9b
push ebp
push 0x414b00
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0040d110
mov eax, dword [ebp - 8]
mov byte [eax + 0xc], 0
mov eax, dword [ebp - 8]
mov byte [eax + 0xe], 0
mov edx, 1
mov eax, 0x58ae90
call fcn.0043a1c0
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
call fcn.004b2050
mov edx, dword [ebp - 8]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 8]
call fcn.004b20c0
mov edx, dword [ebp - 8]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 8]
call fcn.004b2130
mov edx, dword [ebp - 8]
mov dword [edx + 0x30], eax
mov dword [ebp - 0xc], 1
cmp dword [ebp - 8], 0
je 0x4b1e90
cmp dword [ebp - 4], 0
je 0x4b1e90
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x44]
nop
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
jmp 0x4b1eba
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4baa80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 1
je 0x4baa9b
jmp 0x4baaa8
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call dword [edx + 0x34]
mov dword [ebp - 0xc], eax
nop
cmp dword [ebp - 0xc], 0
je 0x4baab0
jmp 0x4baab8
jmp 0x4bab66
xor eax, eax
push 0x4bab43
push ebp
push 0x414b00
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
push dword [ebp + 8]
push dword [ebp - 4]
call sub.kernel32.dll_LoadResource
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 0
jne 0x4baaee
jmp 0x4bab14
push dword [ebp + 8]
push dword [ebp - 4]
call sub.kernel32.dll_SizeofResource
mov ebx, eax
mov eax, dword [ebp - 0xc]
push dword [eax + 0x14]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, ebx
call fcn.00438320
mov esi, esi
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0xc], 0
jne 0x4bab23
jmp 0x4bab38
cmp dword [ebp - 8], 0
jne 0x4bab2b
jmp 0x4bab38
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call dword [edx + 0x44]
mov esi, esi
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
jmp 0x4bab66
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4bc8d0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov esi, eax
cmp dword [esi + 0x14], 0xca
jne 0x4bc904
mov eax, esi
call fcn.004c0e50
cmp byte [esi + 0x40], 0
je 0x4bc8fc
mov dword [esi + 0x14], 0xcf
mov bl, 1
jmp 0x4bc9b5
mov dword [esi + 0x14], 0xcb
nop
cmp dword [esi + 0x14], 0xcb
jne 0x4bc994
mov eax, dword [esi + 0x184]
cmp byte [eax + 0x10], 0
je 0x4bc98c
lea esi, [esi]
cmp dword [esi + 8], 0
je 0x4bc938
mov eax, esi
mov edx, dword [esi + 8]
call dword [edx]
lea esi, [esi]
mov eax, esi
mov edx, dword [esi + 0x184]
call dword [edx]
mov edi, eax
test edi, edi
jne 0x4bc950
xor bl, bl
jmp 0x4bc9b5
cmp edi, 2
je 0x4bc98a
lea esi, [esi]
cmp dword [esi + 8], 0
je 0x4bc928
cmp edi, 3
je 0x4bc968
cmp edi, 1
jne 0x4bc928
mov eax, dword [esi + 8]
add dword [eax + 4], 1
mov eax, dword [esi + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
jl 0x4bc928
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x110]
add dword [edx + 8], eax
mov esi, esi
jmp 0x4bc928
mov esi, esi
mov eax, dword [esi + 0x70]
mov dword [esi + 0x78], eax
jmp 0x4bc9ac
cmp dword [esi + 0x14], 0xcc
je 0x4bc9ac
mov ecx, dword [esi + 0x14]
mov eax, esi
mov dl, 0x14
call fcn.004bccf0
lea esi, [esi]
mov eax, esi
call fcn.004bc9c0
mov bl, al
mov al, bl
pop edi
pop esi
pop ebx
ret
Function at 0x4d9b40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 4]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
jne 0x4d9b56
jmp 0x4d9b90
mov eax, dword [0x5680e0]
mov edx, dword [ebp - 4]
mov eax, dword [eax + 0x170]
cmp eax, dword [edx + 0x24]
je 0x4d9b6b
jmp 0x4d9b90
mov eax, dword [0x5680e0]
cmp byte [eax + 0x11c], 0
je 0x4d9b7b
jmp 0x4d9b90
mov eax, dword [0x5684c0]
mov edx, dword [0x5684c0]
mov edx, dword [edx]
call dword [edx + 0x6c]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov ebx, dword [ebp - 4]
mov eax, dword [0x5684c0]
mov edx, dword [0x5684c0]
mov edx, dword [edx]
call dword [edx + 0x6c]
cmp eax, dword [ebx]
je 0x4d9bac
jmp 0x4d9c8a
mov eax, dword [0x5680e0]
cmp byte [eax + 0x11c], 0
je 0x4d9bbf
jmp 0x4d9c8a
mov eax, dword [0x5684c0]
mov edx, dword [0x5684c0]
mov edx, dword [edx]
call dword [edx + 0x6c]
call fcn.0054fda0
mov eax, dword [0x5680e0]
cmp dword [eax + 0x170], 0
jne 0x4d9be4
jmp 0x4d9c50
push 0x10
push 0
mov eax, dword [0x5680e0]
mov eax, dword [eax + 0x170]
push dword [eax + 0x254]
mov eax, dword [0x5680e0]
mov eax, dword [eax + 0x170]
push dword [eax + 0x248]
mov eax, dword [0x5680e0]
mov eax, dword [eax + 0x170]
push dword [eax + 0x12c]
push 0
mov eax, dword [ebp - 4]
push dword [eax]
call sub.user32.dll_SetWindowPos
mov eax, dword [0x5680e0]
mov eax, dword [eax + 0x170]
call fcn.004fb250
test al, al
jne 0x4d9c3d
jmp 0x4d9c50
push 0
mov eax, dword [0x5680e0]
call fcn.00424890
push eax
call sub.user32.dll_ShowWindow
nop
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
mov eax, dword [ebp - 4]
push dword [eax + 8]
push 0x112
mov eax, dword [ebp - 4]
push dword [eax]
call sub.user32.dll_DefWindowProcA
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x20]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 0
mov eax, dword [0x5680e0]
call fcn.00427dd0
jmp 0x4d9d28
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
jne 0x4d9c95
jmp 0x4d9ce2
mov eax, dword [ebp - 4]
mov edx, dword [0x5680e0]
mov eax, dword [eax + 0x24]
cmp eax, dword [edx + 0x170]
je 0x4d9cab
jmp 0x4d9ce2
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
mov eax, dword [ebp - 4]
push dword [eax + 8]
push 0x112
mov eax, dword [ebp - 4]
push dword [eax]
call sub.user32.dll_DefWindowProcA
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x20]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 0
mov eax, dword [0x5680e0]
call fcn.00427dd0
jmp 0x4d9d28
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
jne 0x4d9ced
jmp 0x4d9d28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
test dword [eax + 0x48c], 8
jne 0x4d9d01
jmp 0x4d9d28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov dword [eax + 0xc], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 0
mov eax, dword [0x5684c0]
mov edx, dword [0x5684c0]
mov edx, dword [edx]
call dword [edx + 0x8c]
pop ebx
mov esp, ebp
pop ebp
ret