joyce8/EMBER2024-capa huggingface dataset:
Function at 0x497bb0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x497bc7
add esp, 0xfffffff0
call fcn.004043c4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042d50c
mov eax, dword [0x54f85c]
cmp byte [eax], 0
jne 0x497bf4
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x54fd54]
cmp word [eax + 2], 0
jne 0x497c0e
mov eax, dword [0x54fd54]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00499b14
mov eax, dword [0x54ff0c]
cmp word [eax + 2], 0
jne 0x497c28
mov eax, dword [0x54ff0c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00499d24
mov byte [ebx + 0x31], 0
mov dl, 1
mov eax, dword [0x433040]
call fcn.00434ec8
mov esi, eax
mov dword [ebx + 0x38], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x49a1b8
mov dl, 1
mov eax, dword [0x420500]
call fcn.00403eb0
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x420500]
call fcn.00403eb0
mov dword [ebx + 0xac], eax
xor eax, eax
mov dword [ebx + 0x5c], eax
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x58], 0xff000018
mov dword [ebx + 0x74], 0x1f4
mov byte [ebx + 0x78], 1
xor eax, eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x70], 0x9c4
mov byte [ebx + 0x84], 0
mov byte [ebx + 0xa1], 1
mov byte [ebx + 0xb8], 1
mov dl, 1
mov eax, dword [0x433ca0]
call fcn.0043cd70
mov esi, eax
mov dword [ebx + 0x9c], esi
push 0x497e04
mov eax, dword [0x54fb34]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0043d174
mov eax, dword [ebx + 0x9c]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x49a468
mov dl, 1
mov eax, dword [0x420500]
call fcn.00403eb0
mov dword [ebx + 0x94], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x54fb34]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0040d734
test eax, eax
je 0x497d36
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0040d4e0
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0040d71c
test eax, eax
je 0x497d4e
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x88]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00405d40
push ebx
push 0x499510
call fcn.0048e3ec
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xcc], 0
mov eax, dword [0x54f85c]
cmp byte [eax], 0
jne 0x497d9f
mov eax, ebx
call fcn.00497f78
mov byte [ebx + 0x55], 1
mov byte [ebx + 0x56], 1
mov byte [ebx + 0x57], 1
mov byte [ebx + 0xa2], 1
mov byte [ebx + 0xcd], 0
mov byte [ebx + 0xd8], 0
xor eax, eax
mov dword [ebx + 0xd0], eax
mov byte [ebx + 0xcf], 0
xor eax, eax
mov dword [ebx + 0xa4], eax
mov eax, ebx
call fcn.0049a690
mov eax, ebx
call fcn.0049b254
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x497dfc
call fcn.0040441c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x498220
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4982c2
cmp dword [ebx + 0x90], 0
jne 0x4982bc
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x498198
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x8c]
cmp dword [eax + 8], 0
je 0x4982bc
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x498282
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x8c]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4982bc
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x8c]
call fcn.00423048
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x498291
inc dword [ebx + 0x90]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4984e0
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5561c4]
cmp dword [eax + 0x170], 0
je 0x498645
test bl, bl
jne 0x498593
cmp dword [esi + 0x98], 0
jne 0x498588
mov eax, esi
call fcn.0049b0a4
push eax
push 0x4983ec
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x40], 0
je 0x498559
mov eax, dword [0x5561c4]
cmp byte [eax + 0xcf], 0
je 0x498559
mov eax, dword [esi + 0xd4]
call fcn.00407178
mov edi, eax
cmp edi, 0
jl 0x498559
push 0
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x498542
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x498588
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.00423048
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x498568
inc dword [esi + 0x98]
jmp 0x498645
cmp dword [esi + 0x98], 0
jle 0x498645
dec dword [esi + 0x98]
cmp dword [esi + 0x98], 0
jne 0x498645
cmp dword [esi + 0x40], 0
je 0x4985f0
mov eax, dword [0x5561c4]
cmp byte [eax + 0xcf], 0
je 0x4985f0
mov eax, dword [esi + 0xd4]
call fcn.00407178
mov edi, eax
cmp edi, 0
jl 0x4985f0
push 5
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4985d9
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x49861f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.00423048
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4985ff
mov eax, dword [esi + 0x94]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd4]
mov ecx, 1
mov edx, dword [0x48ddf8]
call fcn.00407338
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x499200
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa8], 0
je 0x49926b
cmp byte [ebx + 0xcf], 0
jne 0x49926b
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405c7c
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x499258
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x499278
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.00405b40
jmp 0x499278
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.00405b40
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x49a864
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x80]
test esi, esi
je 0x49a8d2
mov eax, esi
call fcn.00481254
test al, al
je 0x49a8d2
mov eax, dword [ebx + 0x80]
call fcn.00480ea8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x49a8d2
mov eax, dword [ebx + 0x80]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x49a8c6
push 0
mov eax, dword [ebx + 0x80]
call fcn.00480ea8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x80]
call fcn.004784cc
jmp 0x49a8d2
mov cl, 1
mov edx, dword [ebx + 0x70]
mov eax, ebx
call fcn.0049a6b0
pop esi
pop ebx
ret

Function at 0x49cb40
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x5561f4
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x49cb62
shr eax, 1
xor eax, 0xedb88320
jmp 0x49cb64
shr eax, 1
dec edx
jne 0x49cb50
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x49cb49
mov byte [0x5565f4], 1
pop esi
pop ebx
ret

Function at 0x49cb80
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x5565f4], 0
jne 0x49cb97
call fcn.0049cb40
mov eax, edi
dec eax
test eax, eax
jl 0x49cbbf
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5561f4]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x49cba1
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x49f630
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x49f6ca.0
jmp dword [ecx*4 + 0x49f663]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x49f695
sub dl, 8
je 0x49f6a4
jmp case.0x49f6ca.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x49f2d8
jmp case.0x49f6ca.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x49f330
jmp case.0x49f6ca.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x49f6ca.0
movzx ecx, byte [ecx + 0x49f6d1]
jmp dword [ecx*4 + 0x49f6e2]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x49f3dc
jmp case.0x49f6ca.0
cmp dl, 3
jne 0x49f70f
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x49f434
jmp case.0x49f6ca.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x49f3f0
jmp case.0x49f6ca.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x49f478
jmp case.0x49f6ca.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x49f73a
sub dl, 8
je 0x49f746
jmp case.0x49f6ca.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x49f4a4
jmp case.0x49f6ca.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x49f510
jmp case.0x49f6ca.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x49f765
sub dl, 8
je 0x49f771
jmp case.0x49f6ca.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x49f5cc
jmp case.0x49f6ca.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x49f5f4
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x10], edx
mov esi, ecx
test esi, esi
jb 0x49f813
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0049e7dc
test eax, eax
je 0x49f813
mov eax, ebx
call fcn.0049f81c
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x49f7ac
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x49f81c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x49f84d
dec al
je 0x49f888
dec al
je 0x49f8cd
dec al
je 0x49f936
jmp 0x49f9c0
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x49f9c0
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x49f85d
jmp 0x49f9c0
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x49f9c0
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x49f898
jmp 0x49f9c0
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x49f9c0
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x49f8fc
xor ebp, ebp
jmp 0x49f90c
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x49f915
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x49f8dd
jmp 0x49f9c0
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x49f9c0
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x49f98f
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.0049cbc8
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x49f94a
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4a6d78
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a6dee
push dword fs:[eax]
mov dword fs:[eax], esp
test dl, dl
je 0x4a6db9
mov byte [ebx + 0x18a5], 1
cmp byte [ebx + 0x18a6], 0
jne 0x4a6da8
call fcn.00404a5c
pop ebx
pop ebp
ret
push 5
mov eax, ebx
call fcn.00480ea8
push eax
call sub.user32.dll_ShowWindow
jmp 0x4a6de0
mov byte [ebx + 0x18a5], 0
cmp byte [ebx + 0x18a6], 0
jne 0x4a6dd1
call fcn.00404a5c
pop ebx
pop ebp
ret
push 0
mov eax, ebx
call fcn.00480ea8
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6df5
ret
Function at 0x4aa760
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
cmp dword [ebp + 0x14], 0
je 0x4aa8f4
xor eax, eax
push ebp
push 0x4aa824
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x4aa81a
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x14]
call fcn.004a2928
mov esi, eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004a2928
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.004a2928
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp + 8]
lea ebx, [ebx + ebx*2]
dec ebx
test ebx, ebx
jl 0x4aa812
inc ebx
xor ecx, ecx
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + ecx]
movzx edx, byte [ebp + 0x10]
mov edi, 0xff
sub edi, edx
imul edi
mov edi, 0xff
cdq
idiv edi
push eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + ecx]
movzx edx, byte [ebp + 0x10]
imul edx
mov edi, 0xff
xor edx, edx
div edi
pop edx
add dl, al
mov byte [esi + ecx], dl
inc ecx
dec ebx
jne 0x4aa7d5
inc dword [ebp - 0xc]
dec dword [ebp - 0x18]
jne 0x4aa79e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4aa82e
xor eax, eax
push ebp
push 0x4aa8ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x4aa8e0
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x14]
call fcn.004a28cc
mov esi, eax
test esi, esi
je 0x4aa8d4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004a28cc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4aa8d4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.004a28cc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4aa8d4
mov ebx, dword [ebp + 8]
dec ebx
test ebx, ebx
jl 0x4aa8d4
inc ebx
xor ecx, ecx
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + ecx]
movzx edx, byte [ebp + 0x10]
mov edi, 0xff
sub edi, edx
imul edi
mov edi, 0xff
cdq
idiv edi
push eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + ecx]
movzx edx, byte [ebp + 0x10]
imul edx
mov edi, 0xff
xor edx, edx
div edi
pop edx
add dl, al
mov byte [esi + ecx], dl
inc ecx
dec ebx
jne 0x4aa897
inc dword [ebp - 0xc]
dec dword [ebp - 0x18]
jne 0x4aa853
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4aa8f4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4d4a68
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4d4a96
mov eax, ebx
call fcn.004d551c
cmp dword [ebx + 0x40], 0
je 0x4d4a8f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4d4b07
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4d4af9
cmp dword [ebx + 8], 0
je 0x4d4ab8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4d4aca
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4d4af9
cmp dword [ebx + 8], 0
je 0x4d4aab
cmp eax, 3
je 0x4d4add
dec eax
jne 0x4d4aab
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4d4aab
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4d4aab
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4d4b25
cmp dword [ebx + 0x14], 0xcc
je 0x4d4b25
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004d4b30
pop ebx
ret

Function at 0x4f93d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4f942a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004f93c4
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004f6890
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004f63f4
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f9431
lea eax, [ebp - 4]
call fcn.00405b30
ret
Function at 0x50e390
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x50e3e1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x50e3c8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x50e3b8
jmp 0x50e3e1
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x50e3c9
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5283bc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd70
push ebx
xor edx, edx
mov dword [ebp - 0x290], edx
mov dword [ebp - 0x28c], edx
mov dword [ebp - 0x284], edx
mov dword [ebp - 0x288], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405b28
lea eax, [ebp - 0x280]
mov edx, dword [0x40a258]
call fcn.004064f8
xor eax, eax
push ebp
push 0x528576
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040ce8c
test al, al
je 0x52852a
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00405b94
lea eax, [ebp - 0x288]
mov edx, dword [ebp - 0xc]
call fcn.00405dbc
mov eax, dword [ebp - 0x288]
lea ecx, [ebp - 0x284]
mov edx, 1
call fcn.0040a0bc
mov eax, dword [ebp - 0x284]
mov edx, 0x528588
call fcn.00405a38
je 0x52846e
lea eax, [ebp - 0xc]
mov edx, 0x528598
call fcn.00405e94
lea eax, [ebp - 0x28c]
mov ecx, 0x5285a8
mov edx, dword [ebp - 0xc]
call fcn.00405f14
mov eax, dword [ebp - 0x28c]
lea ecx, [ebp - 0x280]
mov edx, 0x1ff
call fcn.0040d048
test eax, eax
jne 0x528517
mov eax, dword [ebp - 0x26c]
mov edx, 0x5285b8
call fcn.0040618c
je 0x528508
mov eax, dword [ebp - 0x26c]
mov edx, 0x5285c8
call fcn.0040618c
je 0x528508
test byte [ebp - 0x270], 0x10
je 0x5284e9
lea eax, [ebp - 0x290]
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ebp - 0xc]
call fcn.00405f14
mov eax, dword [ebp - 0x290]
call fcn.005283bc
jmp 0x528508
lea eax, [ebp - 8]
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ebp - 0xc]
call fcn.00405f14
mov eax, dword [ebp - 8]
call fcn.00405bcc
push eax
call sub.kernel32.dll_DeleteFileW
lea eax, [ebp - 0x280]
call fcn.0040d098
test eax, eax
je 0x52849b
lea eax, [ebp - 0x280]
call fcn.0040d0bc
mov eax, dword [ebp - 0xc]
call fcn.0040d44c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52857d
lea eax, [ebp - 0x290]
mov edx, 2
call fcn.00405b38
lea eax, [ebp - 0x288]
mov edx, 2
call fcn.004057a0
lea eax, [ebp - 0x280]
mov edx, dword [0x40a258]
call fcn.004065d0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405b38
ret
Function at 0x5285d0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe4
push ebx
xor edx, edx
mov dword [ebp - 0x418], edx
mov dword [ebp - 0x41c], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5286e7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20c]
push eax
push 0x103
call sub.kernel32.dll_GetTempPathW
lea eax, [ebp - 4]
lea edx, [ebp - 0x20c]
mov ecx, 0x104
call fcn.00405d40
lea eax, [ebp - 0x414]
push eax
push 0
push 0x5286f4
mov eax, dword [ebp - 4]
call fcn.00405bcc
push eax
call sub.kernel32.dll_GetTempFileNameW
test eax, eax
je 0x528660
lea eax, [ebp - 4]
lea edx, [ebp - 0x414]
mov ecx, 0x104
call fcn.00405d40
mov eax, dword [ebp - 4]
call fcn.00405bcc
push eax
call sub.kernel32.dll_DeleteFileW
lea eax, [ebp - 0x41c]
mov edx, dword [ebp - 4]
call fcn.00405dbc
mov eax, dword [ebp - 0x41c]
lea ecx, [ebp - 0x418]
mov edx, 1
call fcn.0040a0bc
mov eax, dword [ebp - 0x418]
mov edx, 0x528700
call fcn.00405a38
je 0x5286a3
lea eax, [ebp - 4]
mov edx, 0x528710
call fcn.00405e94
mov eax, dword [ebp - 4]
call fcn.0040ce8c
test al, al
jne 0x5286b7
mov eax, dword [ebp - 4]
call fcn.0040ceb0
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00405b40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5286ee
lea eax, [ebp - 0x41c]
mov edx, 2
call fcn.004057a0
lea eax, [ebp - 4]
call fcn.00405b30
ret