joyce8/EMBER2024-capa huggingface dataset:
Function at 0x474a24
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffff6cc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov ebx, dword [ebp + 0x10]
lea esi, [ebp - 0x44]
push 0x3c
push 0
push esi
call fcn.00494dd8
add esp, 0xc
mov dword [esi], 0x3c
mov dword [esi + 4], 0x500
test bl, bl
jne 0x474a67
or dword [esi + 4], 0x40
mov dword [esi + 0x10], edi
cmp dword [ebp + 8], 0
je 0x474a78
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
jmp 0x474a9c
lea edx, [ebp - 0x94]
mov ecx, 0x50
mov eax, dword [esi + 0x10]
call fcn.0047349c
test al, al
je 0x474a97
lea edx, [ebp - 0x94]
jmp 0x474a99
xor edx, edx
mov dword [esi + 0xc], edx
mov eax, dword [ebp - 8]
mov dword [esi + 0x18], eax
mov eax, edi
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0x14], ecx
call fcn.0040ba60
cmp edi, eax
jne 0x474ad1
push edi
push str.._s
lea edx, [ebp - 0x894]
push edx
call fcn.00497eb8
add esp, 0xc
lea ecx, [ebp - 0x894]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x1c], 1
call fcn.0040ffc8
test eax, eax
je 0x474b9c
mov eax, dword [ebp - 4]
call fcn.0040edb0
cmp word [eax], 0
je 0x474b9c
xor edi, edi
push str.shell32.dll
call sub.KERNEL32.DLL_GetModuleHandleA
test eax, eax
je 0x474b14
push str.ShellExecuteExW
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edi, eax
test edi, edi
jne 0x474b1f
xor eax, eax
jmp 0x474c52
mov edx, dword [ebp - 4]
mov dword [esi + 0x10], edx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x474b45
lea edx, [ebp - 0x934]
mov ecx, 0x10000000
call fcn.00410040
lea edx, [ebp - 0x934]
mov dword [esi + 0xc], edx
cmp dword [ebp - 8], 0
je 0x474b67
lea edx, [ebp - 0x1134]
mov ecx, 0x10000000
mov eax, dword [ebp - 8]
call fcn.00410040
lea eax, [ebp - 0x1134]
mov dword [esi + 0x18], eax
cmp dword [ebp + 0x14], 0
je 0x474b89
lea edx, [ebp - 0x1934]
mov ecx, 0x10000000
mov eax, dword [ebp + 0x14]
call fcn.00410040
lea edx, [ebp - 0x1934]
mov dword [esi + 0x14], edx
mov byte [0x4c4dec], 1
push esi
call edi
mov byte [0x4c4dec], 0
jmp 0x474bb0
mov byte [0x4c4dec], 1
push esi
call sub.SHELL32.DLL_ShellExecuteExA
mov byte [0x4c4dec], 0
test eax, eax
je 0x474bc0
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0x483
jne 0x474bc7
xor eax, eax
jmp 0x474c52
test bl, bl
jne 0x474c50
mov eax, dword [esi + 0x38]
test eax, eax
je 0x474c0f
mov edx, dword [0x4a9294]
mov dword [edx*4 + 0x4cab14], eax
mov ecx, dword [0x4a9294]
mov eax, dword [esi + 0x20]
mov dword [ecx*4 + 0x4cab54], eax
mov edx, dword [0x4a9294]
inc edx
and edx, 0x8000000f
jns 0x474c07
dec edx
or edx, 0xfffffff0
inc edx
mov dword [0x4a9294], edx
jmp 0x474c42
xor ebx, ebx
mov eax, dword [ebx*4 + 0x4cab54]
cmp eax, dword [esi + 0x20]
jne 0x474c3c
push 0
push dword [ebx*4 + 0x4cab14]
call sub.KERNEL32.DLL_WaitForSingleObject
cmp eax, 0x102
jne 0x474c3c
mov edx, dword [ebx*4 + 0x4cab14]
mov dword [esi + 0x38], edx
inc ebx
cmp ebx, 0x10
jl 0x474c11
cmp dword [ebp + 0xc], 0
je 0x474c50
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + 0x38]
mov dword [ecx], eax
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x475ee4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
push 0x4c4e04
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
jne 0x475f1b
push 0x40
mov eax, 0x2bc
call fcn.0041202c
push eax
mov eax, 0x2bd
call fcn.0041202c
push eax
push dword [0x4c2440]
call sub.USER32.DLL_MessageBoxA
pop ebx
ret
push 0
mov edx, 0x4c4e04
xor ecx, ecx
mov eax, ebx
call fcn.00475134
pop ebx
ret

Function at 0x475f30
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffff004
push eax
add esp, 0xfffffb64
mov esi, ecx
mov ebx, edx
push 0
push 0
xor edx, edx
mov eax, ebx
call fcn.00474248
test al, al
je 0x475f7c
push 0x30
mov eax, 0x65
call fcn.0041202c
push eax
mov eax, 0x596
call fcn.0041202c
push eax
push dword [0x4c2440]
call sub.USER32.DLL_MessageBoxA
jmp 0x47613a
cmp dword [0x4c4de0], 0
jne 0x475fb9
push 0
push 1
push 0
push 0
xor ecx, ecx
mov edx, esi
mov eax, ebx
call fcn.00474a24
test al, al
jne 0x47613a
push ebx
mov eax, 0x201
call fcn.0041202c
push eax
call fcn.0044e46c
add esp, 8
jmp 0x47613a
mov edx, esp
mov eax, str.Rar_EXXXXXXX
call fcn.0046e83c
test al, al
je 0x47613a
lea edx, [esp + 0x400]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
push esp
call fcn.004968ec
pop ecx
lea edx, [esp + 0x800]
mov eax, 0x4c319c
call fcn.00462744
call fcn.00456dc0
mov ecx, 0x4bb2b4
mov edx, 0x4baeb4
mov eax, 0x4c319c
call fcn.00462710
mov ecx, dword [esp + 0x810]
mov dword [0x4b9a6c], ecx
mov edx, 0x4a92be
mov eax, dword [0x4bbab4]
call fcn.0040f77c
call fcn.00457920
mov eax, 0x4c319c
xor ecx, ecx
xor edx, edx
call fcn.0045d718
cmp dword [0x4c4df4], 0
jne 0x47613a
lea edx, [esp + 0x89c]
mov eax, ebx
call fcn.0040bb70
lea edx, [esp + 0xc9c]
mov eax, esi
call fcn.0040bc98
lea edx, [esp + 0x89c]
lea eax, [esp + 0x89c]
call fcn.0040a9a4
lea edx, [esp + 0xc9c]
lea eax, [esp + 0xc9c]
call fcn.0040a9ec
push 0x200c
push 0
push 0x4cedbc
call fcn.00494dd8
add esp, 0xc
lea ecx, [esp + 0x89c]
push ecx
push 0x4cf9c5
call fcn.00494f58
add esp, 8
mov eax, 0x4cfdc6
lea edx, [esp + 0xc9c]
call fcn.0041023c
push 0x4baeb4
push 0x4cedc0
call fcn.00494f58
add esp, 8
mov edx, 0x4bb2b4
mov eax, 0x4cf1c0
call fcn.0041023c
push esp
push 0x4d05c6
call fcn.00494f58
add esp, 8
lea ecx, [esp + 0x400]
push ecx
call fcn.004968ec
pop ecx
mov eax, dword [0x4b9a6c]
cmp dword [esp + 0x88c], 0
setne dl
push 0x4cedbc
and edx, 1
mov dword [0x4cf9c0], eax
push 0x10000
push 0x4742ac
mov byte [0x4cf9c4], dl
call fcn.0049d1fc
add esp, 0xc
add esp, 0x149c
pop esi
pop ebx
ret
Function at 0x47cc12
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
push eax
push dword [0x4c244c]
call sub.USER32.DLL_GetDlgItem
mov ebx, eax
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push ebx
call sub.USER32.DLL_GetWindowTextA
push esp
push esi
call fcn.00494f0c
add esp, 8
test eax, eax
je 0x47cc4f
push esi
push ebx
call sub.USER32.DLL_SetWindowTextA
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x47de20
Capabilities:
Get graphical window text

Disassembly:
add esp, 0xfffffe00
mov eax, dword [0x4c244c]
test eax, eax
je 0x47decd
push pe_nt_image_headers32
lea edx, [esp + 4]
push edx
push eax
call sub.USER32.DLL_GetWindowTextA
cmp dword [0x4d0f7c], 8
je 0x47de72
push 0x4d0f80
lea ecx, [esp + 4]
push ecx
call fcn.00494f0c
add esp, 8
test eax, eax
je 0x47de72
push 0x4d0f80
push dword [0x4c244c]
call sub.USER32.DLL_SetWindowTextA
mov eax, dword [0x4d0f7c]
test eax, eax
je 0x47de8a
cmp eax, 1
je 0x47de8a
cmp eax, 2
je 0x47de8a
cmp eax, 8
jne 0x47deaf
mov edx, 0x4d1000
mov eax, 0x9c
call fcn.0047cc12
mov eax, 0x4d1080
call fcn.0040ba60
mov edx, eax
mov eax, 0x9b
call fcn.0047cc12
mov edx, 0x64
mov eax, 2
call fcn.00448d94
test al, al
je 0x47decd
push dword [0x4c244c]
call sub.USER32.DLL_UpdateWindow
add esp, 0x200
ret
Function at 0x47ee58
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe84
push ebx
mov ebx, eax
push esi
push edi
mov byte [ebp - 1], cl
mov esi, edx
cmp dword [ebx + 8], 0
jne 0x47ee7e
mov eax, str.comctl32.dll
call fcn.0046e9e8
mov dword [ebx + 8], eax
mov eax, dword [ebx]
test eax, eax
je 0x47ee8a
push eax
call sub.USER32.DLL_DestroyWindow
mov dword [ebx + 0xc], 0xffffffff
mov dl, byte [ebp - 1]
mov byte [ebx + 4], dl
push 0
push dword [0x4af758]
push dword [ebp + 8]
push esi
push 0xdc
push 0x3c
push 0
push 0
push 0x44200046
push 0
cmp byte [ebp - 1], 0
je 0x47eec2
mov ecx, str.ComboBoxEx32
jmp 0x47eec7
mov ecx, str.combobox
push ecx
push 0
call sub.USER32.DLL_CreateWindowExA
mov dword [ebx], eax
cmp byte [ebp - 1], 0
je 0x47ef74
lea eax, [ebp - 8]
push eax
push 0
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderLocation
push 0x4209
push 0x160
lea edx, [ebp - 0x17c]
push edx
push 0
push dword [ebp - 8]
call sub.SHELL32.DLL_SHGetFileInfoA
push eax
push 0
push 0x402
push dword [ebx]
call sub.USER32.DLL_SendMessageA
push dword [ebp - 8]
mov eax, dword [0x4caa0c]
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
push 0
lea ecx, [ebp - 0x170]
push dword [ebp - 0x178]
push ecx
push 0
push 0
push 0xffffffffffffffff
push 0
mov ecx, 1
lea edx, [ebp - 0x170]
mov eax, ebx
call fcn.0047f2ec
push 0
push 4
push 0x408
push dword [ebx]
call sub.USER32.DLL_SendMessageA
push 0
push 0
push 0x407
push dword [ebx]
call sub.USER32.DLL_SendMessageA
test eax, eax
je 0x47ef87
call fcn.0046ed88
jmp 0x47ef87
push 3
push 0
push 0
push 0
push 0
push 0
push dword [ebx]
call sub.USER32.DLL_SetWindowPos
mov byte [ebp - 9], 0
cmp byte [ebp - 1], 0
je 0x47efb4
xor eax, eax
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x10]
push edx
call sub.SHELL32.DLL_SHGetDesktopFolder
test eax, eax
jne 0x47efb4
push 0
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.0047f018
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x47f005
call fcn.0046ed00
mov edi, eax
xor esi, esi
mov ecx, esi
mov eax, 1
shl eax, cl
test eax, edi
je 0x47efff
lea edx, [esi + 0x41]
lea eax, [ebp - 0x1c]
push edx
push str._c:_
push eax
call fcn.00497eb8
add esp, 0xc
xor ecx, ecx
lea edx, [ebp - 0x1c]
mov eax, ebx
push 0
push 0xffffffffffffffff
push 0
push 0
push 2
push 0xffffffffffffffff
push 1
call fcn.0047f2ec
inc esi
cmp esi, 0x20
jl 0x47efc3
mov eax, ebx
call fcn.0047f47c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x47f2ec
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe74
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 0x1c]
push 0x408
call fcn.00493590
pop ecx
mov esi, eax
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov edx, dword [ebp + 0x20]
mov dword [esi + 4], edx
mov eax, dword [ebp - 4]
call fcn.0040eda0
push eax
lea edx, [esi + 8]
push edx
call fcn.00494f58
add esp, 8
cmp byte [ebx + 4], 0
je 0x47f453
cmp dword [ebx + 8], 0x50000
jb 0x47f355
cmp dword [0x4c575c], 4
jne 0x47f359
cmp dword [0x4c5760], 0
jne 0x47f359
mov byte [ebp + 8], 0
cmp byte [ebp + 8], 0
jne 0x47f36a
cmp edi, 0xffffffff
je 0x47f36e
cmp dword [ebp + 0x18], 0
je 0x47f36e
xor eax, eax
jmp 0x47f373
mov eax, 1
test al, al
je 0x47f3b6
cmp dword [ebp - 8], 2
mov eax, 0x4201
jne 0x47f385
or eax, 2
push eax
push 0x160
lea edx, [ebp - 0x168]
push edx
push 0
push dword [ebp - 4]
call sub.SHELL32.DLL_SHGetFileInfoA
cmp edi, 0xffffffff
jne 0x47f3a7
mov edi, dword [ebp - 0x164]
cmp dword [ebp + 0x18], 0
jne 0x47f3b6
lea eax, [ebp - 0x15c]
mov dword [ebp + 0x18], eax
push 0x24
push 0
lea edx, [ebp - 0x18c]
push edx
call fcn.00494dd8
add esp, 0xc
mov dword [ebp - 0x18c], 0x37
cmp dword [ebp + 0x18], 0
je 0x47f3de
mov ecx, dword [ebp + 0x18]
jmp 0x47f3e1
or ecx, 0xffffffff
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x16c], esi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x17c], edi
mov dword [ebp - 0x178], edi
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x170], edx
cmp dword [ebp + 0x14], 0
je 0x47f43a
call fcn.0040ffc8
test eax, eax
je 0x47f43a
mov eax, dword [ebp + 0x14]
lea edx, [ebp - 0x18c]
mov dword [ebp - 0x184], eax
push edx
push 0
push 0x40b
push dword [ebx]
call sub.USER32.DLL_SendMessageA
jmp 0x47f473
lea ecx, [ebp - 0x18c]
push ecx
push 0
push 0x401
push dword [ebx]
call sub.USER32.DLL_SendMessageA
jmp 0x47f473
push dword [ebp - 4]
push dword [ebp + 0xc]
push 0x14a
push dword [ebx]
call sub.USER32.DLL_SendMessageA
push esi
push eax
push 0x151
push dword [ebx]
call sub.USER32.DLL_SendMessageA
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x47f47c
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffbf4
mov esi, eax
mov eax, 0x4c2454
call fcn.00469738
mov edi, eax
test edi, edi
je 0x47f503
xor eax, eax
mov dword [esp], eax
push esp
call sub.SHELL32.DLL_SHGetDesktopFolder
test eax, eax
jne 0x47f4f0
xor ebx, ebx
push 0
push ebx
push 0x150
push dword [esi]
call sub.USER32.DLL_SendMessageA
cmp eax, 0xffffffff
je 0x47f4f0
mov edx, dword [eax + 4]
test edx, edx
je 0x47f4e7
push edx
push edi
push 0
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jne 0x47f4e7
push 0
push ebx
push 0x14e
push dword [esi]
call sub.USER32.DLL_SendMessageA
jmp 0x47f4f0
inc ebx
cmp ebx, 0x80
jl 0x47f4a9
mov eax, dword [esp]
push eax
mov edx, dword [eax]
call dword [edx + 8]
jmp 0x47f5a9
lea ecx, [esp + 0xc]
push ecx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
mov byte [esp + 4], 0
xor edi, edi
push 0
push edi
push 0x150
push dword [esi]
call sub.USER32.DLL_SendMessageA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x47f578
cmp dword [ebx], 0
jne 0x47f56f
movzx ebp, byte [ebx + 8]
push ebp
call fcn.00498f3c
pop ecx
push eax
xor eax, eax
mov al, byte [esp + 0x10]
mov dword [esp + 0xc], eax
push dword [esp + 0xc]
call fcn.00498f3c
pop ecx
pop edx
cmp edx, eax
jne 0x47f56f
push 0
push edi
push 0x14e
push dword [esi]
call sub.USER32.DLL_SendMessageA
mov byte [esp + 4], 1
jmp 0x47f578
inc edi
cmp edi, 0x80
jl 0x47f519
cmp byte [esp + 4], 0
jne 0x47f590
push 0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x10]
mov eax, esi
call fcn.0047f750
cmp dword [0x4c4de0], 0
je 0x47f5a2
mov eax, esi
call fcn.0047fa18
jmp 0x47f5a9
mov eax, esi
call fcn.0047f9c4
add esp, 0x40c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x47f5b4
Capabilities:
Check if file exists
Get file attributes
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc00
mov ebx, eax
push 0x400
lea eax, [esp + 4]
push eax
push dword [ebx]
call sub.USER32.DLL_GetWindowTextA
mov eax, esp
call fcn.00448c0c
mov edx, esp
push edx
push 0xffffffffffffffff
push 0x158
push dword [ebx]
call sub.USER32.DLL_SendMessageA
cmp eax, 0xffffffff
je 0x47f61c
push 0
push eax
push 0x14e
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov eax, ebx
call fcn.0047f670
cmp dword [0x4c4de0], 0
je 0x47f613
mov eax, ebx
call fcn.0047fa18
jmp 0x47f666
mov eax, ebx
call fcn.0047f9c4
jmp 0x47f666
cmp dword [0x4c4de0], 0
je 0x47f640
mov eax, esp
call fcn.0040c494
test al, al
jne 0x47f640
mov edx, esp
mov eax, 0x4c2454
xor ecx, ecx
call fcn.0046728c
jmp 0x47f666
push esp
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x47f65f
test al, 0x10
jne 0x47f65f
mov edx, esp
mov eax, 0x4c2454
xor ecx, ecx
call fcn.0046711c
jmp 0x47f666
mov eax, esp
call fcn.0044908c
add esp, 0x400
pop ebx
ret
Function at 0x47f9c4
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffff400
mov esi, eax
xor ebx, ebx
push esp
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
call fcn.0040ffc8
test eax, eax
je 0x47f9fd
lea eax, [esp + 0x400]
push eax
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryW
lea ebx, [esp + 0x400]
push ebx
lea ecx, [esp + 4]
lea edx, [esp + 4]
mov eax, esi
call fcn.0047f750
add esp, 0xc00
pop esi
pop ebx
ret

Function at 0x47fccc
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd3c
cmp ecx, 0x4e
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
jne 0x47fdaf
mov edx, eax
mov ecx, dword [edx + 8]
sub ecx, 0xfffffcdb
je 0x47fcfb
sub ecx, 5
je 0x47fd15
jmp 0x47fdab
cmp dword [eax + 0x118], 2
jne 0x47fd0e
mov eax, 0x4c29b4
call fcn.0047f5b4
xor eax, eax
jmp 0x47fdba
mov ebx, eax
mov esi, dword [ebx + 0xc]
mov eax, dword [ebx + 0x2c]
cmp dword [eax], 4
jne 0x47fd27
mov edi, dword [eax + 4]
jmp 0x47fd2a
lea edi, [eax + 8]
cmp dword [eax], 4
jne 0x47fd36
mov eax, 8
jmp 0x47fd38
xor eax, eax
test esi, 1
mov dword [ebp - 4], eax
je 0x47fd6e
mov edx, dword [ebp - 4]
lea ecx, [ebp - 0x164]
or edx, 0x200
push edx
push 0x160
push ecx
push 0
push edi
call sub.SHELL32.DLL_SHGetFileInfoA
test eax, eax
je 0x47fd6e
lea eax, [ebp - 0x158]
mov dword [ebx + 0x14], eax
test esi, 6
je 0x47fda0
mov edx, dword [ebp - 4]
lea ecx, [ebp - 0x2c4]
or edx, 0x4001
push edx
push 0x160
push ecx
push 0
push edi
call sub.SHELL32.DLL_SHGetFileInfoA
mov eax, dword [ebp - 0x2c0]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x1c], eax
or dword [ebx + 0xc], 0x10000000
xor eax, eax
jmp 0x47fdba
xor eax, eax
jmp 0x47fdba
push eax
push dword [ebp + 0xc]
push ecx
push edx
call sub.USER32.DLL_DefWindowProcA
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x47fee4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov byte [ebp - 1], cl
push dword [ebp + 8]
mov ebx, edx
call sub.USER32.DLL_GetSysColor
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x47ff16
mov edx, ebx
shl edx, 3
sub edx, ebx
mov ecx, dword [edx*8 + 0x4aa264]
jmp 0x47ff24
mov eax, ebx
shl eax, 3
sub eax, ebx
mov ecx, dword [eax*8 + 0x4aa268]
cmp byte [ebp - 1], 0
mov ebx, ecx
jne 0x47ff63
push 2
push ebx
push dword [0x4af754]
call sub.KERNEL32.DLL_FindResourceA
push eax
push dword [0x4af754]
call sub.KERNEL32.DLL_LoadResource
test eax, eax
jne 0x47ff51
mov edx, 4
jmp 0x47ff55
movzx edx, word [eax + 0xe]
mov eax, edx
cmp eax, 8
je 0x47ff63
mov dword [ebp - 0xc], 0x800080
push 1
lea eax, [ebp - 0xc]
push eax
push 0
push ebx
push dword [0x4af754]
call sub.COMCTL32.DLL_CreateMappedBitmap
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x48145c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff98
mov ebx, eax
lea edi, [esp + 8]
mov eax, dword [ebx + 4]
test eax, eax
je 0x48147b
push eax
call sub.USER32.DLL_DestroyWindow
xor edx, edx
mov dword [ebx + 4], edx
mov edx, str.ViewSmall
mov eax, str.GeneralToolbar
mov ecx, 1
call fcn.0046c37c
test eax, eax
je 0x4815ce
mov esi, 0x56000944
push 0
push dword [0x4af758]
push 0xd
push dword [0x4c2440]
push 0
push 0
push 0
push 0
push esi
push 0
push str.ToolbarWindow32
push 0
call sub.USER32.DLL_CreateWindowExA
mov ebp, eax
mov dword [ebx + 4], ebp
push 0
push 0x14
push 0x41e
push ebp
call sub.USER32.DLL_SendMessageA
push 0x100010
push 0
push 0x41f
push dword [ebx + 4]
call sub.USER32.DLL_SendMessageA
push 0x100010
push 0
push 0x420
push dword [ebx + 4]
call sub.USER32.DLL_SendMessageA
push 0
mov edx, str.FolderUp.bmp
mov eax, 0x4c2c80
mov ecx, 0xf
call fcn.0048453c
test eax, eax
jne 0x48151c
mov eax, dword [ebx + 0x1c]
xor edx, edx
mov ecx, esp
mov dword [esp], edx
mov dword [esp + 4], eax
push ecx
push 1
push 0x413
push dword [ebx + 4]
call sub.USER32.DLL_SendMessageA
push 0x4aa6c0
push 1
push 0x414
push dword [ebx + 4]
call sub.USER32.DLL_SendMessageA
mov ecx, edi
mov edx, 2
mov eax, ebx
call fcn.00481654
mov dword [edi], 0x38
mov dword [edi + 4], 0x173
cmp dword [edi + 8], 0
jne 0x481570
or dword [edi + 8], 1
or dword [edi + 8], 4
mov eax, dword [ebx + 4]
xor edx, edx
mov dword [edi + 0x20], eax
mov dword [edi + 0x34], 2
mov dword [edi + 0x24], edx
push 0x12
call sub.USER32.DLL_GetSysColor
mov dword [edi + 0xc], eax
push 0xf
call sub.USER32.DLL_GetSysColor
mov dword [edi + 0x10], eax
cmp dword [edi + 0x2c], 0
jne 0x4815a7
mov dword [edi + 0x2c], 0x28
mov eax, dword [0x4c29b4]
lea edx, [esp + 0x58]
push edx
push eax
call sub.USER32.DLL_GetClientRect
mov ecx, dword [esp + 0x64]
mov dword [edi + 0x28], ecx
push edi
push 0xffffffffffffffff
push 0x401
push dword [ebx + 8]
call sub.USER32.DLL_SendMessageA
add esp, 0x68
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4841d4
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffd4
mov esi, edx
mov ebx, eax
cmp esi, 0xa8
jne 0x4841f4
mov eax, ebx
call fcn.00484b88
mov al, 1
jmp 0x4842fb
cmp esi, 0xa9
jne 0x484220
push 1
push 0x4aaa34
push 0
mov eax, 0x4f7
call fcn.0041202c
push eax
push 0
push 0
call sub.SHELL32.DLL_ShellExecuteA
mov al, 1
jmp 0x4842fb
mov eax, ebx
call fcn.00484098
mov edi, eax
cmp esi, 0xaa
jne 0x484251
mov dword [ebx + 0x114], 0xffffffff
mov ecx, 0x4aaa34
mov edx, str.ActivePath
mov eax, str.InterfaceThemes
call fcn.0046bfc8
jmp 0x4842cd
cmp esi, 0x3e8
jl 0x484261
cmp esi, 0x428
jl 0x484268
xor eax, eax
jmp 0x4842fb
push 0x2c
push 0
lea edx, [esp + 8]
push edx
call fcn.00494dd8
add esp, 0xc
mov dword [esp], 0x2c
mov dword [esp + 4], 0x20
push esp
push 0
push esi
push edi
call sub.USER32.DLL_GetMenuItemInfoA
test eax, eax
jne 0x48429a
xor eax, eax
jmp 0x4842fb
mov eax, dword [esp + 0x20]
cmp eax, dword [ebx + 0x10c]
jb 0x4842aa
xor eax, eax
jmp 0x4842fb
mov edx, eax
mov eax, str.InterfaceThemes
imul ecx, edx, 0x584
mov dword [ebx + 0x114], edx
mov edx, str.ActivePath
add ecx, dword [ebx + 0x108]
call fcn.0046bfc8
mov eax, dword [ebx + 0x518]
cmp eax, 0xffffffff
je 0x4842e1
push 0
push eax
push edi
call sub.USER32.DLL_CheckMenuItem
push 8
push esi
push edi
call sub.USER32.DLL_CheckMenuItem
mov dword [ebx + 0x518], esi
xor edx, edx
mov eax, ebx
call fcn.00484408
mov al, 1
add esp, 0x2c
pop edi
pop esi
pop ebx
ret
Function at 0x48bbd6
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
add esp, 0xfffffff4
mov ebx, eax
mov eax, edx
call fcn.0048bd2c
push 0xc
push ebx
lea edx, [esp + 8]
push edx
call fcn.00494d68
add esp, 0xc
xor ebx, ebx
call fcn.0048bca4
xor byte [esp + ebx], al
mov al, byte [esp + ebx]
and eax, 0xff
call fcn.0048bcc8
inc ebx
cmp ebx, 0xc
jl 0x48bbf6
mov edx, dword [0x4d30cc]
xor eax, eax
mov al, byte [esp + 0xb]
test byte [edx + 0x28], 2
je 0x48bc2f
movzx ecx, word [0x4e3132]
sar ecx, 8
jmp 0x48bc3b
mov ecx, dword [0x4e3138]
shr ecx, 0x18
movzx ecx, cx
movzx eax, ax
cmp ecx, eax
je 0x48bc47
or eax, 0xffffffff
jmp 0x48bc9b
mov eax, dword [0x4e30e0]
cdq
cmp edx, dword [0x4d25a4]
jne 0x48bc60
cmp eax, dword [0x4d25a0]
jbe 0x48bc6c
jmp 0x48bc62
jle 0x48bc6c
mov eax, dword [0x4d25a0]
mov ebx, eax
jmp 0x48bc74
mov eax, dword [0x4e30e0]
mov ebx, eax
mov esi, dword [0x4e30dc]
jmp 0x48bc90
call fcn.0048bca4
xor byte [esi], al
mov al, byte [esi]
and eax, 0xff
call fcn.0048bcc8
inc esi
mov edx, ebx
add ebx, 0xffffffff
test edx, edx
jne 0x48bc7c
xor eax, eax
add esp, 0xc
pop esi
pop ebx
ret

Function at 0x48bcc8
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov edx, dword [0x4e33f8]
mov ecx, edx
xor ecx, eax
and ecx, 0xff
shr edx, 8
mov ecx, dword [ecx*4 + 0x4b1070]
xor ecx, edx
mov dword [0x4e33f8], ecx
and ecx, 0xff
add dword [0x4e33fc], ecx
imul edx, dword [0x4e33fc], 0x8088405
inc edx
mov dword [0x4e33fc], edx
shr edx, 0x18
mov ecx, dword [0x4e3400]
xor edx, ecx
and edx, 0xff
shr ecx, 8
mov edx, dword [edx*4 + 0x4b1070]
xor edx, ecx
mov dword [0x4e3400], edx
ret

Function at 0x48c041
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov edx, 0x4e347c
push ebx
mov ecx, dword [edx]
mov ebx, ecx
xor ebx, eax
and ebx, 0xff
shr ecx, 8
mov ebx, dword [ebx*4 + 0x4b1070]
xor ebx, ecx
mov dword [edx], ebx
and ebx, 0xff
add dword [edx + 4], ebx
imul ecx, dword [edx + 4], 0x8088405
inc ecx
mov dword [edx + 4], ecx
shr ecx, 0x18
mov ebx, dword [edx + 8]
xor ecx, ebx
and ecx, 0xff
shr ebx, 8
mov ecx, dword [ecx*4 + 0x4b1070]
xor ecx, ebx
mov dword [edx + 8], ecx
pop ebx
ret

Function at 0x48c1a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp byte [0x4b8bd5], 0
je 0x48c1e9
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
imul esi, dword [ebp - 0xc]
test esi, esi
je 0x48c1e9
call fcn.0048c020
mov edi, eax
xor eax, eax
mov al, byte [ebx]
call fcn.0048c041
mov edx, edi
dec esi
xor dl, byte [ebx]
mov byte [ebx], dl
inc ebx
test esi, esi
jne 0x48c1cd
push dword [ebp + 8]
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.004972a8
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4