joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ddf4
Capabilities:
Delete file

Disassembly:
push 8
mov eax, 0x5b1180
call fcn.00499ab7
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.CUTMainDialog.0
lea edi, [esi + 0x17fc]
mov dword [ebp - 4], 8
test edi, edi
je 0x42de29
cmp dword [edi + 0x20], 0
je 0x42de29
mov ecx, edi
call fcn.0047f240
mov ebx, dword [esi + 0x1740]
test ebx, ebx
je 0x42de41
mov ecx, ebx
call fcn.004352c6
push ebx
call fcn.0047b2f7
pop ecx
lea eax, [ebp - 0x10]
push eax
call fcn.0041e685
mov ebx, dword [eax]
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00407130
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x42de6a
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.0043cb18
lea ecx, [esi + 0x1744]
mov byte [ebp - 4], 6
call fcn.004343b2
lea ecx, [esi + 0xe94]
mov byte [ebp - 4], 5
call fcn.0048eb06
lea ecx, [esi + 0xda0]
mov byte [ebp - 4], 4
call fcn.004c70f0
mov ecx, dword [esi + 0xd9c]
sub ecx, 0x10
call fcn.00407130
lea ecx, [esi + 0xcfc]
mov byte [ebp - 4], 2
call fcn.0043c815
lea ecx, [esi + 0xc60]
mov byte [ebp - 4], 1
call fcn.0048da9d
lea ecx, [esi + 0x108]
mov byte [ebp - 4], 0
call fcn.004741c5
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00404520
call fcn.00499b8f
ret

Function at 0x435841
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x24]
call fcn.0043e7c3
xor edi, edi
push edi
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
push edi
push 1
push edi
mov dword [esi + 0x1c], eax
call ebx
push edi
push edi
push edi
push edi
mov dword [esi], eax
call ebx
push edi
push edi
push edi
push edi
mov dword [esi + 4], eax
call ebx
push edi
push edi
push 1
push edi
mov dword [esi + 8], eax
call ebx
push edi
push edi
push esi
push 0x4355e1
push edi
push edi
mov dword [esi + 0xc], eax
call fcn.0049b14d
push edi
push edi
push esi
push 0x43534b
push edi
push edi
mov dword [esi + 0x10], eax
call fcn.0049b14d
add esp, 0x30
mov dword [esi + 0x14], eax
pop edi
mov eax, esi
pop esi
pop ebx
ret 4
Function at 0x43a59e
Capabilities:
Encode data using xor

Disassembly:
xor edx, edx
cmp dword [esp + 8], edx
jle 0x43a5d6
push esi
push edi
mov eax, dword [esp + 0xc]
lea ecx, [eax + edx*4]
mov eax, dword [ecx]
rol eax, 0x10
mov esi, eax
shr esi, 8
mov edi, eax
shl edi, 8
xor esi, edi
and esi, 0xff00ff
shl eax, 8
xor esi, eax
inc edx
cmp edx, dword [esp + 0x10]
mov dword [ecx], esi
jl 0x43a5a8
pop edi
pop esi
ret

Function at 0x43a5d7
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
push 0x40
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x24], ecx
mov dword [eax + 0x20], ecx
push ecx
add eax, 0x28
push eax
call fcn.0049af70
add esp, 0xc
xor eax, eax
ret

Function at 0x43ae38
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x43ae9e
lea ecx, [esi + 0x40]
call fcn.0043adba
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
push 0x7d0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x43ae7b
push 2
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
push dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [esi + 0xc]
call edi
push dword [esi + 4]
call edi
and dword [esi + 4], 0
and dword [esi + 0xc], 0
and dword [esi + 8], 0
pop edi
pop esi
ret

Function at 0x43b75c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 4], edi
je 0x43b771
call fcn.0043ae38
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
push edi
push edi
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
or dword [ebp - 4], 0xffffffff
push edi
push edi
push edi
push 0x1388
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [esi + 0xc], eax
mov dword [ebp - 8], 0xfd050f80
call dword [sym.imp.KERNEL32.dll_SetWaitableTimer]
push edi
push edi
push esi
push 0x43b26b
push edi
push edi
call fcn.0049b14d
add esp, 0x18
mov dword [esi + 4], eax
cmp eax, edi
je 0x43b7cd
push edi
add esi, 0x60
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop edi
pop esi
leave
ret
Function at 0x476e5d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push edi
mov ebx, ecx
xor edi, edi
cmp dword [ebx + 0x14], edi
je 0x476f3c
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0xc], ecx
cmp ecx, edi
je 0x476f3c
lea eax, [ebp - 0x38]
push eax
call fcn.004750ec
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
sub eax, dword [ebx + 0x20]
sub eax, 0x28
test eax, eax
jg 0x476e9d
xor eax, eax
jmp 0x476ea0
push 5
pop eax
push esi
push eax
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [ebx + 0x24]
add esi, 0x85c
mov dword [ebp - 8], edi
je 0x476ed6
push 0x17
lea eax, [ebp - 0x28]
push eax
push 2
mov ecx, esi
call fcn.0047d34e
push 2
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetScrollPos]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0x14
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jne 0x476eee
mov dword [ebp - 4], 0x16
lea eax, [ebx + 4]
mov ecx, dword [eax + 8]
sub ecx, dword [eax]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], edi
mov edi, eax
lea esi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 4
push ecx
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 8]
sub ecx, dword [eax]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x214]
add eax, dword [ebx + 8]
push ecx
sub eax, dword [ebp - 8]
mov ecx, dword [ebx + 0x20]
lea eax, [eax + ecx + 0x19]
push eax
push 0x19
push 0
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop esi
pop edi
pop ebx
leave
ret

Function at 0x478890
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5b3d23
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x62ece4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
push ebx
call fcn.00478410
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x63fc24
or eax, 0xffffffff
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x5ca1ee
mov byte [esp + 0x20], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.004779e0
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x478920
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5b3e78
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62ece4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x478960
push esi
push esi
push esi
push 2
call fcn.00479bf0
xor al, al
jmp 0x478ae4
call fcn.00477bf0
push 2
or eax, 0xffffffff
push 0
push esi
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
call fcn.0049ef37
push esi
call fcn.0049f159
push 0
push 0
push esi
mov edi, eax
call fcn.0049ef37
add esp, 0x1c
test edi, edi
jg 0x4789a7
push 0
push 0
push 0
push 0xd
mov ecx, ebx
call fcn.00479bf0
xor al, al
jmp 0x478ae4
mov dword [esp + 0x14], 0x63fc24
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 0
call fcn.00477940
lea eax, [edi + 1]
push eax
call fcn.0047b2c8
push esi
push 1
mov ebp, eax
push edi
push ebp
mov byte [ebp], 0
call fcn.0049ecac
add esp, 0x14
cmp eax, 1
je 0x478a1d
push ebp
call fcn.0047b2f7
add esp, 4
push 0
push 0
push 0
push 2
mov ecx, ebx
call fcn.00479bf0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
cmp eax, 0x63fc24
je 0x478a16
push eax
call fcn.0047b2f7
add esp, 4
xor al, al
jmp 0x478ae4
mov byte [edi + ebp], 0
cmp byte [ebp], 0
mov eax, ebp
mov esi, ebp
je 0x478a8c
jmp 0x478a30
mov cl, byte [esi]
cmp cl, 0xa
jne 0x478a4c
mov ecx, esi
sub ecx, eax
inc ecx
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00477ad0
inc esi
mov eax, esi
jmp 0x478a87
cmp cl, 0xd
jne 0x478a86
mov ecx, esi
sub ecx, eax
test ecx, ecx
jle 0x478a64
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00477ad0
push 1
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0xa
call fcn.00477ad0
cmp byte [esi + 1], 0xa
jne 0x478a47
add esi, 2
mov eax, esi
jmp 0x478a87
inc esi
cmp byte [esi], 0
jne 0x478a30
sub esi, eax
je 0x478a9b
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00477ad0
push ebp
call fcn.0047b2f7
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov eax, dword [ebx]
mov eax, dword [eax + 8]
add esp, 4
push ecx
push 0
add edx, 8
push edx
mov ecx, ebx
call eax
cmp byte [ebx + 0x2c], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
jne 0x478a06
cmp eax, 0x63fc24
je 0x478ae2
push eax
call fcn.0047b2f7
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8

Function at 0x47c657
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 0x47c67b
cmp dword [edi + 0x54], 0
jne 0x47c67b
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004840f7
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.0047c618
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 0x482402
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 0x482449
call fcn.004840f7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x482449
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x482465
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00481f7a
mov esi, eax
test edi, edi
je 0x482463
test ebx, ebx
je 0x482463
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x48331e
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5adf6b
call fcn.00499ab7
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x483343
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x483389
lea ecx, [ebp - 0x10]
call fcn.004070e0
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.0047b460
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.00407130
mov eax, esi
call fcn.00499b8f
ret 8

Function at 0x489e37
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x489e62
call fcn.004840f7
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
jne 0x489e85
push eax
push dword [esi + 4]
call fcn.00489dbd
push esi
push eax
mov ecx, 0x641854
call fcn.00489a6a
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x493d9a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.004840f7
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x493dc7
xor eax, eax
jmp 0x493e6d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x493dc0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x493dc0
movzx eax, word [esi + 6]
push ebx
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047b2c8
pop ecx
mov edi, eax
xor ecx, ecx
xor eax, eax
cmp cx, word [esi + 6]
jae 0x493e1e
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
inc ecx
inc ecx
cmp eax, edx
jl 0x493e0d
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.004938d3
push edi
mov ebx, eax
call fcn.0047b2f7
pop ecx
test ebx, ebx
je 0x493e60
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.00493c1f
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.00493cd3
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4

Function at 0x499aa8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x62ece4]
jne 0x499ab2
repz ret
jmp fcn.004a3dac
Function at 0x4b4199
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.004a296a
and dword [ebp - 4], 0
cmp dword [0x6426fc], 0
mov ebx, eax
jne 0x4b424a
push 0x5d8e00
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4b42fb
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5d8df4
push edi
call esi
test eax, eax
je 0x4b42fb
push eax
call fcn.004a28f8
mov dword [esp], 0x5d8de4
push edi
mov dword [0x6426fc], eax
call esi
push eax
call fcn.004a28f8
mov dword [esp], 0x5d8dd0
push edi
mov dword [0x642700], eax
call esi
push eax
call fcn.004a28f8
mov dword [esp], 0x5d8db4
push edi
mov dword [0x642704], eax
call esi
push eax
call fcn.004a28f8
pop ecx
mov dword [0x64270c], eax
test eax, eax
je 0x4b424a
push 0x5d8d9c
push edi
call esi
push eax
call fcn.004a28f8
pop ecx
mov dword [0x642708], eax
mov eax, dword [0x642708]
cmp eax, ebx
je 0x4b42a2
cmp dword [0x64270c], ebx
je 0x4b42a2
push eax
call fcn.004a2973
push dword [0x64270c]
mov esi, eax
call fcn.004a2973
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4b42a2
test edi, edi
je 0x4b42a2
call esi
test eax, eax
je 0x4b4299
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4b4299
test byte [ebp - 0xc], 1
jne 0x4b42a2
or dword [ebp + 0x10], 0x200000
jmp 0x4b42db
mov eax, dword [0x642700]
cmp eax, ebx
je 0x4b42db
push eax
call fcn.004a2973
pop ecx
test eax, eax
je 0x4b42db
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4b42db
mov eax, dword [0x642704]
cmp eax, ebx
je 0x4b42db
push eax
call fcn.004a2973
pop ecx
test eax, eax
je 0x4b42db
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x6426fc]
call fcn.004a2973
pop ecx
test eax, eax
je 0x4b42fb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4b42fd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4bbb10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5b542b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x62ece4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esi + 8], ecx
mov dword [esi], vtable.CXTResize.0
mov dword [esi + 4], eax
xor edi, edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
push 0x60584c
lea ecx, [esi + 0x3c]
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
call fcn.00408c50
lea ecx, [esi + 0x40]
mov dword [esp + 0x18], edi
call fcn.004bb440
lea ecx, [esi + 0x98]
call fcn.004bb500
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 8
Function at 0x4bd210
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b5698
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x62ece4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x44]
cmp eax, 1
jne 0x4bd244
xor edi, edi
jmp 0x4bd251
xor ecx, ecx
cmp eax, 2
setne cl
add ecx, 2
mov edi, ecx
mov edx, dword [esp + 0x40]
push 1
push edx
lea ecx, [esp + 0x14]
call fcn.004d3d50
push edi
sub esp, 8
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x44], 0
mov dword [esp + 0x50], esp
cmp eax, 0xffffffff
jne 0x4bd28b
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x38]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004f25f0
mov ecx, eax
call fcn.004d6090
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.004d3e50
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 8

Function at 0x4bedf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b5a48
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x62ece4]
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.CXTPMarkupType.0
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x14], 0
test ecx, ecx
je 0x4bee32
call fcn.004be1a0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.004be140
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x4bfae0
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
push eax
mov esi, ecx
call fcn.0047b878
movzx ecx, word [edi + 6]
mov ebx, dword [esp + 0x18]
and eax, ecx
mov dword [ebx], eax
xor edx, edx
div dword [esi + 8]
mov eax, dword [esp + 0x14]
mov dword [eax], edx
mov esi, dword [esi + 4]
test esi, esi
je 0x4bfb2f
mov esi, dword [esi + edx*4]
test esi, esi
je 0x4bfb2f
mov ecx, dword [esi + 0x10]
cmp ecx, dword [ebx]
jne 0x4bfb28
push edi
push esi
call fcn.004bec70
test eax, eax
jne 0x4bfb37
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x4bfb16
pop edi
pop esi
xor eax, eax
pop ebx
ret 0xc
pop edi
mov eax, esi
pop esi
pop ebx
ret 0xc

Function at 0x4c0f40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b5b58
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x62ece4]
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.CXTPMarkupRun.0
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x14], 0
test ecx, ecx
je 0x4c0f89
call fcn.004be1a0
mov dword [esi + 0x30], 0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.004c0e50
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4ca7d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x510], 0
jne 0x4ca804
push 0x32
call fcn.0049bcaa
push 0x32
push 0
push eax
mov dword [esi + 0x510], eax
call fcn.0049af70
add esp, 0x10
cmp dword [esi + 0x510], 0
jne 0x4ca804
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esi]
mov edx, dword [eax + 0x1a0]
mov ecx, esi
call edx
mov ecx, dword [esi + 0x510]
mov dword [ecx], eax
mov edx, dword [esi + 0x238]
mov eax, dword [edx + 0xc]
mov ecx, dword [esi + 0x510]
and eax, 0x2000
shl eax, 9
mov dword [ecx + 4], eax
cmp dword [esi + 0x60], 0
jne 0x4ca84a
mov edx, dword [esi + 0x510]
push 0
push 0
push edx
mov ecx, esi
call fcn.0047bd8d
mov ecx, esi
pop esi
jmp fcn.0047c41f

Function at 0x4d13a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push 0x5dd90c
push eax
push esi
mov byte [esp + 0x10], 0x89
mov byte [esp + 0x11], 0x50
mov byte [esp + 0x12], 0x4e
mov byte [esp + 0x13], 0x47
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x4d13d2
pop esi
pop ecx
ret
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4d13e5
pop edi
pop esi
pop ecx
ret
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [eax]
cmp ecx, dword [esp + 8]
je 0x4d141a
movzx esi, cl
sub esi, 0x89
jne 0x4d142e
movzx esi, byte [eax + 1]
sub esi, 0x50
jne 0x4d142e
movzx esi, byte [eax + 2]
sub esi, 0x4e
jne 0x4d142e
movzx esi, byte [eax + 3]
sub esi, 0x47
jne 0x4d142e
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
test esi, esi
pop edi
sete al
pop esi
pop ecx
ret
sar esi, 0x1f
push edi
or esi, 1
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
test esi, esi
pop edi
sete al
pop esi
pop ecx
ret

Function at 0x4d1450
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x4d146b
xor eax, eax
pop esi
ret
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4d1467
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4d1467
xor ecx, ecx
cmp word [eax + 0xe], 0x20
push edi
sete cl
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
pop edi
pop esi
ret