joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424d10
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, 0x587be0
lea eax, [ebp - 0x268]
call fcn.004100e0
xor eax, eax
push fcn.00424cf0
push ebp
push 0x415b90
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test eax, eax
jne 0x424d53
mov eax, 0x5d8a40
push eax
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
jne 0x424d9b
call sub.kernel32.dll_GetLastError
cmp eax, 0xa1
jbe 0x424d6f
clc
jmp 0x424d76
bt dword [0x5871b0], eax
jb 0x424d8f
mov eax, ebp
call fcn.00424e40
test al, al
je 0x424d8f
mov byte [ebp - 0x26c], 1
jmp 0x424e20
mov byte [ebp - 0x26c], 0
jmp 0x424e20
mov eax, esi
and eax, 0x10
movzx edx, byte [ebp - 8]
cmp eax, dword [edx*4 + 0x568ac0]
sete byte [ebp - 0x26c]
mov al, bl
and al, byte [ebp - 0x26c]
je 0x424e20
and esi, 0x400
je 0x424e20
lea ebx, [ebp - 0x268]
mov edx, 0x587be0
mov eax, ebx
call fcn.004101a0
mov edx, ebx
mov eax, dword [ebp - 4]
xor cl, cl
call fcn.004249b0
test eax, eax
je 0x424df4
sub eax, 1
je 0x424e0c
jmp 0x424e18
mov dl, byte [ebp - 8]
mov eax, dword [ebp - 0x268]
xor cl, cl
call fcn.00424d10
mov byte [ebp - 0x26c], al
jmp 0x424e20
mov byte [ebp - 0x26c], 1
jmp 0x424e20
mov byte [ebp - 0x26c], 0
nop
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00424cf0
mov al, byte [ebp - 0x26c]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x425030
Capabilities:
Get file attributes

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

Function at 0x425050
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edx
test eax, eax
jne 0x42505e
mov eax, 0x5d8a40
push eax
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
je 0x42506c
xor ebx, ebx
jmp 0x425073
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4250a0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x34]
push ebx
push esi
push edi
test al, al
jne 0x4250b8
mov byte [ebp - 4], 0x5c
mov byte [ebp - 3], 0
jmp 0x4250cf
and eax, 0xff
add eax, 0x40
mov byte [ebp - 4], al
mov byte [ebp - 3], 0x3a
mov byte [ebp - 2], 0x5c
mov byte [ebp - 1], 0
cmp dword [0x5d9f90], 0
je 0x42510b
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 4]
push eax
call dword [0x5d9f90]
test eax, eax
je 0x4250fd
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
mov edi, dword [ebp - 0x1c]
jmp 0x425156
mov dword [ebp - 0x34], 0xffffffff
mov edi, 0xffffffff
jmp 0x425156
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
je 0x42514a
mov eax, dword [ebp - 8]
mul dword [ebp - 0x14]
mov ebx, eax
mov eax, dword [ebp - 0xc]
xor esi, esi
mov ecx, ebx
imul ecx, esi
imul edx, eax
add ecx, edx
mul ebx
add edx, ecx
mov dword [ebp - 0x34], eax
mov edi, edx
jmp 0x425156
mov dword [ebp - 0x34], 0xffffffff
mov edi, 0xffffffff
mov edx, edi
mov eax, dword [ebp - 0x34]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x425200
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.004251f0
push ebp
push 0x415b90
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 0x425270
lea edx, [ebx - 1]
lea eax, [ebp - 4]
call fcn.0040d0c0
cmp ebx, 1
jle 0x425260
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.0040c870
jmp 0x42527b
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0040a4d0
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004251f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x425680
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.00425670
push ebp
push 0x415b90
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea esi, [esi]
add ebx, 1
lea eax, [ebx*4 + 0x5d9f2c]
xor edx, edx
call fcn.0040a4d0
mov dword [ebx*4 + 0x5d9f4c], 0xffffffff
cmp ebx, 7
jl 0x4256a8
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 0x425734
lea esi, [esi]
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
xor cx, cx
mov edx, 0xa
call fcn.0040aec0
mov eax, dword [ebp - 0x10]
mov edx, 1
call fcn.0041b690
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x425734
push 4
push ebx
push esi
mov eax, 0x425550
push eax
call sub.kernel32.dll_EnumCalendarInfoA
push 3
push ebx
push esi
mov eax, 0x4255e0
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.00425670
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x425d80
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x1c]
push ebx
push esi
push edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
xor edx, edx
push fcn.00425d50
push ebp
push 0x415b90
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0xc]
call fcn.0041ae50
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.0040a4d0
lea eax, [ebp - 4]
mov cl, 1
mov dx, 1
call fcn.0040bb20
mov eax, dword [ebp - 0x18]
xor edx, edx
call fcn.0040a4d0
call sub.kernel32.dll_GetEnvironmentStringsA
mov dword [ebp - 0x1c], eax
mov ebx, eax
jmp 0x425e8c
lea ecx, [ebp - 8]
mov eax, ebx
xor dx, dx
call fcn.0040ae20
mov eax, dword [ebp - 8]
test eax, eax
je 0x425e17
mov eax, dword [eax - 4]
mov edi, eax
lea eax, [ebp - 8]
xor cl, cl
mov dx, 1
call fcn.0040bb20
mov edx, dword [ebp - 8]
mov ecx, 1
mov al, 0x3d
call fcn.0040b450
mov esi, eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi - 1]
mov eax, dword [ebp - 8]
mov edx, 1
call fcn.0040b2f0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0041ae50
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.0040b090
test eax, eax
jne 0x425e84
push dword [ebp - 0x18]
mov eax, dword [ebp - 8]
test eax, eax
je 0x425e73
mov eax, dword [eax - 4]
sub eax, esi
mov ecx, eax
lea edx, [esi + 1]
mov eax, dword [ebp - 8]
call fcn.0040b2f0
jmp 0x425e95
lea eax, [ebx + edi]
add eax, 1
mov ebx, eax
cmp byte [ebx], 0
jne 0x425e00
push dword [ebp - 0x1c]
call sub.kernel32.dll_FreeEnvironmentStringsA
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00425d50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425ef0
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.00425ec0
push ebp
push 0x415b90
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
xor edx, edx
call fcn.0040ca20
call sub.kernel32.dll_GetEnvironmentStringsW
mov edi, eax
mov esi, edi
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00421450
jmp 0x425fc8
lea edx, [ebp - 4]
mov eax, esi
call fcn.0040c9d0
mov edx, dword [ebp - 4]
mov ecx, 1
mov al, 0x3d
call fcn.0040d4a0
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx - 1]
mov eax, dword [ebp - 4]
mov edx, 1
call fcn.0040d240
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00421450
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0040d080
test eax, eax
jne 0x425fb8
push dword [ebp - 0x14]
mov eax, dword [ebp - 4]
test eax, eax
je 0x425fa6
mov eax, dword [eax - 4]
sub eax, ebx
mov ecx, eax
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
call fcn.0040d240
jmp 0x425fcf
mov eax, esi
call fcn.004062b0
shl eax, 1
add eax, esi
add eax, 2
mov esi, eax
cmp word [esi], 0
jne 0x425f50
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.00425ec0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x426000
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x94]
mov dword [0x5d9f90], 0
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
mov eax, dword [ebp - 0x84]
mov dword [0x5d9df0], eax
mov eax, dword [ebp - 0x90]
mov dword [0x5d9e00], eax
mov eax, dword [ebp - 0x8c]
mov dword [0x5d9e10], eax
mov eax, dword [ebp - 0x88]
mov dword [0x5d9e20], eax
mov edx, 0x5d9e31
lea eax, [ebp - 0x80]
mov ecx, pe_nt_image_headers32
call fcn.00405130
lea eax, [ebp - 0x80]
call fcn.00406290
mov byte [0x5d9e30], al
mov eax, 0x587280
push eax
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x5d9fa0], eax
test eax, eax
je 0x4260a0
mov eax, 0x58728c
push eax
push dword [0x5d9fa0]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5d9f90], eax
nop
cmp dword [0x5d9e00], 6
jae 0x4260b4
mov dword [0x568380], 0
nop
cmp dword [0x5d9e00], 6
jb 0x4260d0
cmp dword [0x5d9e10], 1
jb 0x4260d0
mov dword [0x568390], 2
mov esp, ebp
pop ebp
ret
Function at 0x4281c0
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.004281b0
push ebp
push 0x415b90
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 0x4282d0
mov al, byte [ebp - 0x110]
test al, al
je 0x428299
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.004068e0
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.0040ad50
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.0040bb20
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, 0x5882e8
call fcn.00423800
mov edx, 0x42822a
mov ecx, ebp
call fcn.00415a50
jmp 0x4282d0
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, 0x5882e8
call fcn.00423800
mov edx, 0x428299
mov ecx, ebp
call fcn.00415a50
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_LoadResource
mov dword [esi + 0x14], eax
test eax, eax
jne 0x428394
mov al, byte [ebp - 0x110]
test al, al
je 0x42835d
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.004068e0
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.0040ad50
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.0040bb20
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, 0x5882e8
call fcn.00423800
mov edx, 0x4282ee
mov ecx, ebp
call fcn.00415a50
jmp 0x428394
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, 0x5882e8
call fcn.00423800
mov edx, 0x42835d
mov ecx, ebp
call fcn.00415a50
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.00427b20
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004281b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42b450
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, 0x588f74
call fcn.0040e8f0
test al, al
je 0x42b536
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
call fcn.0042b550
xor eax, eax
push fcn.0042b440
push ebp
push 0x415b90
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.0040a4d0
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.0042a660
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 8]
call fcn.0042a1b0
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.0042b440
jmp 0x42b541
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0042d9e0
mov esp, ebp
pop ebp
ret
Function at 0x438b90
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 0x438c3a
mov eax, dword [ebp - 0x1c]
sub eax, 2
test eax, eax
jl 0x438c56
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 0x438c56
sub dx, 0x20
je 0x438c30
sub dx, 0x80
je 0x438c30
sub dx, 0x1f62
jb 0x438c56
sub dx, 1
jbe 0x438c30
sub dx, 6
je 0x438c30
sub dx, 0x26
jne 0x438c56
nop
jmp 0x438c30
cmp eax, dword [ebp - 0x20]
jg 0x438bd8
lea esi, [esi]
jmp 0x438c56
cmp dword [ebp - 0x1c], 2
jne 0x438c4a
mov ax, word [ebp - 0x18]
mov word [ebp - 0x24], ax
jmp 0x438c56
mov al, byte [ebp - 0xc]
call fcn.0040cd20
mov word [ebp - 0x24], ax
mov ax, word [ebp - 0x24]
sub ax, 0x7f
jbe 0x438cd4
sub ax, 0x21
je 0x438ce8
sub ax, 0x17
je 0x438cf4
sub ax, 0x222
je 0x438d00
sub ax, 0x392
je 0x438d08
sub ax, 1
je 0x438d10
sub ax, 0x1996
je 0x438d18
sub ax, 1
je 0x438d20
sub ax, 6
je 0x438d28
sub ax, 0xb
je 0x438d38
sub ax, 0x1b
je 0x438d30
sub ax, 0x367
je 0x438d40
jmp 0x438d48
mov ax, word [ebp - 0x24]
call fcn.0040cdc0
mov byte [ebp - 0x10], al
jmp 0x438d50
mov byte [ebp - 0x10], 0x20
jmp 0x438d50
mov byte [ebp - 0x10], 0x2e
jmp 0x438d50
mov byte [ebp - 0x10], 0x27
jmp 0x438d50
mov byte [ebp - 0x10], 0x2c
jmp 0x438d50
mov byte [ebp - 0x10], 0x27
jmp 0x438d50
mov byte [ebp - 0x10], 0x20
jmp 0x438d50
mov byte [ebp - 0x10], 0x20
jmp 0x438d50
mov byte [ebp - 0x10], 0x20
jmp 0x438d50
mov byte [ebp - 0x10], 0x20
jmp 0x438d50
mov byte [ebp - 0x10], 0x2d
jmp 0x438d50
mov byte [ebp - 0x10], 0x27
jmp 0x438d50
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 0x4413d0
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 0x441401
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 0x4413f0
pop esi
pop ebx
ret
Function at 0x457030
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 0x45704b
jmp 0x457058
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 0x457060
jmp 0x457068
jmp 0x457116
xor eax, eax
push 0x4570f3
push ebp
push 0x415f10
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 0x45709e
jmp 0x4570c4
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.00427b20
mov esi, esi
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0xc], 0
jne 0x4570d3
jmp 0x4570e8
cmp dword [ebp - 8], 0
jne 0x4570db
jmp 0x4570e8
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 0x457116
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x47ac60
Capabilities:
Access peb ldr_data
Get kernel32 base address

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 0x47ac7b
jmp 0x47ac88
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 0x47ac90
jmp 0x47ac98
jmp 0x47ad4a
xor eax, eax
push 0x47ad27
push ebp
push 0x415f10
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0xc]
mov edx, 0
call fcn.0040e9d0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x20], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x34], 0
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0xc], 0
jne 0x47ad09
jmp 0x47ad1c
cmp dword [ebp - 8], 0
jne 0x47ad11
jmp 0x47ad1c
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call dword [edx + 0x44]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
jmp 0x47ad4a
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4cea10
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 0x4cea34
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 0x4ceafa
mov esi, esi
xor eax, eax
push 0x4ceadb
push ebp
push 0x415f10
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0040e9d0
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, 0x588bd0
call fcn.004299f0
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
call fcn.004cec90
mov edx, dword [ebp - 8]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 8]
call fcn.004ced00
mov edx, dword [ebp - 8]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 8]
call fcn.004ced70
mov edx, dword [ebp - 8]
mov dword [edx + 0x30], eax
mov dword [ebp - 0xc], 1
cmp dword [ebp - 8], 0
je 0x4cead0
cmp dword [ebp - 4], 0
je 0x4cead0
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 0x4ceafa
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4efe40
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
lea esi, [ecx - 1]
test esi, esi
jl 0x4efe74
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 + 0x5dae50]
mov eax, ecx
add edx, 1
cmp esi, edi
jg 0x4efe50
pop edi
pop esi
pop ebx
ret

Function at 0x4f8060
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov esi, eax
cmp dword [esi + 0x14], 0xca
jne 0x4f8094
mov eax, esi
call fcn.004fc5e0
cmp byte [esi + 0x40], 0
je 0x4f808c
mov dword [esi + 0x14], 0xcf
mov bl, 1
jmp 0x4f8145
mov dword [esi + 0x14], 0xcb
nop
cmp dword [esi + 0x14], 0xcb
jne 0x4f8124
mov eax, dword [esi + 0x184]
cmp byte [eax + 0x10], 0
je 0x4f811c
lea esi, [esi]
cmp dword [esi + 8], 0
je 0x4f80c8
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 0x4f80e0
xor bl, bl
jmp 0x4f8145
cmp edi, 2
je 0x4f811a
lea esi, [esi]
cmp dword [esi + 8], 0
je 0x4f80b8
cmp edi, 3
je 0x4f80f8
cmp edi, 1
jne 0x4f80b8
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 0x4f80b8
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x110]
add dword [edx + 8], eax
mov esi, esi
jmp 0x4f80b8
mov esi, esi
mov eax, dword [esi + 0x70]
mov dword [esi + 0x78], eax
jmp 0x4f813c
cmp dword [esi + 0x14], 0xcc
je 0x4f813c
mov ecx, dword [esi + 0x14]
mov eax, esi
mov dl, 0x14
call fcn.004f8480
lea esi, [esi]
mov eax, esi
call fcn.004f8150
mov bl, al
mov al, bl
pop edi
pop esi
pop ebx
ret