joyce8/EMBER2024-capa huggingface dataset:
Function at 0x495db8
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x495dd0
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x495dc9
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.00403a94
xor edx, edx
mov eax, 0x4f547c
movzx ebx, byte [eax]
mov ecx, ebx
and cl, 7
movzx ecx, cl
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
movzx ecx, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x495e37
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x495dee
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x496078
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x496091
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x49608a
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x4960a3
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x49609c
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.00495c70
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
movzx ecx, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4960bd
movzx eax, byte [ebp - 0xa]
movzx edx, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
movzx edx, byte [ebp - 9]
movzx ecx, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
add edx, edx
add edx, edx
movzx eax, byte [ebp - 8]
movzx ecx, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
movzx eax, byte [ebp - 7]
movzx edx, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
movzx edx, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
movzx eax, byte [ebp - 6]
and al, 0xf
add eax, eax
add eax, eax
movzx edx, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
movzx eax, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
movzx edx, byte [esi]
call fcn.00495d80
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x496145
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
movzx ecx, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x496163
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.00495d00
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x49618d
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4961a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x4961bd
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4961b6
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
movzx edx, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x4961d1
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00495b70
test bl, bl
jne 0x4962ab
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x500fd0
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x496209
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
movzx ecx, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x49621e
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00496078
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
movzx ebx, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x496251
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x4961fe
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
movzx ebx, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x496275
mov eax, 4
mov edx, dword [ebp + 0xc]
movzx ecx, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x496287
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
movzx ebx, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x49629c
jmp 0x49636c
cmp bl, 1
jne 0x49636c
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x50102a
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4962cb
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
movzx ecx, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4962e0
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00496078
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x496313
sub ebx, 6
inc dword [ebp - 8]
jne 0x4962c0
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x49633b
mov eax, 4
mov ebx, dword [ebp + 0xc]
movzx edx, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x49634d
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x496362
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00495bf0
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x497b18
Capabilities:
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x497b2e
add esp, 0xfffffff0
call fcn.004048c8
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x497c85
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [edi + 4]
mov edx, esi
call fcn.004054f8
lea edx, [ebp - 4]
mov eax, esi
call fcn.0040a650
mov edx, dword [ebp - 4]
lea eax, [edi + 8]
mov ecx, 0x497cb4
call fcn.004057bc
mov dl, 1
mov eax, dword [0x4185b4]
call fcn.00404574
mov dword [edi + 0x10], eax
mov dl, 1
mov eax, dword [0x4185b4]
call fcn.00404574
mov dword [edi + 0x14], eax
mov dl, 1
mov eax, dword [0x4185b4]
call fcn.00404574
mov dword [edi + 0x18], eax
mov dl, 1
mov eax, dword [0x4185b4]
call fcn.00404574
mov dword [edi + 0x1c], eax
mov dl, 1
mov eax, dword [0x4185b4]
call fcn.00404574
mov dword [edi + 0x24], eax
mov dl, 1
mov eax, dword [0x4185b4]
call fcn.00404574
mov dword [edi + 0x20], eax
mov byte [edi + 0x4c], 0
mov byte [edi + 0x4d], 0
mov byte [edi + 0x4e], 0
mov eax, dword [0x4f9c74]
mov eax, dword [eax]
call fcn.00405934
push eax
push 0
push 0x497cc0
push 0x497cc8
call sub.kernel32.dll_GetPrivateProfileIntA
mov esi, eax
mov eax, esi
cdq
push edx
push eax
call fcn.0040c434
call fcn.004034dc
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
test edx, edx
jge 0x497c0f
neg eax
adc edx, 0
neg edx
cmp edx, 0
jne 0x497c1b
cmp eax, 0xf
jb 0x497c64
jmp 0x497c1d
jl 0x497c64
mov eax, dword [edi + 8]
call fcn.00405934
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [0x4f9c74]
mov eax, dword [eax]
call fcn.00405934
push eax
call fcn.0040c434
call fcn.004034dc
push edx
push eax
lea eax, [ebp - 8]
call fcn.00409f84
mov eax, dword [ebp - 8]
call fcn.00405934
push eax
push 0x497cc0
push 0x497cc8
call sub.kernel32.dll_WritePrivateProfileStringA
mov eax, edi
mov edx, dword [eax]
call dword [edx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x497c8c
lea eax, [ebp - 8]
mov edx, 2
call fcn.004054c8
ret
Function at 0x499004
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
mov byte [ebp - 1], cl
mov esi, edx
mov ebx, eax
cmp bl, 0x90
jne 0x499059
push 0x90
call sub.user32.dll_GetKeyState
and ax, 1
cmp al, 1
sbb ebx, ebx
inc ebx
lea eax, [ebp - 0x102]
push eax
call sub.user32.dll_GetKeyboardState
test bl, bl
je 0x499044
and byte [ebp - 0x72], 0xfe
jmp 0x499048
or byte [ebp - 0x72], 1
lea eax, [ebp - 0x102]
push eax
call sub.user32.dll_SetKeyboardState
jmp 0x4990e0
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyA
and al, 0xff
mov byte [ebp - 2], al
test si, si
jbe 0x4990e0
mov eax, ebx
movzx eax, al
bt dword [0x4f7e44], eax
jae 0x4990ae
mov eax, dword [ebp + 8]
push eax
mov ecx, 1
movzx edx, byte [ebp - 2]
mov eax, ebx
call fcn.00498fb8
pop ecx
cmp byte [ebp - 1], 0
je 0x4990db
mov eax, dword [ebp + 8]
push eax
mov ecx, 3
movzx edx, byte [ebp - 2]
mov eax, ebx
call fcn.00498fb8
pop ecx
jmp 0x4990db
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
movzx edx, byte [ebp - 2]
mov eax, ebx
call fcn.00498fb8
pop ecx
cmp byte [ebp - 1], 0
je 0x4990db
mov eax, dword [ebp + 8]
push eax
mov ecx, 2
movzx edx, byte [ebp - 2]
mov eax, ebx
call fcn.00498fb8
pop ecx
dec si
jne 0x49906e
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4990e8
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyA
and al, 0xff
mov edx, ebx
movzx edx, dl
bt dword [0x4f7e44], edx
jae 0x49911c
mov edx, dword [ebp + 8]
push edx
xor ecx, ecx
mov edx, eax
mov eax, ebx
call fcn.00498fb8
pop ecx
pop ebx
pop ebp
ret
mov edx, dword [ebp + 8]
push edx
mov ecx, 2
mov edx, eax
mov eax, ebx
call fcn.00498fb8
pop ecx
pop ebx
pop ebp
ret
Function at 0x499f60
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.00403a94
ret

Function at 0x49ed44
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49eddb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x104
call fcn.00405bc4
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00405934
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00405764
test eax, eax
jns 0x49ed8b
call fcn.0040446c
push eax
call sub.kernel32.dll_GetTempPathA
test eax, eax
jns 0x49ed9a
call fcn.0040446c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405bc4
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov edx, dword [edx]
mov eax, dword [0x46a44c]
call fcn.00469568
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004054f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ede2
lea eax, [ebp - 0xc]
call fcn.004054a4
ret

Function at 0x4a2be4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a2c55
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004a2bc0
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.004a01b0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
call fcn.0049fc0c
mov eax, dword [ebp - 8]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a2c5c
lea eax, [ebp - 0x14]
call fcn.004054a4
ret
Function at 0x4b0508
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.0044f7f0
test al, al
je 0x4b056a
cmp bl, 7
jne 0x4b053f
push 2
lea eax, [esp + 4]
push eax
push 0x100c
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
movzx edi, byte [esp]
sub edi, 0x30
jmp 0x4b0544
mov edi, ebx
and edi, 0x7f
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xe0]
test eax, eax
je 0x4b056a
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xe0]
push edi
push 0
push 0x100f
push eax
call sub.user32.dll_SendMessageA
mov byte [esi + 0x268], bl
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4b147c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
xor eax, eax
mov dword [ebp - 0xc], eax
test ebx, ebx
je 0x4b14ad
movzx eax, byte [ebx]
cmp al, byte [str.1.1.2]
jne 0x4b14ad
cmp dword [ebp + 8], 0x38
je 0x4b14b7
mov eax, 0xfffffffa
jmp 0x4b167d
lea eax, [esi + 0x18]
call fcn.004054a4
cmp dword [esi + 0x20], 0
jne 0x4b14d1
mov dword [esi + 0x20], 0x4b138c
xor eax, eax
mov dword [esi + 0x28], eax
cmp dword [esi + 0x24], 0
jne 0x4b14de
mov dword [esi + 0x24], 0x4b1384
cmp dword [ebp - 4], 0xffffffff
jne 0x4b14eb
mov dword [ebp - 4], 6
test edi, edi
jge 0x4b14f8
mov dword [ebp - 0xc], 1
neg edi
cmp dword [ebp + 0x14], 1
jl 0x4b152c
cmp dword [ebp + 0x14], 9
jg 0x4b152c
cmp dword [ebp - 8], 8
jne 0x4b152c
cmp edi, 8
jl 0x4b152c
cmp edi, 0xf
jg 0x4b152c
cmp dword [ebp - 4], 0
jl 0x4b152c
cmp dword [ebp - 4], 9
jg 0x4b152c
cmp dword [ebp + 0x10], 0
jl 0x4b152c
cmp dword [ebp + 0x10], 2
jle 0x4b1536
mov eax, 0xfffffffe
jmp 0x4b167d
mov eax, esi
mov ecx, 0x16bc
mov edx, 1
call fcn.004b1398
mov ebx, eax
test ebx, ebx
jne 0x4b1557
mov eax, 0xfffffffc
jmp 0x4b167d
mov dword [esi + 0x1c], ebx
mov dword [ebx], esi
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x18], eax
mov eax, edi
mov dword [ebx + 0x28], eax
mov ecx, eax
mov edx, 1
shl edx, cl
mov dword [ebx + 0x24], edx
dec edx
mov dword [ebx + 0x2c], edx
mov eax, dword [ebp + 0x14]
add eax, 7
mov dword [ebx + 0x48], eax
mov ecx, eax
mov edx, 1
shl edx, cl
mov dword [ebx + 0x44], edx
dec edx
mov dword [ebx + 0x4c], edx
mov eax, dword [ebx + 0x48]
add eax, 3
dec eax
mov ecx, 3
xor edx, edx
div ecx
mov dword [ebx + 0x50], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x24]
call fcn.004b1398
mov dword [ebx + 0x30], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x24]
call fcn.004b1398
mov dword [ebx + 0x38], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x44]
call fcn.004b1398
mov dword [ebx + 0x3c], eax
mov ecx, dword [ebp + 0x14]
add ecx, 6
mov edi, 1
shl edi, cl
mov dword [ebx + 0x1690], edi
mov eax, esi
mov ecx, 4
mov edx, edi
call fcn.004b1398
mov dword [ebx + 8], eax
mov edx, dword [ebx + 0x1690]
add edx, edx
add edx, edx
mov dword [ebx + 0xc], edx
cmp dword [ebx + 0x30], 0
je 0x4b1622
cmp dword [ebx + 0x38], 0
je 0x4b1622
cmp dword [ebx + 0x3c], 0
je 0x4b1622
cmp dword [ebx + 8], 0
jne 0x4b163d
lea eax, [esi + 0x18]
mov edx, 0x4f8d58
call fcn.00405708
mov eax, esi
call fcn.004b1a2c
mov eax, 0xfffffffc
jmp 0x4b167d
mov edx, dword [ebx + 0x1690]
shr edx, 1
lea eax, [eax + edx*2]
mov dword [ebx + 0x1698], eax
mov eax, dword [ebx + 0x1690]
lea eax, [eax + eax*2]
mov edx, dword [ebx + 8]
lea eax, [edx + eax]
mov dword [ebx + 0x168c], eax
mov eax, dword [ebp - 4]
mov dword [ebx + 0x78], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x7c], eax
movzx eax, byte [ebp - 8]
mov byte [ebx + 0x1d], al
mov eax, esi
call fcn.004b16b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4b1d30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x4b1d59
cmp dword [ebx + 0x64], 0
jne 0x4b1d59
cmp dword [ebx + 0x6c], 0
jne 0x4b1d59
mov esi, edi
jmp 0x4b1de5
cmp esi, 0xffffffff
jne 0x4b1d64
dec esi
jmp 0x4b1de5
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x4b1de5
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ecx, edi
call fcn.004b1374
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], edi
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x4b1dad
movzx ecx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x4b1db2
mov word [edx], 0
dec eax
test eax, eax
jne 0x4b1d93
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x4b1dd9
movzx ecx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x4b1dde
mov word [edx], 0
dec eax
test eax, eax
jne 0x4b1dbf
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x4b1e43
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.004b1aa8
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x4b1e2e
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x4b1e43
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4b1d39
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4bdc24
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x4bdc39
add esp, 0xfffffff0
call fcn.004048c8
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00405924
xor eax, eax
push ebp
push 0x4bdd14
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004b8e98
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.004191a0
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x24], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.004191a0
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x3c], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.004191a0
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x34], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.004191a0
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x2c], eax
push 0
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.004191c8
push esi
lea edi, [esi + 0x40]
lea esi, [ebp - 0x1c]
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
mov dword [esi + 0xc], 0xffffffff
mov byte [esi + 0x52], 0
mov byte [esi + 0x53], 0
mov byte [esi + 0x54], 0
mov byte [esi + 0x55], 0
mov byte [esi + 0x50], 0
mov byte [esi + 0x51], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bdd1b
lea eax, [ebp - 4]
call fcn.004054a4
ret
Function at 0x4c3750
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c384c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x4c3864
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 4]
lea eax, [ebx + 8]
call fcn.004054f8
push 0xffffffffffffffff
mov ecx, 0x4c3874
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x30], eax
mov ecx, 0x4c3890
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004d5224
mov byte [ebx + 0xc], al
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4c38ac
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004d5110
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0xd]
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 - 0x14]
push eax
mov ecx, 0x4c38c0
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004d5110
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x1d]
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 - 0x14]
push eax
mov ecx, 0x4c38d8
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004d5110
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x34]
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
mov ecx, 0x4c38f4
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004d5224
mov byte [ebx + 0x44], al
mov ecx, 0x4c3908
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004b89e4
mov byte [ebx + 0x45], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c3853
lea eax, [ebp - 4]
call fcn.004054a4
ret
Function at 0x4dcfe8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405934
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4dd001
test al, 0x10
jne 0x4dd005
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4dd00c
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe78
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x20]
call fcn.00405924
xor eax, eax
push ebp
push 0x4dd1e7
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 0x20]
call fcn.00403d00
mov edi, eax
cmp dword [ebp + 0x20], 0
je 0x4dd0b5
cmp dword [ebp - 0x10], 0
je 0x4dd0b5
mov eax, dword [ebp + 0x20]
call fcn.0040a3d8
test al, al
jne 0x4dd06b
mov eax, dword [ebp + 0x20]
call fcn.004dcfe8
test al, al
je 0x4dd08e
push 0x4000
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0
mov eax, dword [ebp + 0x20]
call fcn.00405934
push eax
call sub.shell32.dll_SHGetFileInfoA
jmp 0x4dd0af
push 0x4010
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0
mov eax, dword [ebp + 0x20]
call fcn.00405934
push eax
call sub.shell32.dll_SHGetFileInfoA
mov edi, dword [ebp - 0x174]
cmp byte [ebp + 0x1c], 0
je 0x4dd0dc
push 0x4000
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0
push 0x4dd1f8
call sub.shell32.dll_SHGetFileInfoA
mov esi, eax
jmp 0x4dd0fb
push 0x4001
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0
push 0x4dd1f8
call sub.shell32.dll_SHGetFileInfoA
mov esi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
call sub.comctl32.dll_ImageList_GetIconSize
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.004191a0
test bl, bl
je 0x4dd13b
cmp byte [ebp + 0x14], 0
jne 0x4dd13b
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00429fdc
push eax
push edi
push esi
call sub.comctl32.dll_ImageList_Draw
test byte [ebp + 0x14], bl
je 0x4dd1d1
mov dl, 1
mov eax, dword [0x427ef0]
call fcn.0042e550
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x34]
push 0
push 0
push 0
mov eax, ebx
call fcn.0042eb24
call fcn.00429fdc
push eax
push edi
push esi
call sub.comctl32.dll_ImageList_Draw
mov eax, dword [ebp - 8]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x184], eax
fild dword [ebp - 0x14]
fmul qword [ebp + 0xc]
call fcn.004034d0
add eax, dword [ebp - 8]
mov dword [ebp - 0x180], eax
fild dword [ebp - 0x18]
fmul qword [ebp + 0xc]
call fcn.004034d0
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x17c], eax
mov ecx, ebx
lea edx, [ebp - 0x188]
mov eax, dword [ebp - 4]
call fcn.004dccfc
mov eax, ebx
call fcn.004045a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dd1ee
lea eax, [ebp + 0x20]
call fcn.004054a4
ret