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

Disassembly:
push 0x64
mov eax, 0x4cc4dd
call fcn.004ae920
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.0048b151
push eax
lea ecx, [ebp - 0x10]
call fcn.00402821
push 0x44
pop esi
push esi
lea eax, [ebp - 0x70]
push ebx
push eax
mov byte [ebp - 4], 1
call fcn.004ae4c0
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
mov dword [ebp - 0x70], esi
stosd dword es:[edi], eax
mov dword [ebp - 0x14], ebx
cmp byte [ebp + 0xc], bl
je 0x4787fc
lea eax, [ebp - 0x18]
push eax
call fcn.004473a9
pop ecx
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str.regedit.exe__s___s_
push eax
call fcn.00402a45
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x10]
call fcn.0040727a
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.00411fe7
cmp edi, ebx
je 0x47885d
push 0x2328
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x24]
call esi
cmp dword [ebp - 0x14], ebx
je 0x47886b
push dword [ebp - 0x18]
call fcn.004473df
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402883
mov eax, edi
call fcn.004ae9f8
ret 8

Function at 0x478949
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x47896d
xor esi, esi
mov ecx, dword [esp + 8]
add ecx, 0xfffffff0
call fcn.00402883
mov eax, esi
pop esi
ret 4
test al, 0x10
je 0x478976
push 2
pop esi
jmp 0x47895b
xor esi, esi
inc esi
jmp 0x47895b

Function at 0x478ab6
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push 4
push 0
push dword [esp + 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 0xc
Function at 0x478d4f
Capabilities:
Access peb ldr_data
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d01ec
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x55f6c0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00405223
call fcn.0048bbda
fld qword [0x53dd78]
mov eax, dword [eax + 0xc]
push ecx
push ecx
fstp qword [esp]
push 0x1b1
push dword [esi + 0x20]
lea ecx, [esi + 0x258]
mov edx, eax
call fcn.0040b5c6
push 0x5229b8
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.RESOURCESTRING
call fcn.0040253e
and dword [esp + 0x30], 0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x53c1f0
call fcn.0040253e
or dword [esp + 0x34], 0xffffffff
lea eax, [esp + 0x1c]
push eax
call fcn.00406e20
mov dword [esp + 0x28], 1
push dword [eax]
lea ecx, [esi + 0x26c]
call fcn.0048bdec
or dword [esp + 0x28], 0xffffffff
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.00402883
push 0x1f
mov edi, 0x1db
push edi
push 0x22
push 0xc
pop ebx
push ebx
push 0x169
mov ecx, esi
call fcn.00446d14
push 0xd
push edi
push 0x44
push ebx
push 0x17b
mov ecx, esi
call fcn.00446d14
push 0xd
push edi
push 0x55
push ebx
push 0x15d
mov ecx, esi
call fcn.00446d14
push 0xd
push edi
push 0x67
push ebx
push 0x17f
mov ecx, esi
call fcn.00446d14
push 0x14
push 0x14
push 0xb6
push 0x1d2
push 0x1d4
mov ecx, esi
call fcn.00446d14
call fcn.0048bbda
mov eax, dword [eax + 0xc]
push 0xd9
lea edi, [esi + 0x2e0]
push eax
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x467
push dword [edi]
call ebx
push 0xffff0000
push 0xffffffffffffffff
push 0x465
push dword [edi]
call ebx
lea edi, [esi + 0x170]
xor ebx, ebx
push ebx
mov ecx, edi
call fcn.0048bed0
push ebx
mov ecx, edi
call fcn.0048be8e
add esi, 0x74
push ebx
mov ecx, esi
call fcn.0048be8e
push ebx
mov ecx, esi
call fcn.0048bed0
xor eax, eax
inc eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47b996
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
push 0x480
mov eax, 0x4cfbf4
call fcn.004ae989
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48c], eax
call fcn.0048b151
push eax
lea ecx, [ebp - 0x47c]
call fcn.00402821
and dword [ebp - 4], 0
call fcn.0048b151
push eax
lea ecx, [ebp - 0x488]
call fcn.00402821
mov byte [ebp - 4], 1
call fcn.0048b151
push eax
lea ecx, [ebp - 0x470]
call fcn.00402821
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
mov byte [ebp - 4], 2
call fcn.004ae4c0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
call fcn.00460ccd
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x478]
call fcn.0040253e
mov byte [ebp - 4], 3
push dword [ebp - 0x478]
lea eax, [ebp - 0x47c]
push str._s.
push eax
call fcn.00402a45
add esp, 0xc
lea eax, [ebp - 0x46c]
push eax
push dword [ebp - 0x47c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x480], eax
cmp eax, 0xffffffff
je 0x47bbde
mov ecx, 0x522224
lea eax, [ebp - 0x440]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47ba92
test dx, dx
je 0x47ba8e
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47ba92
add eax, 4
add ecx, 4
test dx, dx
jne 0x47ba6c
xor eax, eax
jmp 0x47ba97
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47bbb7
mov ecx, 0x52f220
lea eax, [ebp - 0x440]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47bad0
test dx, dx
je 0x47bacc
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47bad0
add eax, 4
add ecx, 4
test dx, dx
jne 0x47baaa
xor eax, eax
jmp 0x47bad5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47bbb7
test byte [ebp - 0x46c], 0x10
jne 0x47bbb7
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp - 0x470]
call fcn.0040274c
mov eax, dword [ebp - 0x470]
mov edi, dword [eax - 0xc]
push 0x53b9e4
xor ecx, ecx
lea esi, [ebp - 0x470]
call fcn.004077ca
add edi, 0xfffffffd
cmp eax, edi
jne 0x47bbb7
call fcn.0048b151
push eax
lea ecx, [ebp - 0x474]
call fcn.00402821
lea eax, [ebp - 0x440]
push eax
mov byte [ebp - 4], 4
push dword [ebp - 0x478]
lea eax, [ebp - 0x474]
push 0x5273e0
push eax
call fcn.00402a45
add esp, 0x10
lea eax, [ebp - 0x474]
push eax
lea ecx, [ebp - 0x484]
call fcn.00402582
mov esi, dword [ebp - 0x484]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [esi - 0x10]
cmp eax, 0xffffffff
jne 0x47bb86
call fcn.00402883
jmp 0x47bba5
test al, 0x10
jne 0x47bb7f
call fcn.00402883
mov ecx, dword [ebp - 0x48c]
mov eax, dword [ecx + 8]
lea edx, [ebp - 0x474]
push edx
push eax
call fcn.0049618c
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x474]
add ecx, 0xfffffff0
call fcn.00402883
lea eax, [ebp - 0x46c]
push eax
push dword [ebp - 0x480]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x47ba61
push dword [ebp - 0x480]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x478]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x470]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x488]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x47c]
add ecx, 0xfffffff0
call fcn.00402883
call fcn.004aea0c
ret 4
Function at 0x47ced4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d71c1
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x55f6c0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00405223
call fcn.0048bbda
fld qword [0x53dd78]
mov eax, dword [eax + 0xc]
push ecx
push ecx
fstp qword [esp]
push 0x1ab
push dword [esi + 0x20]
lea ecx, [esi + 0x344]
mov edx, eax
call fcn.0040b5c6
push 1
push 0
push 0x21
push 0x18
lea edi, [esi + 0x3ac]
push 0x18
mov ecx, edi
call fcn.00498765
call fcn.0048bbda
push 0x1b2
call fcn.00434b9f
push eax
mov eax, edi
call fcn.00434c7b
push 0xffffffffffffffff
push 0x269
push 0
mov ebx, 0x5229b8
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
mov edi, str.RESOURCESTRING
push edi
call fcn.0040253e
and dword [esp + 0x44], 0
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x53cf50
call fcn.0040253e
or dword [esp + 0x48], 0xffffffff
lea eax, [esp + 0x28]
push eax
call fcn.00406e20
mov dword [esp + 0x3c], 1
mov eax, dword [eax]
push eax
lea ecx, [esi + 0x358]
push 0
call fcn.004982ee
or dword [esp + 0x30], 0xffffffff
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.00402883
push 0xffffffffffffffff
push 0
push 0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edi
call fcn.0040253e
push ecx
mov dword [esp + 0x48], 2
mov ecx, esp
mov dword [esp + 0x30], esp
push str.SPC_UNDO_FILE
call fcn.0040253e
or dword [esp + 0x48], 0xffffffff
lea eax, [esp + 0x2c]
push eax
call fcn.00406e20
mov dword [esp + 0x3c], 3
push dword [eax]
lea ecx, [esi + 0x358]
push 1
call fcn.004982ee
or dword [esp + 0x30], 0xffffffff
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00402883
push 0
push 0
push 0x1037
push dword [esi + 0x378]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esi + 0x358]
test ecx, ecx
je 0x47d052
mov ecx, dword [ecx + 0x20]
or eax, 0x520
push eax
push 0
push 0x1036
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edi
mov dword [esp + 0x20], eax
call fcn.0040253e
push ecx
mov dword [esp + 0x40], 4
mov ecx, esp
mov dword [esp + 0x30], esp
push str.SAFEPC_A258
call fcn.0040253e
mov eax, dword [esp + 0x20]
or dword [esp + 0x40], 0xffffffff
push eax
call fcn.00406e20
push ecx
mov ebx, esp
mov dword [esp + 0x38], 5
mov dword [esp + 0x28], esp
push 0x5229b8
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edi
call fcn.0040253e
push ecx
mov byte [esp + 0x44], 6
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.SAFEPC_A259
call fcn.0040253e
push ebx
mov byte [esp + 0x48], 5
call fcn.00406e20
or dword [esp + 0x38], 0xffffffff
lea eax, [esi + 0x358]
push eax
lea edi, [esi + 0x1dc]
lea ecx, [esi + 0x74]
call fcn.0047abe8
add esp, 0xc
mov ecx, esi
call fcn.0047d9a4
xor eax, eax
inc eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47e9f0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x4cc7d7
call fcn.004ae920
mov ebx, ecx
mov esi, edx
xor edi, edi
cmp dword [ebp + 8], edi
je 0x47eb9c
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push 0x53d228
push eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], 0x400000
call fcn.0040c60b
push 0x53d220
push eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], edi
call fcn.004021ba
add esp, 0x18
lea edi, [esi + 8]
mov byte [ebp - 4], 1
mov ecx, dword [edi + 8]
push eax
push ecx
mov ecx, edi
call fcn.0049618c
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402883
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00402883
mov eax, dword [ebx]
lea ecx, [ebp - 0x14]
push ecx
push dword [esi + 4]
lea ecx, [ebp - 0x10]
push ecx
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47eb9c
call fcn.0048b151
push eax
lea ecx, [ebp + 8]
call fcn.00402821
mov dword [ebp - 4], 2
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
lea ecx, [ebp + 8]
jne 0x47eab5
push 0x5365dc
call fcn.0040274c
jmp 0x47eabb
push ebx
call fcn.0040260d
call fcn.0048b151
push eax
lea ecx, [ebp + 0xc]
call fcn.00402821
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
dec eax
je 0x47eb22
sub eax, 3
je 0x47eafe
lea eax, [ebp + 0xc]
push eax
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.00402582
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [esi + 4]
call fcn.0047ee2c
add esp, 0x14
jmp 0x47eb53
mov eax, dword [esi + 4]
movzx esi, byte [eax]
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
lea ebx, [ebp + 0xc]
call fcn.00402582
push esi
mov ecx, ebx
call fcn.0047eba6
pop ecx
pop ecx
jmp 0x47eb53
lea eax, [ebp + 0xc]
push eax
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.00402582
push ecx
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x18], esp
push dword [esi + 4]
call fcn.0040253e
mov byte [ebp - 4], 3
call fcn.0047ed2a
add esp, 0xc
test al, al
mov eax, dword [ebp + 0xc]
je 0x47eb89
cmp dword [eax - 0xc], 0
je 0x47eb89
lea eax, [ebp + 0xc]
push eax
push dword [edi + 8]
mov ecx, edi
call fcn.0049618c
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402883
xor eax, eax
inc eax
jmp 0x47eb9e
lea ecx, [eax - 0x10]
call fcn.00402883
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402883
xor eax, eax
call fcn.004ae9f8
ret 8
Function at 0x47fd37
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 4
mov eax, 0x4cbbc3
call fcn.004ae920
and dword [ebp - 0x10], 0
mov ecx, dword [ebp + 8]
call fcn.00402846
and dword [ebp - 4], 0
push dword [ebp + 0xc]
mov dword [ebp - 0x10], 1
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x47fd8e
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp + 8]
push eax
call fcn.0040274c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp + 8]
call fcn.004ae9f8
ret

Function at 0x483e23
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, eax
mov ecx, dword [esi + 0x4c]
push edi
mov edi, 0xffff
xor al, al
mov bl, 1
cmp ecx, edi
je 0x483fbf
mov ebp, 0x10000000
cmp ecx, 0x7c
je 0x483fbf
cmp ecx, 0x29
jne 0x483e6d
cmp dword [esi + 0x1c], 0
jne 0x483fbf
test dword [esi + 0x50], ebp
jne 0x483e6d
push 5
call fcn.004c8409
pop ecx
jmp 0x483fa9
cmp ecx, 0x2e
jne 0x483e89
push 5
lea eax, [esi + 0x24]
push eax
call fcn.004840a4
mov eax, esi
call fcn.00483de8
jmp 0x483fa9
cmp ecx, 0x5c
jne 0x483eea
mov eax, esi
call fcn.00483de8
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x483ebd
cmp word [esi + 0x4a], 0x62
jne 0x483ebd
push 4
lea eax, [esi + 0x24]
push eax
call fcn.004840a4
mov eax, esi
call fcn.00483de8
jmp 0x483fb0
test eax, eax
je 0x483ede
cmp word [esi + 0x4a], 0x42
jne 0x483ede
push 4
lea eax, [esi + 0x24]
push eax
call fcn.004840a4
mov eax, dword [esi + 0x28]
add eax, 8
or dword [eax], 1
jmp 0x483eb1
mov eax, esi
call fcn.004843f4
jmp 0x483fa9
cmp ecx, 0x5b
jne 0x483f14
mov eax, esi
call fcn.00483de8
mov eax, esi
call fcn.004843a9
cmp dword [esi + 0x4c], 0x5d
je 0x483e7d
push 4
call fcn.004c8409
pop ecx
jmp 0x483e7d
cmp ecx, 0x28
jne 0x483f3e
mov eax, esi
call fcn.00483de8
call fcn.004844c3
cmp dword [esi + 0x4c], 0x29
mov bl, al
je 0x483f35
push 5
call fcn.004c8409
pop ecx
mov eax, esi
call fcn.00483de8
jmp 0x483fa5
cmp ecx, 0x5e
jne 0x483f4a
push 2
jmp 0x483ea8
cmp ecx, 0x24
jne 0x483f56
push 3
jmp 0x483ea8
cmp ecx, 0x2a
je 0x483f9d
cmp ecx, 0x2b
je 0x483f9d
cmp ecx, 0x3f
je 0x483f9d
cmp ecx, 0x7b
je 0x483f9d
cmp ecx, 0x7d
jne 0x483f7b
test dword [esi + 0x50], ebp
jne 0x483f7b
push 6
jmp 0x483e62
cmp ecx, 0x5d
jne 0x483f8c
test dword [esi + 0x50], ebp
jne 0x483f8c
push 4
jmp 0x483e62
mov ax, word [esi + 0x4a]
lea ecx, [esi + 0x24]
call fcn.0048465b
jmp 0x483e7d
push 0xa
call fcn.004c8409
pop ecx
test bl, bl
je 0x483fb0
mov eax, esi
call fcn.00484593
mov ecx, dword [esi + 0x4c]
mov al, 1
mov bl, al
cmp ecx, edi
jne 0x483e43
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x48c47e
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4ddba5
call fcn.004ae920
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x48c4a3
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x48c4e9
lea ecx, [ebp - 0x10]
call fcn.00402846
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.0048ae3e
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.00402883
mov eax, esi
call fcn.004ae9f8
ret 8

Function at 0x491dda
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x491e21
call fcn.0048bbda
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x491e21
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x491e3d
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00491952
mov esi, eax
test edi, edi
je 0x491e3b
test ebx, ebx
je 0x491e3b
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4930a5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4930c9
cmp dword [edi + 0x54], 0
jne 0x4930c9
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0048bbda
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00493066
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x49acb4
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 0x49acfc
call fcn.0048bbda
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x49acfc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x49ad3f
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 0x49ad28
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 0x49ad28
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x49ad3c
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 0x4aa923
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x55f6c0]
jne 0x4aa92d
repz ret
jmp fcn.004b208a
Function at 0x4bbd6d
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.004b19ee
and dword [ebp - 4], 0
cmp dword [0x568118], 0
mov ebx, eax
jne 0x4bbe1e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4bbecf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4bbecf
push eax
call fcn.004b197c
mov dword [esp], 0x51fb58
push edi
mov dword [0x568118], eax
call esi
push eax
call fcn.004b197c
mov dword [esp], 0x51fb44
push edi
mov dword [0x56811c], eax
call esi
push eax
call fcn.004b197c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x568120], eax
call esi
push eax
call fcn.004b197c
pop ecx
mov dword [0x568128], eax
test eax, eax
je 0x4bbe1e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004b197c
pop ecx
mov dword [0x568124], eax
mov eax, dword [0x568124]
cmp eax, ebx
je 0x4bbe76
cmp dword [0x568128], ebx
je 0x4bbe76
push eax
call fcn.004b19f7
push dword [0x568128]
mov esi, eax
call fcn.004b19f7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4bbe76
test edi, edi
je 0x4bbe76
call esi
test eax, eax
je 0x4bbe6d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4bbe6d
test byte [ebp - 0xc], 1
jne 0x4bbe76
or dword [ebp + 0x10], 0x200000
jmp 0x4bbeaf
mov eax, dword [0x56811c]
cmp eax, ebx
je 0x4bbeaf
push eax
call fcn.004b19f7
pop ecx
test eax, eax
je 0x4bbeaf
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4bbeaf
mov eax, dword [0x568120]
cmp eax, ebx
je 0x4bbeaf
push eax
call fcn.004b19f7
pop ecx
test eax, eax
je 0x4bbeaf
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x568118]
call fcn.004b19f7
pop ecx
test eax, eax
je 0x4bbecf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4bbed1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4c7bd0
Capabilities:
Write file on windows

Disassembly:
push 0x48
mov eax, 0x4cb04a
call fcn.004ae989
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
je 0x4c7ce2
cmp byte [esi + 0x42], bl
je 0x4c7ce2
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 4]
movzx eax, ax
cmp di, ax
jne 0x4c7c0c
xor al, al
jmp 0x4c7ce4
push ebx
push 8
lea ecx, [ebp - 0x2c]
call fcn.004c6936
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004c66e6
mov ecx, eax
call fcn.004c5ef2
mov edi, dword [ebp - 0x18]
mov ebx, eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004c66e6
mov ecx, eax
call fcn.004c5ef2
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
add edi, ebx
push edi
push dword [ebp - 0x34]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x4c7c7c
dec eax
je 0x4c7c80
dec eax
dec eax
je 0x4c7cde
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00441a3e
mov al, bl
jmp 0x4c7ce4
mov byte [esi + 0x42], 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004c66e6
mov ecx, eax
call fcn.004c5ef2
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x4c7cc0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004c66e6
mov ecx, eax
call fcn.004c5ef2
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004c8f42
add esp, 0x10
cmp edi, eax
jne 0x4c7c6a
cmp byte [esi + 0x42], 0
je 0x4c7cde
test edi, edi
jne 0x4c7c1a
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.004c670a
jmp 0x4c7c1a
mov bl, 1
jmp 0x4c7c6c
mov al, 1
call fcn.004aea0c
ret