joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46dc50
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.0048d5d8
add esp, 0xc
mov dword [esi], 0x3c
mov dword [esi + 4], 0x500
test bl, bl
jne 0x46dc93
or dword [esi + 4], 0x40
mov dword [esi + 0x10], edi
cmp dword [ebp + 8], 0
je 0x46dca4
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
jmp 0x46dcc8
lea edx, [ebp - 0x94]
mov ecx, 0x50
mov eax, dword [esi + 0x10]
call fcn.0046c7e4
test al, al
je 0x46dcc3
lea edx, [ebp - 0x94]
jmp 0x46dcc5
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.0040b578
cmp edi, eax
jne 0x46dcfd
push edi
push str.._s
lea edx, [ebp - 0x894]
push edx
call fcn.00490628
add esp, 0xc
lea ecx, [ebp - 0x894]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x1c], 1
call fcn.0040f818
test eax, eax
je 0x46ddba
mov eax, dword [ebp - 4]
call fcn.0040e5cc
cmp word [eax], 0
je 0x46ddba
xor edi, edi
push str.shell32.dll
call sub.KERNEL32.DLL_GetModuleHandleA
test eax, eax
je 0x46dd40
push str.ShellExecuteExW
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edi, eax
test edi, edi
jne 0x46dd4b
xor eax, eax
jmp 0x46de62
mov edx, dword [ebp - 4]
mov dword [esi + 0x10], edx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x46dd71
lea edx, [ebp - 0x934]
mov ecx, 0x10000000
call fcn.0040f890
lea edx, [ebp - 0x934]
mov dword [esi + 0xc], edx
cmp dword [ebp - 8], 0
je 0x46dd93
lea edx, [ebp - 0x1134]
mov ecx, 0x10000000
mov eax, dword [ebp - 8]
call fcn.0040f890
lea eax, [ebp - 0x1134]
mov dword [esi + 0x18], eax
cmp dword [ebp + 0x14], 0
je 0x46ddb5
lea edx, [ebp - 0x1934]
mov ecx, 0x10000000
mov eax, dword [ebp + 0x14]
call fcn.0040f890
lea edx, [ebp - 0x1934]
mov dword [esi + 0x14], edx
push esi
call edi
jmp 0x46ddc0
push esi
call sub.SHELL32.DLL_ShellExecuteExA
test eax, eax
je 0x46ddd0
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0x483
jne 0x46ddd7
xor eax, eax
jmp 0x46de62
test bl, bl
jne 0x46de60
mov eax, dword [esi + 0x38]
test eax, eax
je 0x46de1f
mov edx, dword [0x4a0b8c]
mov dword [edx*4 + 0x4c3280], eax
mov ecx, dword [0x4a0b8c]
mov eax, dword [esi + 0x20]
mov dword [ecx*4 + 0x4c32c0], eax
mov edx, dword [0x4a0b8c]
inc edx
and edx, 0x8000000f
jns 0x46de17
dec edx
or edx, 0xfffffff0
inc edx
mov dword [0x4a0b8c], edx
jmp 0x46de52
xor ebx, ebx
mov eax, dword [ebx*4 + 0x4c32c0]
cmp eax, dword [esi + 0x20]
jne 0x46de4c
push 0
push dword [ebx*4 + 0x4c3280]
call sub.KERNEL32.DLL_WaitForSingleObject
cmp eax, 0x102
jne 0x46de4c
mov edx, dword [ebx*4 + 0x4c3280]
mov dword [esi + 0x38], edx
inc ebx
cmp ebx, 0x10
jl 0x46de21
cmp dword [ebp + 0xc], 0
je 0x46de60
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 0x46f0f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
push 0x4bc1c8
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
jne 0x46f127
push 0x40
mov eax, 0x2bc
call fcn.004116e0
push eax
mov eax, 0x2bd
call fcn.004116e0
push eax
push dword [0x4b9820]
call sub.USER32.DLL_MessageBoxA
pop ebx
ret
push 0
mov edx, 0x4bc1c8
xor ecx, ecx
mov eax, ebx
call fcn.0046e344
pop ebx
ret

Function at 0x46f13c
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.0046d590
test al, al
je 0x46f188
push 0x30
mov eax, 0x65
call fcn.004116e0
push eax
mov eax, 0x596
call fcn.004116e0
push eax
push dword [0x4b9820]
call sub.USER32.DLL_MessageBoxA
jmp 0x46f346
cmp dword [0x4bc1a8], 0
jne 0x46f1c5
push 0
push 1
push 0
push 0
xor ecx, ecx
mov edx, esi
mov eax, ebx
call fcn.0046dc50
test al, al
jne 0x46f346
push ebx
mov eax, 0x201
call fcn.004116e0
push eax
call fcn.0044a170
add esp, 8
jmp 0x46f346
mov edx, esp
mov eax, str.Rar_EXXXXXXX
call fcn.00467cd4
test al, al
je 0x46f346
lea edx, [esp + 0x400]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
push esp
call fcn.0048f15c
pop ecx
lea edx, [esp + 0x800]
mov eax, 0x4ba564
call fcn.0045d130
call fcn.004524d0
mov ecx, 0x4b2ac4
mov edx, 0x4b26c4
mov eax, 0x4ba564
call fcn.0045d0fc
mov ecx, dword [esp + 0x810]
mov dword [0x4b127c], ecx
mov edx, 0x4a0bb6
mov eax, dword [0x4b32c4]
call fcn.0040efcc
call fcn.00452fa4
mov eax, 0x4ba564
xor ecx, ecx
xor edx, edx
call fcn.00458638
cmp dword [0x4bc1b8], 0
jne 0x46f346
lea edx, [esp + 0x89c]
mov eax, ebx
call fcn.0040b688
lea edx, [esp + 0xc9c]
mov eax, esi
call fcn.0040b794
lea edx, [esp + 0x89c]
lea eax, [esp + 0x89c]
call fcn.0040a568
lea edx, [esp + 0xc9c]
lea eax, [esp + 0xc9c]
call fcn.0040a5b0
push 0x200c
push 0
push 0x4c7528
call fcn.0048d5d8
add esp, 0xc
lea ecx, [esp + 0x89c]
push ecx
push 0x4c8131
call fcn.0048d758
add esp, 8
mov eax, 0x4c8532
lea edx, [esp + 0xc9c]
call fcn.0040f920
push 0x4b26c4
push 0x4c752c
call fcn.0048d758
add esp, 8
mov edx, 0x4b2ac4
mov eax, 0x4c792c
call fcn.0040f920
push esp
push 0x4c8d32
call fcn.0048d758
add esp, 8
lea ecx, [esp + 0x400]
push ecx
call fcn.0048f15c
pop ecx
mov eax, dword [0x4b127c]
cmp dword [esp + 0x88c], 0
setne dl
push 0x4c7528
and edx, 1
mov dword [0x4c812c], eax
push 0x10000
push 0x46d5f4
mov byte [0x4c8130], dl
call fcn.0049596c
add esp, 0xc
add esp, 0x149c
pop esi
pop ebx
ret
Function at 0x475bea
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
push eax
push dword [0x4b982c]
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.0048d70c
add esp, 8
test eax, eax
je 0x475c27
push esi
push ebx
call sub.USER32.DLL_SetWindowTextA
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x476dec
Capabilities:
Get graphical window text

Disassembly:
add esp, 0xfffffe00
mov eax, dword [0x4b982c]
test eax, eax
je 0x476e99
push pe_nt_image_headers32
lea edx, [esp + 4]
push edx
push eax
call sub.USER32.DLL_GetWindowTextA
cmp dword [0x4c96e4], 8
je 0x476e3e
push 0x4c96e8
lea ecx, [esp + 4]
push ecx
call fcn.0048d70c
add esp, 8
test eax, eax
je 0x476e3e
push 0x4c96e8
push dword [0x4b982c]
call sub.USER32.DLL_SetWindowTextA
mov eax, dword [0x4c96e4]
test eax, eax
je 0x476e56
cmp eax, 1
je 0x476e56
cmp eax, 2
je 0x476e56
cmp eax, 8
jne 0x476e7b
mov edx, 0x4c9768
mov eax, 0x9c
call fcn.00475bea
mov eax, 0x4c97e8
call fcn.0040b578
mov edx, eax
mov eax, 0x9b
call fcn.00475bea
mov edx, 0x64
mov eax, 2
call fcn.00444b74
test al, al
je 0x476e99
push dword [0x4b982c]
call sub.USER32.DLL_UpdateWindow
add esp, 0x200
ret
Function at 0x477d34
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 0x477d5a
mov eax, str.comctl32.dll
call fcn.00467e80
mov dword [ebx + 8], eax
mov eax, dword [ebx]
test eax, eax
je 0x477d66
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 [0x4a6fbc]
push dword [ebp + 8]
push esi
push 0xdc
push 0x3c
push 0
push 0
push 0x44200046
push 0
cmp byte [ebp - 1], 0
je 0x477d9e
mov ecx, str.ComboBoxEx32
jmp 0x477da3
mov ecx, str.combobox
push ecx
push 0
call sub.USER32.DLL_CreateWindowExA
mov dword [ebx], eax
cmp byte [ebp - 1], 0
je 0x477e4e
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 [0x4c3174]
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 0xffffffffffffffff
push 0
mov ecx, 1
lea edx, [ebp - 0x170]
mov eax, ebx
call fcn.004781bc
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 0x477e61
call fcn.004681e0
jmp 0x477e61
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 0x477e8e
xor eax, eax
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x10]
push edx
call sub.SHELL32.DLL_SHGetDesktopFolder
test eax, eax
jne 0x477e8e
push 0
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.00477ef0
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x477edd
call fcn.00468158
mov edi, eax
xor esi, esi
mov ecx, esi
mov eax, 1
shl eax, cl
test eax, edi
je 0x477ed7
lea edx, [esi + 0x41]
lea eax, [ebp - 0x1c]
push edx
push str._c:_
push eax
call fcn.00490628
add esp, 0xc
xor ecx, ecx
lea edx, [ebp - 0x1c]
mov eax, ebx
push 0
push 0xffffffffffffffff
push 0
push 2
push 0xffffffffffffffff
push 1
call fcn.004781bc
inc esi
cmp esi, 0x20
jl 0x477e9d
mov eax, ebx
call fcn.00478320
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4781bc
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe78
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
push 0x408
call fcn.0048bd90
mov ebx, eax
mov eax, dword [ebp - 4]
pop ecx
mov dword [ebx], eax
mov edx, dword [ebp + 0x1c]
mov eax, edi
mov dword [ebx + 4], edx
call fcn.0040e5bc
push eax
lea edx, [ebx + 8]
push edx
call fcn.0048d758
add esp, 8
cmp byte [esi + 4], 0
je 0x4782f8
cmp dword [esi + 8], 0x50000
jb 0x478220
cmp dword [0x4bcb1c], 4
jne 0x478224
cmp dword [0x4bcb20], 0
jne 0x478224
mov byte [ebp + 8], 0
cmp byte [ebp + 8], 0
jne 0x478236
cmp dword [ebp + 0x18], 0xffffffff
je 0x47823a
cmp dword [ebp + 0x14], 0
je 0x47823a
xor eax, eax
jmp 0x47823f
mov eax, 1
test al, al
je 0x478284
cmp dword [ebp - 4], 2
mov eax, 0x4201
jne 0x478251
or eax, 2
push eax
push 0x160
lea edx, [ebp - 0x164]
push edx
push 0
push edi
call sub.SHELL32.DLL_SHGetFileInfoA
cmp dword [ebp + 0x18], 0xffffffff
jne 0x478275
mov ecx, dword [ebp - 0x160]
mov dword [ebp + 0x18], ecx
cmp dword [ebp + 0x14], 0
jne 0x478284
lea eax, [ebp - 0x158]
mov dword [ebp + 0x14], eax
push 0x24
push 0
lea edx, [ebp - 0x188]
push edx
call fcn.0048d5d8
add esp, 0xc
mov dword [ebp - 0x188], 0x37
cmp dword [ebp + 0x14], 0
je 0x4782ac
mov ecx, dword [ebp + 0x14]
jmp 0x4782af
or ecx, 0xffffffff
mov dword [ebp - 0x180], ecx
mov dword [ebp - 0x168], ebx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x184], eax
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x178], edx
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x174], eax
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x16c], edx
push ecx
push 0
push 0x401
push dword [esi]
call sub.USER32.DLL_SendMessageA
jmp 0x478316
push edi
push dword [ebp + 0xc]
push 0x14a
push dword [esi]
call sub.USER32.DLL_SendMessageA
push ebx
push eax
push 0x151
push dword [esi]
call sub.USER32.DLL_SendMessageA
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x478320
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffbf4
mov esi, eax
mov eax, 0x4b9834
call fcn.00463ec0
mov edi, eax
test edi, edi
je 0x4783a7
xor eax, eax
mov dword [esp], eax
push esp
call sub.SHELL32.DLL_SHGetDesktopFolder
test eax, eax
jne 0x478394
xor ebx, ebx
push 0
push ebx
push 0x150
push dword [esi]
call sub.USER32.DLL_SendMessageA
cmp eax, 0xffffffff
je 0x478394
mov edx, dword [eax + 4]
test edx, edx
je 0x47838b
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 0x47838b
push 0
push ebx
push 0x14e
push dword [esi]
call sub.USER32.DLL_SendMessageA
jmp 0x478394
inc ebx
cmp ebx, 0x80
jl 0x47834d
mov eax, dword [esp]
push eax
mov edx, dword [eax]
call dword [edx + 8]
jmp 0x47844b
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 0x47841c
cmp dword [ebx], 0
jne 0x478413
movzx ebp, byte [ebx + 8]
push ebp
call fcn.004916ac
pop ecx
push eax
xor eax, eax
mov al, byte [esp + 0x10]
mov dword [esp + 0xc], eax
push dword [esp + 0xc]
call fcn.004916ac
pop ecx
pop edx
cmp edx, eax
jne 0x478413
push 0
push edi
push 0x14e
push dword [esi]
call sub.USER32.DLL_SendMessageA
mov byte [esp + 4], 1
jmp 0x47841c
inc edi
cmp edi, 0x80
jl 0x4783bd
cmp byte [esp + 4], 0
jne 0x478432
lea ecx, [esp + 0xc]
lea edx, [esp + 0xc]
mov eax, esi
call fcn.004785f4
cmp dword [0x4bc1a8], 0
je 0x478444
mov eax, esi
call fcn.0047887c
jmp 0x47844b
mov eax, esi
call fcn.00478854
add esp, 0x40c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x478458
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.004449ec
mov edx, esp
push edx
push 0xffffffffffffffff
push 0x158
push dword [ebx]
call sub.USER32.DLL_SendMessageA
cmp eax, 0xffffffff
je 0x4784c0
push 0
push eax
push 0x14e
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov eax, ebx
call fcn.00478514
cmp dword [0x4bc1a8], 0
je 0x4784b7
mov eax, ebx
call fcn.0047887c
jmp 0x47850a
mov eax, ebx
call fcn.00478854
jmp 0x47850a
cmp dword [0x4bc1a8], 0
je 0x4784e4
mov eax, esp
call fcn.0040bf24
test al, al
jne 0x4784e4
mov edx, esp
mov eax, 0x4b9834
xor ecx, ecx
call fcn.00461a90
jmp 0x47850a
push esp
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x478503
test al, 0x10
jne 0x478503
mov edx, esp
mov eax, 0x4b9834
xor ecx, ecx
call fcn.00461920
jmp 0x47850a
mov eax, esp
call fcn.00444e6c
add esp, 0x400
pop ebx
ret

Function at 0x478854
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffc00
mov ebx, eax
push esp
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
mov ecx, esp
mov edx, esp
mov eax, ebx
call fcn.004785f4
add esp, 0x400
pop ebx
ret
Function at 0x478a2c
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 0x478b0f
mov edx, eax
mov ecx, dword [edx + 8]
sub ecx, 0xfffffcdb
je 0x478a5b
sub ecx, 5
je 0x478a75
jmp 0x478b0b
cmp dword [eax + 0x118], 2
jne 0x478a6e
mov eax, 0x4b9d7c
call fcn.00478458
xor eax, eax
jmp 0x478b1a
mov ebx, eax
mov esi, dword [ebx + 0xc]
mov eax, dword [ebx + 0x2c]
cmp dword [eax], 4
jne 0x478a87
mov edi, dword [eax + 4]
jmp 0x478a8a
lea edi, [eax + 8]
cmp dword [eax], 4
jne 0x478a96
mov eax, 8
jmp 0x478a98
xor eax, eax
test esi, 1
mov dword [ebp - 4], eax
je 0x478ace
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 0x478ace
lea eax, [ebp - 0x158]
mov dword [ebx + 0x14], eax
test esi, 6
je 0x478b00
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 0x478b1a
xor eax, eax
jmp 0x478b1a
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 0x478c44
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 0x478c76
mov edx, ebx
shl edx, 3
sub edx, ebx
mov ecx, dword [edx*8 + 0x4a1b30]
jmp 0x478c84
mov eax, ebx
shl eax, 3
sub eax, ebx
mov ecx, dword [eax*8 + 0x4a1b34]
cmp byte [ebp - 1], 0
mov ebx, ecx
jne 0x478cc3
push 2
push ebx
push dword [0x4a6fb8]
call sub.KERNEL32.DLL_FindResourceA
push eax
push dword [0x4a6fb8]
call sub.KERNEL32.DLL_LoadResource
test eax, eax
jne 0x478cb1
mov edx, 4
jmp 0x478cb5
movzx edx, word [eax + 0xe]
mov eax, edx
cmp eax, 8
je 0x478cc3
mov dword [ebp - 0xc], 0x800080
push 1
lea eax, [ebp - 0xc]
push eax
push 0
push ebx
push dword [0x4a6fb8]
call sub.COMCTL32.DLL_CreateMappedBitmap
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x47a1bc
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 0x47a1db
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.004659b8
test eax, eax
je 0x47a32e
mov esi, 0x56000944
push 0
push dword [0x4a6fbc]
push 0xd
push dword [0x4b9820]
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, 0x4ba048
mov ecx, 0xf
call fcn.0047d238
test eax, eax
jne 0x47a27c
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 0x4a1f8c
push 1
push 0x414
push dword [ebx + 4]
call sub.USER32.DLL_SendMessageA
mov ecx, edi
mov edx, 2
mov eax, ebx
call fcn.0047a3b4
mov dword [edi], 0x38
mov dword [edi + 4], 0x173
cmp dword [edi + 8], 0
jne 0x47a2d0
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 0x47a307
mov dword [edi + 0x2c], 0x28
mov eax, dword [0x4b9d7c]
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 0x47cedc
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffd4
mov esi, edx
mov ebx, eax
cmp esi, 0xa6
jne 0x47cefc
mov eax, ebx
call fcn.0047d8d0
mov al, 1
jmp 0x47d003
cmp esi, 0xa7
jne 0x47cf28
push 1
push 0x4a2304
push 0
mov eax, 0x4f7
call fcn.004116e0
push eax
push 0
push 0
call sub.SHELL32.DLL_ShellExecuteA
mov al, 1
jmp 0x47d003
mov eax, ebx
call fcn.0047cda0
mov edi, eax
cmp esi, 0xa8
jne 0x47cf59
mov dword [ebx + 0x114], 0xffffffff
mov ecx, 0x4a2304
mov edx, str.ActivePath
mov eax, str.InterfaceThemes
call fcn.00465618
jmp 0x47cfd5
cmp esi, 0x3e8
jl 0x47cf69
cmp esi, 0x428
jl 0x47cf70
xor eax, eax
jmp 0x47d003
push 0x2c
push 0
lea edx, [esp + 8]
push edx
call fcn.0048d5d8
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 0x47cfa2
xor eax, eax
jmp 0x47d003
mov eax, dword [esp + 0x20]
cmp eax, dword [ebx + 0x10c]
jb 0x47cfb2
xor eax, eax
jmp 0x47d003
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.00465618
mov eax, dword [ebx + 0x518]
cmp eax, 0xffffffff
je 0x47cfe9
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.0047d110
mov al, 1
add esp, 0x2c
pop edi
pop esi
pop ebx
ret
Function at 0x4846d6
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
add esp, 0xfffffff4
mov ebx, eax
mov eax, edx
call fcn.0048482c
push 0xc
push ebx
lea edx, [esp + 8]
push edx
call fcn.0048d568
add esp, 0xc
xor ebx, ebx
call fcn.004847a4
xor byte [esp + ebx], al
mov al, byte [esp + ebx]
and eax, 0xff
call fcn.004847c8
inc ebx
cmp ebx, 0xc
jl 0x4846f6
mov edx, dword [0x4cb834]
xor eax, eax
mov al, byte [esp + 0xb]
test byte [edx + 0x28], 2
je 0x48472f
movzx ecx, word [0x4db89a]
sar ecx, 8
jmp 0x48473b
mov ecx, dword [0x4db8a0]
shr ecx, 0x18
movzx ecx, cx
movzx eax, ax
cmp ecx, eax
je 0x484747
or eax, 0xffffffff
jmp 0x48479b
mov eax, dword [0x4db848]
cdq
cmp edx, dword [0x4cad0c]
jne 0x484760
cmp eax, dword [0x4cad08]
jbe 0x48476c
jmp 0x484762
jle 0x48476c
mov eax, dword [0x4cad08]
mov ebx, eax
jmp 0x484774
mov eax, dword [0x4db848]
mov ebx, eax
mov esi, dword [0x4db844]
jmp 0x484790
call fcn.004847a4
xor byte [esi], al
mov al, byte [esi]
and eax, 0xff
call fcn.004847c8
inc esi
mov edx, ebx
add ebx, 0xffffffff
test edx, edx
jne 0x48477c
xor eax, eax
add esp, 0xc
pop esi
pop ebx
ret

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

Disassembly:
mov edx, dword [0x4dbb60]
mov ecx, edx
xor ecx, eax
and ecx, 0xff
shr edx, 8
mov ecx, dword [ecx*4 + 0x4a88d4]
xor ecx, edx
mov dword [0x4dbb60], ecx
and ecx, 0xff
add dword [0x4dbb64], ecx
imul edx, dword [0x4dbb64], 0x8088405
inc edx
mov dword [0x4dbb64], edx
shr edx, 0x18
mov ecx, dword [0x4dbb68]
xor edx, ecx
and edx, 0xff
shr ecx, 8
mov edx, dword [edx*4 + 0x4a88d4]
xor edx, ecx
mov dword [0x4dbb68], edx
ret

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

Disassembly:
mov edx, 0x4dbbe4
push ebx
mov ecx, dword [edx]
mov ebx, ecx
xor ebx, eax
and ebx, 0xff
shr ecx, 8
mov ebx, dword [ebx*4 + 0x4a88d4]
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 + 0x4a88d4]
xor ecx, ebx
mov dword [edx + 8], ecx
pop ebx
ret

Function at 0x484ca4
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 [0x4b03fc], 0
je 0x484ce9
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
imul esi, dword [ebp - 0xc]
test esi, esi
je 0x484ce9
call fcn.00484b20
mov edi, eax
xor eax, eax
mov al, byte [ebx]
call fcn.00484b41
mov edx, edi
dec esi
xor dl, byte [ebx]
mov byte [ebx], dl
inc ebx
test esi, esi
jne 0x484ccd
push dword [ebp + 8]
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0048fb18
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4