joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bff30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x51bb5e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x56a260]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.0041b430
add eax, 0x10
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 0x18]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x1c]
sub eax, 0x10
push eax
mov dword [esp + 0x20], 0
call fcn.0041b430
add eax, 0x10
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov ecx, dword [edi + 0x24]
mov dword [esi + 0x24], ecx
mov edx, dword [edi + 0x28]
mov dword [esi + 0x28], edx
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
mov edx, dword [edi + 0x34]
mov dword [esi + 0x34], edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov eax, dword [edi + 0x40]
sub eax, 0x10
push eax
mov byte [esp + 0x24], 1
call fcn.0041b430
add eax, 0x10
mov dword [esi + 0x40], eax
mov edx, dword [edi + 0x44]
mov dword [esi + 0x44], edx
mov eax, dword [edi + 0x48]
mov dword [esi + 0x48], eax
mov ecx, dword [edi + 0x4c]
mov dword [esi + 0x4c], ecx
mov edx, dword [edi + 0x50]
mov dword [esi + 0x50], edx
mov eax, dword [edi + 0x54]
mov dword [esi + 0x54], eax
mov ecx, dword [edi + 0x58]
mov dword [esi + 0x58], ecx
mov edx, dword [edi + 0x5c]
mov dword [esi + 0x5c], edx
mov eax, dword [edi + 0x60]
mov dword [esi + 0x60], eax
mov ecx, dword [edi + 0x64]
mov dword [esi + 0x64], ecx
mov edx, dword [edi + 0x68]
mov dword [esi + 0x68], edx
mov eax, dword [edi + 0x6c]
mov dword [esi + 0x6c], eax
mov ecx, dword [edi + 0x70]
mov dword [esi + 0x70], ecx
mov edi, dword [edi + 0x74]
sub edi, 0x10
push edi
mov byte [esp + 0x28], 2
call fcn.0041b430
add esp, 0x10
add eax, 0x10
mov dword [esi + 0x74], eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x4c13e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51bd80
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x56a260]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x14]
push 0x53a53c
push ecx
mov dword [esp + 0x28], 0
call fcn.004c03f0
add esp, 0xc
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x20], 1
call fcn.0041b3b0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x1c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4c1457
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x24]
mov eax, dword [edi]
mov edx, dword [eax - 0xc]
mov esi, dword [esp + 0x28]
cmp dword [esi], edx
mov ebp, dword [esp + 0x2c]
jge 0x4c14d5
lea esp, [esp]
test ebp, ebp
mov ecx, dword [esi]
je 0x4c1495
test ecx, ecx
jl 0x4c1495
cmp ecx, edx
jg 0x4c1495
lea ecx, [eax + ecx*2]
push ebp
push ecx
call fcn.004f2f27
add esp, 8
test eax, eax
je 0x4c1495
sub eax, dword [edi]
sar eax, 1
jmp 0x4c1498
or eax, 0xffffffff
test eax, eax
mov dword [esi], eax
jge 0x4c14a5
mov edx, dword [edi]
mov eax, dword [edx - 0xc]
jmp 0x4c14ca
jle 0x4c1510
lea ecx, [eax - 1]
test ecx, ecx
jl 0x4c154e
mov edx, dword [edi]
cmp ecx, dword [edx - 0xc]
jg 0x4c154e
movzx ecx, word [edx + ecx*2]
cmp cx, 0x3c
jne 0x4c1510
add eax, 2
mov dword [esi], eax
mov eax, dword [edi]
mov edx, dword [eax - 0xc]
cmp dword [esi], edx
jl 0x4c1470
lea eax, [ebp - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c14f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 0xc
lea eax, [ebp - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c1534
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 0xc
push 0x80070057
call fcn.00402980
int3
Function at 0x4c1e00
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x51be58
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56a260]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, ecx
cmp dword [ebp + 0x130], 0
jne 0x4c1f49
mov ebx, dword [sym.imp.USER32.dll_LoadCursorW]
push 0x7f89
push 0
call ebx
test eax, eax
mov dword [ebp + 0x130], eax
jne 0x4c1f49
call fcn.004daeb7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4c1e6b
push 0x80004005
call fcn.00402980
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov dword [esp + 0x20], 0
jge 0x4c1ea9
push 0x104
lea ecx, [esp + 0x18]
call fcn.0041b5a0
mov esi, dword [esp + 0x14]
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test esi, esi
jne 0x4c1ebd
xor eax, eax
jmp 0x4c1ed7
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4c1ec2
sub eax, edx
sar eax, 1
js 0x4c1f5d
cmp eax, dword [esi - 8]
jg 0x4c1f5d
mov dword [esi - 0xc], eax
push 0x53a540
lea ecx, [esp + 0x18]
mov word [esi + eax*2], 0
call fcn.004bd610
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4c1f1e
push 0x6a
push esi
call ebx
test eax, eax
je 0x4c1f1e
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [ebp + 0x130], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [edi - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c1f49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push 0x80070057
call fcn.00402980
int3
Function at 0x4c3b80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x51bf20
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56a260]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x38]
push ebp
lea ecx, [esp + 0x3c]
call fcn.0041abb0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x18]
add esi, 0x2a8
push ecx
mov ecx, esi
mov dword [esp + 0x38], 0
call fcn.004c0530
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4c3bfe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x14]
test edi, edi
mov ecx, dword [esi + 4]
mov dword [esp + 0x20], ecx
je 0x4c3c11
cmp edi, esi
je 0x4c3c16
call fcn.004f2608
mov ebx, dword [esp + 0x18]
cmp ebx, dword [esp + 0x20]
je 0x4c3c69
test edi, edi
jne 0x4c3c29
call fcn.004f2608
cmp ebx, dword [edi + 4]
jne 0x4c3c33
call fcn.004f2608
mov esi, dword [esp + 0x3c]
test esi, esi
lea ecx, [ebx + 0x10]
jne 0x4c3c4c
xor eax, eax
push eax
push esi
call fcn.0041af30
jmp 0x4c3ce4
mov eax, esi
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4c3c51
sub eax, edi
sar eax, 1
push eax
push esi
call fcn.0041af30
jmp 0x4c3ce4
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], edx
call fcn.004c3750
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
mov dword [esp + 0x38], 1
call fcn.004c2130
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c3cc4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c3ce4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
Function at 0x4c3d00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x51bf50
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56a260]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0x38]
push ebx
lea ecx, [esp + 0x3c]
call fcn.0041abb0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x18]
add esi, 0x290
push ecx
mov ecx, esi
mov dword [esp + 0x38], 0
call fcn.004c0530
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4c3d7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x14]
test edi, edi
mov ebp, dword [esi + 4]
je 0x4c3d8d
cmp edi, esi
je 0x4c3d92
call fcn.004f2608
cmp dword [esp + 0x18], ebp
je 0x4c3dbc
test edi, edi
jne 0x4c3da1
call fcn.004f2608
mov ecx, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jne 0x4c3daf
call fcn.004f2608
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
mov dword [eax + 0x10], edx
jmp 0x4c3e0f
push ebx
lea ecx, [esp + 0x18]
call fcn.0041abb0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
mov ecx, esi
mov dword [esp + 0x38], 1
call fcn.004c2020
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c3e0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
Function at 0x4c3f40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x56a260]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x130]
test eax, eax
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x418], edi
je 0x4c3f7c
push eax
call dword [sym.imp.USER32.dll_DestroyCursor]
mov dword [esi + 0x130], 0
mov ecx, esi
call fcn.004c1e00
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0
push edi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
cmp edi, 0x20
ja 0x4c40ad
lea ecx, [ebp - 0x414]
push ecx
push str..htm
push DirectSoundEnumerateW
mov ecx, esi
call fcn.004be1f0
test eax, eax
jne 0x4c40ad
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str._shellopencommand
lea edx, [ebp - 0x414]
push edx
call ebx
lea eax, [ebp - 0x414]
push eax
mov ecx, eax
push ecx
push DirectSoundEnumerateW
mov ecx, esi
call fcn.004be1f0
test eax, eax
jne 0x4c40ad
lea edx, [ebp - 0x414]
push str.__1_
push edx
call fcn.004f2f27
mov esi, eax
add esp, 8
test esi, esi
jne 0x4c4040
lea eax, [ebp - 0x414]
push 0x53a56c
push eax
call fcn.004f2f27
mov esi, eax
add esp, 8
test esi, esi
jne 0x4c4040
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [ebp + eax*2 - 0x416]
jmp 0x4c4045
mov word [esi], 0
push 0x549cf8
push esi
call ebx
mov edx, dword [ebp - 0x418]
push edx
push esi
call ebx
call dword [0x56b61c]
mov edi, eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jle 0x4c4085
mov edx, dword [ebp + 0xc]
xor eax, eax
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x4c40af
lea esi, [eax + eax]
mov eax, esi
call fcn.004f8880
mov eax, esp
push edi
push esi
lea ecx, [ebp - 0x414]
push ecx
push eax
call fcn.004bdfc0
mov edx, dword [ebp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x4c40af
mov eax, edi
lea esp, [ebp - 0x424]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f2ac1
mov esp, ebp
pop ebp
ret 8

Function at 0x4cab20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51c62e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x56a260]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.004ca510
lea eax, [edi + 0x10]
push eax
lea ecx, [esi + 0x10]
mov dword [esp + 0x1c], 0
call fcn.004c6290
lea ecx, [edi + 0x20]
push ecx
lea ecx, [esi + 0x20]
mov byte [esp + 0x1c], 1
call fcn.004c6290
add edi, 0x30
push edi
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 2
call fcn.004c6290
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x4d4571
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x51cc1b
call fcn.004f9f8e
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.004e056a
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x4d45bc
call fcn.004e056a
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x4d45cd
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x4d45da
or eax, 0xffffffff
jmp 0x4d4736
mov ecx, esi
call fcn.004d40b8
mov dword [ebp - 0x14], eax
call fcn.004d7251
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x4d4658
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x4d4658
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4d4658
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.004d3f47
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x4d4658
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x4d4658
mov ecx, ebx
call fcn.004d9f93
test eax, eax
je 0x4d4658
push 0
mov ecx, ebx
call fcn.004d9fae
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.004d8bfb
push dword [ebp - 0x14]
call fcn.004d71a9
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.004d4379
xor edi, edi
cmp eax, edi
je 0x4d46b5
test byte [esi + 0x3c], 0x10
je 0x4d469f
push 4
pop edi
mov ecx, esi
call fcn.004d9e50
test ax, 0x100
je 0x4d4695
push 5
pop edi
push edi
mov ecx, esi
call fcn.004d6d3f
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x4d46b5
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.004da181
or dword [ebp - 4], 0xffffffff
jmp 0x4d46e0
cmp dword [ebp - 0x28], edi
je 0x4d46ee
push 1
mov ecx, ebx
call fcn.004d9fae
cmp dword [ebp - 0x2c], edi
je 0x4d46fe
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x4d4717
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x4d4717
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.004d40f2
cmp dword [esi + 0x58], edi
je 0x4d4733
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.004fa033
ret
Function at 0x4d81fe
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4d8237
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004d4a19
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004beb30
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x4d9d15
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x4d9d58
call fcn.004e056a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4d9d58
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4d9d73
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.004d98cf
test ebx, ebx
mov esi, eax
je 0x4d9d71
test edi, edi
je 0x4d9d71
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4e0d7a
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x1f4]
sub esp, 0x274
mov eax, dword [0x56a260]
xor eax, ebp
mov dword [ebp + 0x1f0], eax
cmp dword [ebp + 0x200], 0x800
mov eax, dword [ebp + 0x1fc]
push esi
mov dword [ebp - 0x40], eax
mov esi, ecx
lea eax, [ebp + 0x1e8]
jne 0x4e0e18
push 0x53eae4
push 4
push eax
call fcn.004f2e08
push eax
call fcn.0041ae60
add esp, 0x10
push ebx
push edi
call fcn.004f7d19
mov edi, dword [eax]
call fcn.004f7d19
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp + 0x1e8]
push eax
push dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.004f4b31
add esp, 0x18
mov dword [ebp - 0x40], eax
call fcn.004f7d19
cmp dword [eax], ebx
je 0x4e0e2f
call fcn.004f7d19
push dword [eax]
call fcn.004d4a6b
pop ecx
jmp 0x4e0e36
push 4
push eax
push 3
push dword [ebp + 0x200]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4e0dc9
jmp 0x4e0ea8
call fcn.004f7d19
mov dword [eax], edi
cmp dword [ebp - 0x40], 0xffffffff
je 0x4e0ea4
cmp dword [ebp - 0x40], esi
jae 0x4e0ea4
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x80], 0x40
call fcn.004f5b00
add esp, 0xc
push 0x53e3ec
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x4e0e96
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4e0e96
lea ecx, [ebp - 0x80]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x4e0e96
push ebx
push ebx
push esi
jmp 0x4e0e9c
push ebx
push ebx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x4e0ea6
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x1f0]
xor ecx, ebp
pop esi
call fcn.004f2ac1
add ebp, 0x1f4
leave
ret
Function at 0x4e216b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x4e21b1
call fcn.004e056a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4e21b1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x4e21f4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x4e21dd
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 0x4e21dd
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4e21f1
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 0x4e402e
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4e405c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4e407a
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004e3f98
jmp 0x4e407a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4e407a
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004e3f98
test edi, edi
mov eax, edi
jne 0x4e4064
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x56e630]
test ecx, ecx
je 0x4e413d
jmp 0x4e402d
ret 8

Function at 0x4f2ac1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x56a260]
jne 0x4f2acb
repz ret
jmp fcn.004fd7e1
Function at 0x4f79eb
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x4f7a18
call fcn.004f7d2c
mov dword [eax], esi
call fcn.004f7d19
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004f25e4
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x4f79f4
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4f7a47
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004f7d3f
pop ecx
call fcn.004f7d19
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x4f7a6e
test al, 1
je 0x4f7a6e
test byte [esp + 0xc], 2
je 0x4f7a6e
call fcn.004f7d2c
mov dword [eax], 5
call fcn.004f7d19
mov dword [eax], 0xd
jmp 0x4f7a3e
xor eax, eax
pop esi
ret