joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b4a0
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.0042b490
push ebp
push 0x4141a0
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 0x42b5b0
mov al, byte [ebp - 0x110]
test al, al
je 0x42b579
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.00405050
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.004094c0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.0040a290
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, 0x5977a8
call fcn.00444330
mov edx, 0x42b50a
mov ecx, ebp
call fcn.00414060
jmp 0x42b5b0
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, 0x5977a8
call fcn.00444330
mov edx, 0x42b579
mov ecx, ebp
call fcn.00414060
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_LoadResource
mov dword [esi + 0x14], eax
test eax, eax
jne 0x42b674
mov al, byte [ebp - 0x110]
test al, al
je 0x42b63d
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.00405050
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.004094c0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.0040a290
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, 0x5977a8
call fcn.00444330
mov edx, 0x42b5ce
mov ecx, ebp
call fcn.00414060
jmp 0x42b674
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, 0x5977a8
call fcn.00444330
mov edx, 0x42b63d
mov ecx, ebp
call fcn.00414060
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.0042ae30
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0042b490
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42e730
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, 0x598434
call fcn.0040d080
test al, al
je 0x42e816
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
call fcn.0042e830
xor eax, eax
push fcn.0042e720
push ebp
push 0x4141a0
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.00408c40
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.0042d940
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 8]
call fcn.0042d490
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.0042e720
jmp 0x42e821
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00430cc0
mov esp, ebp
pop ebp
ret
Function at 0x43ae10
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.0043ae00
push ebp
push 0x4141a0
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.00408c40
lea eax, [ebp - 0xc10]
call fcn.00403da0
lea eax, [ebp - 0xc1c]
push eax
mov eax, dword [ebp - 0xc10]
test eax, eax
jne 0x43ae70
mov eax, 0x5e92f0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc18], eax
cmp eax, 0xc00
jbe 0x43af1a
mov edx, dword [ebp - 0xc18]
lea eax, [ebp - 0xc0c]
call fcn.0040fae0
xor eax, eax
push fcn.0043adf0
push ebp
push 0x4141a0
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 0x43aecc
mov eax, 0x5e92f0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x43af08
lea eax, [ebp - 0xc14]
push eax
lea eax, [ebp - 0xc20]
push eax
mov eax, 0x59d15c
push eax
push dword [ebp - 0xc0c]
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x43af08
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.0043adf0
jmp 0x43af78
lea eax, [ebp - 0xc08]
push eax
push dword [ebp - 0xc18]
push dword [ebp - 0xc1c]
mov eax, dword [ebp - 0xc10]
test eax, eax
jne 0x43af3c
mov eax, 0x5e92f0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x43af78
lea eax, [ebp - 0xc14]
push eax
lea eax, [ebp - 0xc20]
push eax
mov eax, 0x59d15c
push eax
lea eax, [ebp - 0xc08]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x43af78
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.0043ae00
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x445860
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, 0x59e0a8
lea eax, [ebp - 0x268]
call fcn.0040e890
xor eax, eax
push fcn.00445840
push ebp
push 0x4141a0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4458a3
mov eax, 0x5e92f0
push eax
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
jne 0x4458eb
call sub.kernel32.dll_GetLastError
cmp eax, 0xa1
jbe 0x4458bf
clc
jmp 0x4458c6
bt dword [0x59d610], eax
jb 0x4458df
mov eax, ebp
call fcn.00445990
test al, al
je 0x4458df
mov byte [ebp - 0x26c], 1
jmp 0x445970
mov byte [ebp - 0x26c], 0
jmp 0x445970
mov eax, esi
and eax, 0x10
movzx edx, byte [ebp - 8]
cmp eax, dword [edx*4 + 0x573b70]
sete byte [ebp - 0x26c]
mov al, bl
and al, byte [ebp - 0x26c]
je 0x445970
and esi, 0x400
je 0x445970
lea ebx, [ebp - 0x268]
mov edx, 0x59e0a8
mov eax, ebx
call fcn.0040e950
mov edx, ebx
mov eax, dword [ebp - 4]
xor cl, cl
call fcn.00445500
test eax, eax
je 0x445944
sub eax, 1
je 0x44595c
jmp 0x445968
mov dl, byte [ebp - 8]
mov eax, dword [ebp - 0x268]
xor cl, cl
call fcn.00445860
mov byte [ebp - 0x26c], al
jmp 0x445970
mov byte [ebp - 0x26c], 1
jmp 0x445970
mov byte [ebp - 0x26c], 0
nop
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00445840
mov al, byte [ebp - 0x26c]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x445b80
Capabilities:
Get file attributes

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

Function at 0x445c30
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.00445c20
push ebp
push 0x4141a0
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 0x445ca0
lea edx, [ebx - 1]
lea eax, [ebp - 4]
call fcn.0040b830
cmp ebx, 1
jle 0x445c90
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.0040afe0
jmp 0x445cab
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00408c40
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00445c20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4460b0
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.004460a0
push ebp
push 0x4141a0
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea esi, [esi]
add ebx, 1
lea eax, [ebx*4 + 0x5ea9cc]
xor edx, edx
call fcn.00408c40
mov dword [ebx*4 + 0x5ea9ec], 0xffffffff
cmp ebx, 7
jl 0x4460d8
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 0x446164
lea esi, [esi]
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
xor cx, cx
mov edx, 0xa
call fcn.00409630
mov eax, dword [ebp - 0x10]
mov edx, 1
call fcn.0043c910
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x446164
push 4
push ebx
push esi
mov eax, 0x445f80
push eax
call sub.kernel32.dll_EnumCalendarInfoA
push 3
push ebx
push esi
mov eax, 0x446010
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.004460a0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4467b0
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.00446780
push ebp
push 0x4141a0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
xor edx, edx
call fcn.0040b190
call sub.kernel32.dll_GetEnvironmentStringsW
mov edi, eax
mov esi, edi
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00442480
jmp 0x446888
lea edx, [ebp - 4]
mov eax, esi
call fcn.0040b140
mov edx, dword [ebp - 4]
mov ecx, 1
mov al, 0x3d
call fcn.0040bc10
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx - 1]
mov eax, dword [ebp - 4]
mov edx, 1
call fcn.0040b9b0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00442480
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0040b7f0
test eax, eax
jne 0x446878
push dword [ebp - 0x14]
mov eax, dword [ebp - 4]
test eax, eax
je 0x446866
mov eax, dword [eax - 4]
sub eax, ebx
mov ecx, eax
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
call fcn.0040b9b0
jmp 0x44688f
mov eax, esi
call fcn.00404a00
shl eax, 1
add eax, esi
add eax, 2
mov esi, eax
cmp word [esi], 0
jne 0x446810
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.00446780
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4468c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x94]
mov dword [0x5eaa30], 0
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
mov eax, dword [ebp - 0x84]
mov dword [0x5ea890], eax
mov eax, dword [ebp - 0x90]
mov dword [0x5ea8a0], eax
mov eax, dword [ebp - 0x8c]
mov dword [0x5ea8b0], eax
mov eax, dword [ebp - 0x88]
mov dword [0x5ea8c0], eax
mov edx, 0x5ea8d1
lea eax, [ebp - 0x80]
mov ecx, pe_nt_image_headers32
call fcn.00403810
lea eax, [ebp - 0x80]
call fcn.004049e0
mov byte [0x5ea8d0], al
mov eax, 0x59d6e0
push eax
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x5eaa40], eax
test eax, eax
je 0x446960
mov eax, 0x59d6ec
push eax
push dword [0x5eaa40]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5eaa30], eax
nop
cmp dword [0x5ea8a0], 6
jae 0x446974
mov dword [0x573430], 0
nop
cmp dword [0x5ea8a0], 6
jb 0x446990
cmp dword [0x5ea8b0], 1
jb 0x446990
mov dword [0x573440], 2
mov esp, ebp
pop ebp
ret

Function at 0x44c360
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 0x44c37b
jmp 0x44c388
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 0x44c390
jmp 0x44c398
jmp 0x44c446
xor eax, eax
push 0x44c423
push ebp
push 0x414520
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 0x44c3ce
jmp 0x44c3f4
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.0042ae30
mov esi, esi
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0xc], 0
jne 0x44c403
jmp 0x44c418
cmp dword [ebp - 8], 0
jne 0x44c40b
jmp 0x44c418
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 0x44c446
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x46ffa0
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 0x46ffbb
jmp 0x46ffc8
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 0x46ffd0
jmp 0x46ffd8
jmp 0x47008a
xor eax, eax
push 0x470067
push ebp
push 0x414520
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0xc]
mov edx, 0
call fcn.0040d160
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 0x470049
jmp 0x47005c
cmp dword [ebp - 8], 0
jne 0x470051
jmp 0x47005c
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 0x47008a
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x499260
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 0x49930a
mov eax, dword [ebp - 0x1c]
sub eax, 2
test eax, eax
jl 0x499326
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 0x499326
sub dx, 0x20
je 0x499300
sub dx, 0x80
je 0x499300
sub dx, 0x1f62
jb 0x499326
sub dx, 1
jbe 0x499300
sub dx, 6
je 0x499300
sub dx, 0x26
jne 0x499326
nop
jmp 0x499300
cmp eax, dword [ebp - 0x20]
jg 0x4992a8
lea esi, [esi]
jmp 0x499326
cmp dword [ebp - 0x1c], 2
jne 0x49931a
mov ax, word [ebp - 0x18]
mov word [ebp - 0x24], ax
jmp 0x499326
mov al, byte [ebp - 0xc]
call fcn.0040b490
mov word [ebp - 0x24], ax
mov ax, word [ebp - 0x24]
sub ax, 0x7f
jbe 0x4993a4
sub ax, 0x21
je 0x4993b8
sub ax, 0x17
je 0x4993c4
sub ax, 0x222
je 0x4993d0
sub ax, 0x392
je 0x4993d8
sub ax, 1
je 0x4993e0
sub ax, 0x1996
je 0x4993e8
sub ax, 1
je 0x4993f0
sub ax, 6
je 0x4993f8
sub ax, 0xb
je 0x499408
sub ax, 0x1b
je 0x499400
sub ax, 0x367
je 0x499410
jmp 0x499418
mov ax, word [ebp - 0x24]
call fcn.0040b530
mov byte [ebp - 0x10], al
jmp 0x499420
mov byte [ebp - 0x10], 0x20
jmp 0x499420
mov byte [ebp - 0x10], 0x2e
jmp 0x499420
mov byte [ebp - 0x10], 0x27
jmp 0x499420
mov byte [ebp - 0x10], 0x2c
jmp 0x499420
mov byte [ebp - 0x10], 0x27
jmp 0x499420
mov byte [ebp - 0x10], 0x20
jmp 0x499420
mov byte [ebp - 0x10], 0x20
jmp 0x499420
mov byte [ebp - 0x10], 0x20
jmp 0x499420
mov byte [ebp - 0x10], 0x20
jmp 0x499420
mov byte [ebp - 0x10], 0x2d
jmp 0x499420
mov byte [ebp - 0x10], 0x27
jmp 0x499420
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 0x4d3980
Capabilities:
Encode data using xor

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

Function at 0x4db970
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 0x4db9a1
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 0x4db990
pop esi
pop ebx
ret

Function at 0x4dd180
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 0x4dd1a4
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 0x4dd26a
mov esi, esi
xor eax, eax
push 0x4dd24b
push ebp
push 0x414520
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0040d160
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, 0x598090
call fcn.0042ccd0
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
call fcn.004dd400
mov edx, dword [ebp - 8]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 8]
call fcn.004dd470
mov edx, dword [ebp - 8]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 8]
call fcn.004dd4e0
mov edx, dword [ebp - 8]
mov dword [edx + 0x30], eax
mov dword [ebp - 0xc], 1
cmp dword [ebp - 8], 0
je 0x4dd240
cmp dword [ebp - 4], 0
je 0x4dd240
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 0x4dd26a
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e5190
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov esi, eax
cmp dword [esi + 0x14], 0xca
jne 0x4e51c4
mov eax, esi
call fcn.004e9710
cmp byte [esi + 0x40], 0
je 0x4e51bc
mov dword [esi + 0x14], 0xcf
mov bl, 1
jmp 0x4e5275
mov dword [esi + 0x14], 0xcb
nop
cmp dword [esi + 0x14], 0xcb
jne 0x4e5254
mov eax, dword [esi + 0x184]
cmp byte [eax + 0x10], 0
je 0x4e524c
lea esi, [esi]
cmp dword [esi + 8], 0
je 0x4e51f8
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 0x4e5210
xor bl, bl
jmp 0x4e5275
cmp edi, 2
je 0x4e524a
lea esi, [esi]
cmp dword [esi + 8], 0
je 0x4e51e8
cmp edi, 3
je 0x4e5228
cmp edi, 1
jne 0x4e51e8
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 0x4e51e8
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x110]
add dword [edx + 8], eax
mov esi, esi
jmp 0x4e51e8
mov esi, esi
mov eax, dword [esi + 0x70]
mov dword [esi + 0x78], eax
jmp 0x4e526c
cmp dword [esi + 0x14], 0xcc
je 0x4e526c
mov ecx, dword [esi + 0x14]
mov eax, esi
mov dl, 0x14
call fcn.004e55b0
lea esi, [esi]
mov eax, esi
call fcn.004e5280
mov bl, al
mov al, bl
pop edi
pop esi
pop ebx
ret
Function at 0x518650
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 0x518666
jmp 0x5186a0
mov eax, dword [0x5730f0]
mov edx, dword [ebp - 4]
mov eax, dword [eax + 0x170]
cmp eax, dword [edx + 0x24]
je 0x51867b
jmp 0x5186a0
mov eax, dword [0x5730f0]
cmp byte [eax + 0x11c], 0
je 0x51868b
jmp 0x5186a0
mov eax, dword [0x575930]
mov edx, dword [0x575930]
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 [0x575930]
mov edx, dword [0x575930]
mov edx, dword [edx]
call dword [edx + 0x6c]
cmp eax, dword [ebx]
je 0x5186bc
jmp 0x51879a
mov eax, dword [0x5730f0]
cmp byte [eax + 0x11c], 0
je 0x5186cf
jmp 0x51879a
mov eax, dword [0x575930]
mov edx, dword [0x575930]
mov edx, dword [edx]
call dword [edx + 0x6c]
call fcn.00528e20
mov eax, dword [0x5730f0]
cmp dword [eax + 0x170], 0
jne 0x5186f4
jmp 0x518760
push 0x10
push 0
mov eax, dword [0x5730f0]
mov eax, dword [eax + 0x170]
push dword [eax + 0x254]
mov eax, dword [0x5730f0]
mov eax, dword [eax + 0x170]
push dword [eax + 0x248]
mov eax, dword [0x5730f0]
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 [0x5730f0]
mov eax, dword [eax + 0x170]
call fcn.0045e920
test al, al
jne 0x51874d
jmp 0x518760
push 0
mov eax, dword [0x5730f0]
call fcn.00421590
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 [0x5730f0]
call fcn.00424ad0
jmp 0x518838
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
jne 0x5187a5
jmp 0x5187f2
mov eax, dword [ebp - 4]
mov edx, dword [0x5730f0]
mov eax, dword [eax + 0x24]
cmp eax, dword [edx + 0x170]
je 0x5187bb
jmp 0x5187f2
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 [0x5730f0]
call fcn.00424ad0
jmp 0x518838
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
jne 0x5187fd
jmp 0x518838
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
test dword [eax + 0x48c], 8
jne 0x518811
jmp 0x518838
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 [0x575930]
mov edx, dword [0x575930]
mov edx, dword [edx]
call dword [edx + 0x8c]
pop ebx
mov esp, ebp
pop ebp
ret