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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4ca09b
add esp, 0xfffffff0
call fcn.004049c8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00479bf0
mov eax, dword [0x5508b4]
cmp byte [eax], 0
jne 0x4ca0c8
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x550d58]
cmp word [eax + 2], 0
jne 0x4ca0e2
mov eax, dword [0x550d58]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004cbf74
mov eax, dword [0x550ef0]
cmp word [eax + 2], 0
jne 0x4ca0fc
mov eax, dword [0x550ef0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004cc184
mov byte [ebx + 0x31], 0
mov dl, 1
mov eax, dword [0x47ea74]
call fcn.004808fc
mov esi, eax
mov dword [ebx + 0x38], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4cc618
mov dl, 1
mov eax, dword [0x46f024]
call fcn.00404548
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x46f024]
call fcn.00404548
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 [0x47f6d4]
call fcn.004885bc
mov esi, eax
mov dword [ebx + 0x9c], esi
push 0x4ca2d8
mov eax, dword [0x550b5c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004889c0
mov eax, dword [ebx + 0x9c]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4cc8c8
mov dl, 1
mov eax, dword [0x46f024]
call fcn.00404548
mov dword [ebx + 0x94], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x550b5c]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0045e290
test eax, eax
je 0x4ca20a
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0045e03c
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0045e278
test eax, eax
je 0x4ca222
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x88]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00406890
push ebx
push 0x4cb988
call fcn.004c08c0
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xcc], 0
mov eax, dword [0x5508b4]
cmp byte [eax], 0
jne 0x4ca273
mov eax, ebx
call fcn.004ca44c
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.004ccaf0
mov eax, ebx
call fcn.004cd6b4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4ca2d0
call fcn.00404a20
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ca6f4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4ca796
cmp dword [ebx + 0x90], 0
jne 0x4ca790
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4ca66c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x8c]
cmp dword [eax + 8], 0
je 0x4ca790
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 0x4ca756
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x8c]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4ca790
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.00471a78
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4ca765
inc dword [ebx + 0x90]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x55835c]
cmp dword [eax + 0x170], 0
je 0x4cab19
test bl, bl
jne 0x4caa67
cmp dword [esi + 0x98], 0
jne 0x4caa5c
mov eax, esi
call fcn.004cd504
push eax
push 0x4ca8c0
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x40], 0
je 0x4caa2d
mov eax, dword [0x55835c]
cmp byte [eax + 0xcf], 0
je 0x4caa2d
mov eax, dword [esi + 0xd4]
call fcn.00407c58
mov edi, eax
cmp edi, 0
jl 0x4caa2d
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 0x4caa16
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4caa5c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.00471a78
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4caa3c
inc dword [esi + 0x98]
jmp 0x4cab19
cmp dword [esi + 0x98], 0
jle 0x4cab19
dec dword [esi + 0x98]
cmp dword [esi + 0x98], 0
jne 0x4cab19
cmp dword [esi + 0x40], 0
je 0x4caac4
mov eax, dword [0x55835c]
cmp byte [eax + 0xcf], 0
je 0x4caac4
mov eax, dword [esi + 0xd4]
call fcn.00407c58
mov edi, eax
cmp edi, 0
jl 0x4caac4
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 0x4caaad
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4caaf3
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.00471a78
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4caad3
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 [0x4c02cc]
call fcn.00407e18
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4cb6d4
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 0x4cb73f
cmp byte [ebx + 0xcf], 0
jne 0x4cb73f
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.004067cc
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4cb72c
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4cb74c
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.00406690
jmp 0x4cb74c
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.00406690
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4cccc4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x80]
test esi, esi
je 0x4ccd32
mov eax, esi
call fcn.004b369c
test al, al
je 0x4ccd32
mov eax, dword [ebx + 0x80]
call fcn.004b32f0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4ccd32
mov eax, dword [ebx + 0x80]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x4ccd26
push 0
mov eax, dword [ebx + 0x80]
call fcn.004b32f0
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x80]
call fcn.004aa920
jmp 0x4ccd32
mov cl, 1
mov edx, dword [ebx + 0x70]
mov eax, ebx
call fcn.004ccb10
pop esi
pop ebx
ret
Function at 0x4cf4cc
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x14]
mov edx, dword [0x42f468]
call fcn.00407048
xor eax, eax
push ebp
push 0x4cf68d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x54e6f0], 0
jne 0x4cf520
mov ecx, dword [0x5508dc]
mov dl, 1
mov eax, dword [0x45abf0]
call fcn.00462988
call fcn.00405030
lea eax, [ebp - 0x2c]
xor ecx, ecx
mov edx, 0x10
call fcn.00403b20
mov eax, ebx
call fcn.004064c0
mov dword [ebp - 0x28], eax
push esi
mov esi, 0x4cf69c
lea edi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
call fcn.00408714
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, ebx
test eax, eax
je 0x4cf567
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x4cf633
mov dword [ebp - 0x1c], 0x20
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.KERNEL32.DLL_GetComputerNameW
test eax, eax
je 0x4cf61f
lea eax, [ebp - 4]
lea edx, [ebp - 0x5c]
mov ecx, 0x10
call fcn.00406890
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004068f8
mov eax, dword [ebp - 4]
test eax, eax
je 0x4cf5c2
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4cf5c2
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.004059f8
mov ebx, eax
test ebx, ebx
je 0x4cf5cd
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 8]
test eax, eax
je 0x4cf5ea
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4cf5ea
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.004059f8
mov edi, eax
test edi, edi
je 0x4cf5f5
sub edi, 4
mov edi, dword [edi]
push edi
mov eax, dword [ebp - 8]
call fcn.0040671c
push eax
push ebx
mov eax, dword [ebp - 4]
call fcn.0040671c
push eax
push 1
push 0x400
call sub.KERNEL32.DLL_CompareStringW
sub eax, 2
test eax, eax
sete al
jmp 0x4cf621
xor eax, eax
test al, al
je 0x4cf62c
mov ebx, 0x15
jmp 0x4cf638
mov ebx, 0x10
jmp 0x4cf638
mov ebx, 0x15
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 0x2c]
push eax
push ebx
push 0
push esi
call dword [0x54e6f0]
call fcn.004cf338
mov eax, dword [ebp - 0xc]
call fcn.004cf338
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
call fcn.0040872c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cf694
lea eax, [ebp - 0x14]
mov edx, dword [0x42f468]
call fcn.00407120
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406688
ret

Function at 0x4e1c00
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x558424
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4e1c22
shr eax, 1
xor eax, 0xedb88320
jmp 0x4e1c24
shr eax, 1
dec edx
jne 0x4e1c10
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4e1c09
mov byte [0x558824], 1
pop esi
pop ebx
ret
Function at 0x4e1c40
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x558824], 0
jne 0x4e1c57
call fcn.004e1c00
mov eax, edi
dec eax
test eax, eax
jl 0x4e1c7f
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x558424]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4e1c61
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x4e4994
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.0x4e4a2e.0
jmp dword [ecx*4 + 0x4e49c7]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4e49f9
sub dl, 8
je 0x4e4a08
jmp case.0x4e4a2e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4e4664
jmp case.0x4e4a2e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4e46b8
jmp case.0x4e4a2e.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x4e4a2e.0
movzx ecx, byte [ecx + 0x4e4a35]
jmp dword [ecx*4 + 0x4e4a46]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4e4758
jmp case.0x4e4a2e.0
cmp dl, 3
jne 0x4e4a73
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4e47ac
jmp case.0x4e4a2e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4e4768
jmp case.0x4e4a2e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4e47f0
jmp case.0x4e4a2e.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4e4a9e
sub dl, 8
je 0x4e4aaa
jmp case.0x4e4a2e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4e481c
jmp case.0x4e4a2e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4e4880
jmp case.0x4e4a2e.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4e4ac9
sub dl, 8
je 0x4e4ad5
jmp case.0x4e4a2e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4e4930
jmp case.0x4e4a2e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4e4958
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 0x4e4b77
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.004e3ba0
test eax, eax
je 0x4e4b77
mov eax, ebx
call fcn.004e4b80
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 0x4e4b10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4e4b80
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 0x4e4bb1
dec al
je 0x4e4bec
dec al
je 0x4e4c31
dec al
je 0x4e4c9a
jmp 0x4e4d24
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4e4d24
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 0x4e4bc1
jmp 0x4e4d24
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4e4d24
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 0x4e4bfc
jmp 0x4e4d24
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4e4d24
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 0x4e4c60
xor ebp, ebp
jmp 0x4e4c70
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 0x4e4c79
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 0x4e4c41
jmp 0x4e4d24
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4e4d24
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 0x4e4cf3
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.004e1c88
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 0x4e4cae
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4edfb4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4edfe2
mov eax, ebx
call fcn.004eea68
cmp dword [ebx + 0x40], 0
je 0x4edfdb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4ee053
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4ee045
cmp dword [ebx + 8], 0
je 0x4ee004
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 0x4ee016
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4ee045
cmp dword [ebx + 8], 0
je 0x4edff7
cmp eax, 3
je 0x4ee029
dec eax
jne 0x4edff7
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 0x4edff7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4edff7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4ee071
cmp dword [ebx + 0x14], 0xcc
je 0x4ee071
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.004ee07c
pop ebx
ret

Function at 0x529384
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 0x5293de
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00529378
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0051a264
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00519dc8
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 0x5293e5
lea eax, [ebp - 4]
call fcn.00406680
ret
Function at 0x53cd6c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x53cd74
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x53cfe2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.ole32.dll_CoInitialize
xor ecx, ecx
mov dl, 1
mov eax, dword [0x46fb78]
call fcn.004757f8
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x538e4c]
call fcn.00504170
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
call fcn.0053b7b4
add eax, 0x40
mov edx, 0x53cffc
call fcn.00406690
mov dl, 1
mov eax, dword [0x46f708]
call fcn.00474e24
mov dword [ebp - 0x10], eax
push 0x53d04c
mov eax, dword [ebp - 8]
push dword [eax + 0x40]
push 0x53d070
mov eax, dword [ebp - 8]
push dword [eax + 0x44]
push 0x53d08c
mov eax, dword [ebp - 8]
push dword [eax + 0x4c]
push 0x53d0b8
mov eax, dword [ebp - 8]
push dword [eax + 0x50]
push 0x53d0e8
mov eax, dword [ebp - 8]
push dword [eax + 0x54]
push 0x53d104
mov eax, dword [ebp - 8]
push dword [eax + 0x58]
push 0x53d120
mov eax, dword [ebp - 8]
push dword [eax + 0x60]
lea eax, [ebp - 0x18]
mov edx, 0xe
call fcn.00406b34
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 4]
xor edx, edx
call fcn.004066e4
xor eax, eax
push ebp
push 0x53cec5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x53ceb4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x64]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00539934
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x14]
call fcn.00475920
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x53d140
call fcn.00406a64
mov eax, dword [ebp - 0x1c]
call fcn.0040671c
push eax
call sub.KERNEL32.DLL_OutputDebugStringW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53cebb
ret

Function at 0x53d970
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, dword [ebp + 8]
mov eax, ebx
xor edx, edx
call fcn.00406690
push 0
push edi
lea eax, [ebp - 0x20a]
push eax
push esi
call sub.shell32.dll_SHGetSpecialFolderPathW
mov eax, ebx
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00406890
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x53d9b8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, edx
push 0xff
lea eax, [esp + 4]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00406890
add esp, 0x200
pop ebx
ret

Function at 0x53d9e8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, edx
push esp
push 0xff
call sub.KERNEL32.DLL_GetTempPathW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00406890
add esp, 0x200
pop ebx
ret
Function at 0x53da14
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, edx
push 0xff
lea eax, [esp + 4]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00406890
add esp, 0x200
pop ebx
ret

Function at 0x53ddb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x210], edx
mov dword [ebp - 0x214], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x53de6b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x23
lea eax, [ebp - 0x20a]
push eax
push esi
call sub.shell32.dll_SHGetSpecialFolderPathW
lea eax, [ebx + 8]
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00406890
push 0
push 0x1a
lea eax, [ebp - 0x20a]
push eax
push esi
call sub.shell32.dll_SHGetSpecialFolderPathW
lea eax, [ebx + 4]
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00406890
lea edx, [ebp - 0x214]
xor eax, eax
call fcn.004034ac
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x210]
call fcn.0045db2c
mov edx, dword [ebp - 0x210]
lea eax, [ebx + 0xc]
call fcn.00406690
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53de72
lea eax, [ebp - 0x214]
mov edx, 2
call fcn.00406688
ret
Function at 0x53e5f4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406678
xor eax, eax
push ebp
push 0x53e76c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0045d720
test al, al
jne 0x53e630
mov word [ebp - 6], 0
jmp 0x53e756
xor eax, eax
push ebp
push 0x53e74f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x53e729
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x46f93c]
call fcn.00475338
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x53e675
cmp eax, 0x1000
jae 0x53e68f
jmp 0x53e677
jge 0x53e68f
mov word [ebp - 6], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00405124
jmp 0x53e756
lea edx, [ebp - 0x4c]
mov ecx, 0x40
mov eax, dword [ebp - 0xc]
call fcn.004750b0
cmp word [ebp - 0x4c], 0x5a4d
je 0x53e6bf
mov word [ebp - 6], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00405124
jmp 0x53e756
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x144]
mov ecx, 0xf8
mov eax, dword [ebp - 0xc]
call fcn.004750b0
cmp dword [ebp - 0x144], 0x4550
je 0x53e700
mov word [ebp - 6], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00405124
jmp 0x53e756
movzx eax, word [ebp - 0x12e]
and ax, 0x2000
cmp ax, 0x2000
jne 0x53e719
mov word [ebp - 6], 2
jmp 0x53e71f
mov word [ebp - 6], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53e739
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53e756
mov eax, dword [ebp - 0xc]
call fcn.00404578
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53e773
lea eax, [ebp - 4]
call fcn.00406680
ret