joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421d0a
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4b3294
call fcn.004390a5
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x421d2f
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x421d75
lea ecx, [ebp - 0x10]
call fcn.00408a60
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00401e20
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004012c0
mov eax, esi
call fcn.0043917d
ret 8

Function at 0x4226c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x422708
call fcn.0042398f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x422708
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x42274b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x422734
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x422734
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x422748
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x43640c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4e70ac]
jne 0x436416
repz ret
jmp fcn.0043d45c
Function at 0x445b03
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0043ad28
and dword [ebp - 4], 0
cmp dword [0x4eceac], 0
mov ebx, eax
jne 0x445bb4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x445c65
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x445c65
push eax
call fcn.0043acb6
mov dword [esp], 0x4c1220
push edi
mov dword [0x4eceac], eax
call esi
push eax
call fcn.0043acb6
mov dword [esp], 0x4c120c
push edi
mov dword [0x4eceb0], eax
call esi
push eax
call fcn.0043acb6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4eceb4], eax
call esi
push eax
call fcn.0043acb6
pop ecx
mov dword [0x4ecebc], eax
test eax, eax
je 0x445bb4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043acb6
pop ecx
mov dword [0x4eceb8], eax
mov eax, dword [0x4eceb8]
cmp eax, ebx
je 0x445c0c
cmp dword [0x4ecebc], ebx
je 0x445c0c
push eax
call fcn.0043ad31
push dword [0x4ecebc]
mov esi, eax
call fcn.0043ad31
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x445c0c
test edi, edi
je 0x445c0c
call esi
test eax, eax
je 0x445c03
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x445c03
test byte [ebp - 0xc], 1
jne 0x445c0c
or dword [ebp + 0x10], 0x200000
jmp 0x445c45
mov eax, dword [0x4eceb0]
cmp eax, ebx
je 0x445c45
push eax
call fcn.0043ad31
pop ecx
test eax, eax
je 0x445c45
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x445c45
mov eax, dword [0x4eceb4]
cmp eax, ebx
je 0x445c45
push eax
call fcn.0043ad31
pop ecx
test eax, eax
je 0x445c45
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4eceac]
call fcn.0043ad31
pop ecx
test eax, eax
je 0x445c65
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x445c67
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44de3e
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4ecf48], 0
push esi
jne 0x44ddb1
call fcn.0044dcd7
test eax, eax
je 0x44ddf4
mov eax, dword [0x4ecf48]
cmp eax, 1
jne 0x44ddd2
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x44ddf4
pop esi
ret
push eax
call dword [0x4ecf50]
test eax, eax
jne 0x44de3c
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x44ddf8
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4ecf48]
call dword [0x4ecf50]
mov edi, eax
test edi, edi
je 0x44de1d
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x44de39
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4ecf48]
call dword [0x4ecf4c]
add edi, 0x10
cmp edi, esi
jb 0x44de25
mov eax, edi
pop edi
pop esi
ret
jmp 0x44dd9e
Function at 0x450c70
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b4278
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4e70ac]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e70ac]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, dword [esp + 0x44]
xor ebp, ebp
mov ebx, ecx
cmp esi, ebp
jne 0x450cbf
push ebp
push ebp
push ebp
push 2
call fcn.0045f620
xor al, al
jmp 0x450e57
call fcn.0044f840
push 2
or eax, 0xffffffff
push ebp
push esi
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
call fcn.004a97bd
push esi
call fcn.004a96c5
push ebp
push ebp
push esi
mov edi, eax
call fcn.004a97bd
add esp, 0x1c
cmp edi, ebp
jg 0x450d10
cmp byte [esp + 0x48], 0
je 0x450cfd
push esi
call fcn.004370ba
add esp, 4
push ebp
push ebp
push ebp
push 0xd
mov ecx, ebx
call fcn.0045f620
xor al, al
jmp 0x450e57
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebp
mov byte [esp + 0x18], 0
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], ebp
call fcn.004504f0
lea eax, [edi + 1]
push eax
call fcn.00418b51
push esi
push 1
mov ebp, eax
push edi
push ebp
mov byte [ebp], 0
call fcn.004a950b
add esp, 0x14
cmp eax, 1
je 0x450d93
cmp byte [esp + 0x48], 0
je 0x450d60
push esi
call fcn.004370ba
add esp, 4
push ebp
call fcn.00418b46
add esp, 4
push 0
push 0
push 0
push 2
mov ecx, ebx
call fcn.0045f620
cmp dword [esp + 0x2c], 0x10
jb 0x450d8c
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00418b46
add esp, 4
xor al, al
jmp 0x450e57
cmp byte [esp + 0x48], 0
je 0x450da3
push esi
call fcn.004370ba
add esp, 4
mov byte [edi + ebp], 0
cmp byte [ebp], 0
mov eax, ebp
mov esi, ebp
je 0x450e05
mov cl, byte [esi]
cmp cl, 0xa
jne 0x450dcd
mov edx, esi
sub edx, eax
inc edx
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.00450950
inc esi
mov eax, esi
jmp 0x450e00
cmp cl, 0xd
jne 0x450dff
mov ecx, esi
sub ecx, eax
test ecx, ecx
jle 0x450de5
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00450950
push 0xa
push 1
lea ecx, [esp + 0x1c]
call fcn.00450640
cmp byte [esi + 1], 0xa
jne 0x450dc8
add esi, 2
mov eax, esi
jmp 0x450e00
inc esi
cmp byte [esi], 0
jne 0x450db1
sub esi, eax
je 0x450e14
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00450950
push ebp
call fcn.00418b46
mov eax, dword [esp + 0x1c]
add esp, 4
cmp dword [esp + 0x2c], 0x10
jae 0x450e2c
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x4c]
mov edx, dword [ebx]
mov edx, dword [edx + 8]
push ecx
push 0
push eax
mov ecx, ebx
call edx
cmp byte [ebx + 0x44], 0
lea ecx, [esp + 0x14]
je 0x450e50
call fcn.0045c230
xor al, al
jmp 0x450e57
call fcn.0045c230
mov al, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0043640c
add esp, 0x2c
ret 0xc
Function at 0x456e10
Capabilities:
Get common file path

Disassembly:
sub esp, 0x418
mov eax, dword [0x4e70ac]
xor eax, esp
mov dword [esp + 0x414], eax
push esi
mov esi, dword [esp + 0x420]
lea eax, [esp + 8]
push eax
push 0x104
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0x210]
push ecx
push 0
push 0x4c2ff4
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [esp + 0x210]
push eax
mov ecx, esi
call fcn.0040d4f0
mov ecx, dword [esp + 0x418]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0043640c
add esp, 0x418
ret
Function at 0x45c649
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x24
mov eax, dword [0x4e70ac]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov esi, dword [esp + 0x30]
cmp dword [esi + 0x1c], 0
push edi
mov edi, dword [esp + 0x30]
je 0x45c728
push 0
mov ecx, esi
call fcn.00467900
mov ecx, dword [eax]
call fcn.0045a630
test al, al
je 0x45c728
push 0
mov ecx, esi
call fcn.00467900
mov esi, dword [eax]
mov ecx, esi
call fcn.0045a650
cmp eax, 8
je 0x45c593
call fcn.0045a650
cmp eax, 0x10
je 0x45c593
call fcn.0045a650
cmp eax, 0x18
je 0x45c593
call fcn.0045a650
cmp eax, 0x20
jne 0x45c728
push 0x4c3228
push edi
call fcn.004667f0
mov edi, eax
add esp, 8
test edi, edi
je 0x45c728
xor eax, eax
mov dword [esp + 0x15], eax
mov dword [esp + 0x19], eax
mov dword [esp + 0x1d], eax
mov dword [esp + 0x21], eax
mov byte [esp + 0x25], al
mov eax, str.PhoXo____TGA
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x45c5d0
sub eax, ecx
push ebx
mov ecx, esi
mov byte [esp + 0x18], al
call fcn.0045a650
cmp eax, 8
sete al
mov byte [esp + 0x19], al
call fcn.0045a650
cmp eax, 8
setne cl
inc cl
mov byte [esp + 0x1a], cl
mov edx, 0x100
mov ecx, esi
mov word [esp + 0x1d], dx
mov byte [esp + 0x1f], 0x18
call fcn.00466a50
mov word [esp + 0x24], ax
call fcn.004976a0
mov word [esp + 0x26], ax
call fcn.0045a650
push edi
push 0x12
mov byte [esp + 0x30], al
lea eax, [esp + 0x20]
push 1
push eax
mov byte [esp + 0x39], 0x20
call fcn.004a9c2b
movzx ecx, byte [esp + 0x28]
push edi
push ecx
push 1
push str.PhoXo____TGA
call fcn.004a9c2b
add esp, 0x20
mov ecx, esi
call fcn.0045a650
cmp eax, 8
jne 0x45c6be
xor ecx, ecx
mov eax, 0x100
mov edx, 4
mul edx
seto cl
push ebp
neg ecx
or ecx, eax
push ecx
call fcn.00418b51
mov ebx, eax
add esp, 4
push ebx
mov ecx, esi
mov dword [esp + 0x18], ebx
call fcn.0045a7a0
mov ebp, 0x100
push edi
push 3
push 1
push ebx
call fcn.004a9c2b
add esp, 0x10
add ebx, 4
sub ebp, 1
jne 0x45c696
mov eax, dword [esp + 0x14]
pop ebp
test eax, eax
je 0x45c6be
push eax
call fcn.00418b46
add esp, 4
mov ecx, esi
xor ebx, ebx
call fcn.004976a0
test eax, eax
jle 0x45c709
jmp 0x45c6d0
push edi
mov ecx, esi
call fcn.0045a650
mov edx, eax
call fcn.00466a50
imul eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
push 1
push ebx
call fcn.0045a6f0
push eax
call fcn.004a9c2b
add esp, 0x10
mov ecx, esi
inc ebx
call fcn.004976a0
cmp ebx, eax
jl 0x45c6d0
push edi
call fcn.004370ba
add esp, 4
pop ebx
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0043640c
add esp, 0x24
ret 0xc
mov ecx, dword [esp + 0x28]
pop edi
pop esi
xor ecx, esp
xor al, al
call fcn.0043640c
add esp, 0x24
ret 0xc
Function at 0x461320
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5460
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4e70ac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov eax, dword [ebp + 8]
xor edi, edi
xor ebx, ebx
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], edi
call fcn.0040d4f0
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x14]
push edx
lea ecx, [esi + 4]
mov byte [ebp - 4], 1
call fcn.0040d7f0
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 3
cmp esi, edi
je 0x4613bd
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, edi
jne 0x4613ba
cmp esi, edi
je 0x4613ba
mov eax, dword [esi]
cmp eax, edi
je 0x4613a1
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x4613b1
push eax
call fcn.00418b46
add esp, 4
push esi
call fcn.00418b46
add esp, 4
mov dword [ebp + 8], edi
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x4613c8
mov eax, dword [eax]
jmp 0x4613ca
xor eax, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4613ef
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x4613e0
mov eax, dword [eax]
jmp 0x4613e2
xor eax, eax
mov ecx, dword [ebp + 0xc]
push edi
push eax
call fcn.0045caa0
movzx ebx, al
mov esi, dword [ebp - 0x14]
cmp esi, edi
je 0x461439
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x461439
cmp esi, edi
je 0x461439
mov eax, dword [esi]
cmp eax, edi
je 0x461415
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x461425
push eax
call fcn.00418b46
add esp, 4
push esi
call fcn.00418b46
add esp, 4
jmp 0x461439
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x468410
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b5c9a
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4e70ac]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.FCPanelItemBase.0
lea ecx, [esi + 0x34]
mov dword [esp + 0x14], 6
call fcn.0048f370
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 5
call fcn.0040df50
lea ecx, [esi + 0x2c]
mov byte [esp + 0x14], 4
call fcn.0048f370
lea ecx, [esi + 0x28]
mov byte [esp + 0x14], 3
call fcn.0040df50
lea ecx, [esi + 0x24]
mov byte [esp + 0x14], 2
call fcn.0040df50
lea ecx, [esi + 0x14]
mov byte [esp + 0x14], 1
call fcn.0040df50
lea ecx, [esi + 4]
mov byte [esp + 0x14], 0
call fcn.0040df50
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00460c70
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x468ba0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b5cc8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4e70ac]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [esp + 0x30]
mov eax, 8
mov word [esp + 0xc], ax
mov eax, dword [ecx]
test eax, eax
je 0x468be1
mov esi, dword [eax]
test esi, esi
jne 0x468c27
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [edi]
mov edx, dword [edx + 0x44]
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x2c], 0
call edx
mov esi, eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 8
push esi
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x468be9
push 0x8007000e
call fcn.0044e1e0
int3

Function at 0x469ff0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b5ea5
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4e70ac]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.00460c60
lea ecx, [esi + 4]
mov dword [esp + 0x14], 0
call fcn.004524a0
lea ecx, [esi + 0x14]
mov byte [esp + 0x14], 1
call fcn.0046a980
lea ecx, [esi + 0x24]
mov byte [esp + 0x14], 2
call fcn.0047eff0
lea ecx, [esi + 0x28]
mov byte [esp + 0x14], 3
call fcn.0047f600
lea ecx, [esi + 0x2c]
mov byte [esp + 0x14], 4
call fcn.0047f400
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 5
call fcn.0047f600
lea ecx, [esi + 0x34]
mov byte [esp + 0x14], 6
call fcn.0047f830
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x14], 7
mov dword [esi], vtable.FCPanelItemBase.0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], eax
call fcn.00469f80
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x47dc40
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [esi]
mov edx, ecx
xor edx, eax
shr ecx, 8
and edx, 0xff
mov edx, dword [edi + edx*4]
xor edx, ecx
movzx ecx, dl
add ecx, dword [esi + 4]
mov dword [esi], edx
mov edx, dword [esi + 8]
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 4], ecx
shr ecx, 0x18
xor ecx, edx
and ecx, 0xff
shr edx, 8
xor edx, dword [edi + ecx*4]
mov dword [esi + 8], edx
ret
Function at 0x485ae0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x10
push ebx
mov bl, byte [edx + 8]
cmp bl, 3
je 0x485c8a
mov ecx, dword [esp + 0x20]
push ebp
mov ebp, dword [edx]
push esi
xor esi, esi
push edi
mov dword [esp + 0x24], esi
test bl, 2
je 0x485b38
movzx eax, byte [edx + 9]
movzx esi, byte [ecx]
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 1]
mov dword [esp + 0x10], edi
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 2]
sub eax, esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov edi, 3
jmp 0x485b4b
movzx eax, byte [ecx + 3]
movzx edi, byte [edx + 9]
sub edi, eax
mov dword [esp + 0x10], edi
mov edi, 1
test bl, 4
je 0x485b5f
movzx ecx, byte [ecx + 4]
movzx eax, byte [edx + 9]
sub eax, ecx
mov dword [esp + edi*4 + 0x10], eax
inc edi
xor ecx, ecx
xor eax, eax
cmp edi, ecx
jle case.0x485ba6.3
jmp 0x485b70
cmp dword [esp + eax*4 + 0x10], ecx
jg 0x485b7c
mov dword [esp + eax*4 + 0x10], ecx
jmp 0x485b81
mov esi, 1
inc eax
cmp eax, edi
jl 0x485b70
cmp si, cx
je case.0x485ba6.3
movzx eax, byte [edx + 9]
add eax, 0xfffffffe
cmp eax, 0xe
ja case.0x485ba6.3
movzx eax, byte [eax + 0x485ca4]
jmp dword [eax*4 + 0x485c90]
mov edx, dword [edx + 4]
mov eax, dword [esp + 0x28]
cmp edx, ecx
jbe case.0x485ba6.3
lea esp, [esp]
mov cl, byte [eax]
shr cl, 1
and cl, 0x55
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x485bc0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edi, dword [edx + 4]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov ecx, edx
mov eax, 0xf0
sar eax, cl
mov ebx, 0xf
sar ebx, cl
and al, 0xf0
or al, bl
test edi, edi
jbe case.0x485ba6.3
mov edi, edi
mov bl, byte [esi]
mov cl, dl
shr bl, cl
inc esi
and bl, al
sub edi, 1
mov byte [esi - 1], bl
jne 0x485c00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x485ba6.3
mov eax, ebx
xor edx, edx
div edi
inc ebx
inc esi
mov cl, byte [esp + edx*4 + 0x10]
shr byte [esi - 1], cl
cmp ebx, ebp
jb 0x485c26
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x485ba6.3
mov edi, edi
xor edx, edx
mov eax, ebx
div edi
movzx ax, byte [esi]
mov ecx, 0x100
imul ax, cx
movzx ecx, byte [esi + 1]
add ax, cx
inc esi
inc ebx
inc esi
movzx ecx, word [esp + edx*4 + 0x10]
shr ax, cl
movzx eax, ax
mov edx, eax
shr edx, 8
mov byte [esi - 2], dl
mov byte [esi - 1], al
cmp ebx, ebp
jb 0x485c50
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x48cda0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b7b0f
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4e70ac]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.0041d24b
lea edi, [esi + 0x54]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x2c], ebx
mov dword [esi], vtable.FCDrawTextEx.0
call fcn.0041d24b
mov dword [edi], vtable.CRichEditCtrl.0
mov byte [esp + 0x2c], 1
call fcn.0041bd92
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x48ce0c
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov byte [esp + 0x60], 3
mov dword [esi + 0xb0], 0xffffffff
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
call fcn.00420f9a
push eax
push ebx
mov ecx, esi
call fcn.004202d4
push 0x4d2
push esi
lea ecx, [esp + 0x1c]
push ecx
push 0x40000004
push 0x20
mov ecx, edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.004a8b52
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x20
ret
Function at 0x495260
Capabilities:
Create process on windows
Initialize iwebbrowser2

Disassembly:
push ebp
lea ebp, [esp - 0x804]
sub esp, 0x804
push 0xfffffffffffffffe
push 0x4e0c50
push 0x435c50
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4e70ac]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 0x80c]
xor eax, eax
mov word [ebp], ax
push 0x7fe
xor edi, edi
push edi
lea ecx, [ebp + 2]
push ecx
call fcn.00436ad0
push esi
push str.__s_
push 0x800
lea edx, [ebp]
push edx
call fcn.004951f0
add esp, 0x1c
push 5
push edi
lea eax, [ebp]
push eax
push 0x4cacc8
push 0x4bae08
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x4953bf
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], edi
lea ecx, [ebp - 0x1c]
push ecx
push 0x4d164c
push 0x15
push edi
push 0x4d165c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4953cf
mov eax, dword [ebp - 0x1c]
cmp eax, edi
je 0x4953b8
mov dword [ebp - 0x20], edi
mov edx, dword [eax]
lea ecx, [ebp - 0x20]
push ecx
push eax
mov edx, dword [edx + 0x94]
call edx
mov eax, dword [ebp - 0x20]
cmp eax, edi
je 0x495355
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 3
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x495360
sub eax, edx
sar eax, 1
je 0x4953ad
xor ecx, ecx
mov word [ebp - 0x30], cx
mov edx, 8
mov word [ebp - 0x44], dx
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
push edx
push edx
push edx
lea edx, [ebp - 0x44]
push edx
push eax
mov eax, dword [ecx + 0xd0]
call eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
jmp 0x4953d8
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.0043640c
add ebp, 0x804
mov esp, ebp
pop ebp
ret