joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4454b0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d26b8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x64dff0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
call fcn.00404190
push dword [ebp + 8]
push str.CPlayerManager::ReceiveStopPlayer
push str.__s__:_name__s_
push eax
call fcn.00425940
mov eax, dword [ebp + 8]
add esp, 0x10
add eax, 0xfffffff0
push ecx
mov esi, esp
push eax
mov dword [ebp - 0x18], esi
call fcn.00403f00
add esp, 4
add eax, 0x10
mov dword [esi], eax
call fcn.0043d140
mov ecx, dword [ebx + 0x54]
mov edx, eax
nop word [eax + eax]
test ecx, ecx
je 0x445634
mov esi, dword [ecx + 8]
mov ecx, dword [ecx]
cmp dword [esi + 0x1c], edx
jne 0x445530
mov eax, dword [esi + 0x70]
test eax, eax
je 0x445573
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x445573
mov eax, dword [esi + 0x70]
test eax, eax
je 0x445560
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x445573
mov ecx, dword [esi + 0x70]
mov eax, dword [ecx]
call dword [eax + 0x60]
push 0x208
call fcn.0045dc27
mov edx, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], edx
mov edi, edx
mov ecx, 0x82
rep stosd dword es:[edi], eax
push dword [esi + 0x64]
push 0x622750
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
add esp, 0xc
push 0
push dword [ebp - 0x18]
push dword [ebx + 0x4c]
push dword [ebx + 0x44]
call edi
mov ecx, esi
mov dword [esi + 0x18], 0
mov dword [esi + 0x10], 5
call fcn.00439920
mov eax, dword [esi + 8]
test eax, eax
je 0x4455ea
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x34]
nop dword [eax]
test ecx, ecx
je 0x445602
mov eax, dword [ecx + 8]
mov ecx, dword [ecx]
mov dword [eax + 4], 0
jmp 0x4455f0
push 0
push 0
push dword [ebx + 0x48]
push dword [ebx + 0x44]
call edi
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x445630
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
jmp 0x44569c
call fcn.00404190
push str.CPlayerManager::ReceiveStopPlayer
push str.__s__:__getPlayerDataFromReal_fail
push eax
call fcn.00425940
mov dword [ebp - 4], 0xffffffff
add esp, 0xc
mov edx, dword [ebp + 8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44569a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x44569a
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005a3521
mov esp, ebp
pop ebp
ret 4
Function at 0x4496e0
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d2ae8
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x64dff0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp + 8]
mov dword [ebp - 4], 2
lea ecx, [esi + 0xe8]
push eax
call fcn.00403f70
lea eax, [ebp + 0xc]
lea ecx, [esi + 0xec]
push eax
call fcn.00403f70
mov ecx, dword [esi + 0xf0]
test ecx, ecx
je 0x449762
cmp dword [ecx - 4], 0
lea eax, [ecx - 4]
je 0x44974f
mov eax, dword [ecx]
push 3
call dword [eax]
jmp 0x449758
push eax
call fcn.0045dc22
add esp, 4
mov dword [esi + 0xf0], 0
push dword [ebp + 0x10]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005a7a20
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0
push 0x104
push eax
push dword [ebp + 0x10]
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToCacheFileW]
push ecx
mov ecx, esp
test eax, eax
jne 0x4497b6
lea eax, [ebp - 0x218]
push eax
call fcn.00406cf0
call fcn.00448420
jmp 0x4497ca
push 0x61c128
call fcn.00406cf0
mov ecx, 0xb5
call fcn.004095f0
mov edi, eax
mov dword [esi + 0xf0], eax
add esp, 4
test edi, edi
je 0x449839
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
push eax
push dword [edi + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
test eax, eax
je 0x4497fa
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x21c]
mov edi, dword [esi + 0xf0]
mov dword [esi + 0xf4], eax
lea eax, [ebp - 0x21c]
push eax
mov dword [ebp - 0x21c], 0
push dword [edi + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
test eax, eax
je 0x44982d
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x21c]
mov dword [esi + 0xf8], eax
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov edx, dword [ebp + 8]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44985a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x449878
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x449897
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a3521
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45cd30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
call fcn.0045b3f0
push dword [esi + 0x44]
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
call fcn.0045dc22
mov ebx, dword [ebp + 8]
push 0
push 0
push ebx
mov dword [esi + 0x44], 0
call fcn.005b4ee2
push ebx
call fcn.005b4f44
add esp, 0x14
cmp eax, 0xffffffff
jne 0x45cda8
push ebx
call fcn.005b5071
add esp, 4
test eax, eax
je 0x45cda8
mov dword [esi + 0x34], 5
mov eax, 5
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
pop esi
pop ebx
pop ebp
ret 4
push edi
push 2
push 0
push ebx
call fcn.005b4ee2
push ebx
call fcn.005b55f3
push 0
push 0
push ebx
mov edi, eax
call fcn.005b4ee2
add esp, 0x1c
cmp edi, 0xffffffff
je 0x45ce0a
cmp edi, 0xffffffff
jae 0x45ce0a
test edi, edi
jne 0x45cded
mov dword [esi + 0x3c], edi
lea eax, [edi + 0xf]
mov dword [esi + 0x40], edi
pop edi
mov dword [esi + 0x34], 0xf
pop esi
pop ebx
pop ebp
ret 4
lea eax, [edi + 1]
push eax
call fcn.0045dc27
push ebx
push edi
push 1
push eax
mov dword [esi + 0x44], eax
call fcn.005b57ca
add esp, 0x14
cmp eax, edi
je 0x45ce2b
pop edi
mov dword [esi + 0x34], 5
mov eax, 5
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
pop esi
pop ebx
pop ebp
ret 4
mov eax, dword [esi + 0x44]
mov ecx, esi
mov byte [edi + eax], 0
call fcn.0045ce50
mov eax, dword [esi + 0x34]
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x45da50
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3568
mov eax, dword fs:[0]
push eax
sub esp, 0x3c0
mov eax, dword [0x64dff0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0x3bc
lea eax, [ebp - 0x3cc]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.005a7a20
push dword [ebp + 0xc]
lea eax, [ebp - 0x3b4]
mov dword [ebp - 0x3cc], 0x3bc
push eax
mov dword [ebp - 0x3c8], esi
mov dword [ebp - 0x3c0], 7
mov dword [ebp - 0x3bc], 0x465
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
mov dword [ebp - 0x3c4], 0
call fcn.0046d46c
push 0x80
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x3b8], eax
lea eax, [ebp - 0x3cc]
push eax
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
neg eax
mov dword [ebp - 4], 0xffffffff
sbb esi, esi
mov eax, dword [ebp + 0xc]
neg esi
add eax, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x45db2b
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a3521
mov esp, ebp
pop ebp
ret 8
Function at 0x4650ee
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x465133
call fcn.0046d46c
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x465133
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x46514f
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0046ce8b
mov ebx, eax
test edi, edi
je 0x46514d
test esi, esi
je 0x46514d
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x465b41
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x465bff
cmp dword [esi + 0x20], 0
je 0x465bff
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x465bff
cmp dword [ebp + 8], 0
je 0x465bff
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.0046d46c
push 0x5e5108
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x465bd0
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x465bff
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.004879ed
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x465bf0
test edi, edi
je 0x465bf0
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x465bfb
mov ecx, esi
call fcn.004658e4
mov eax, ebx
jmp 0x465c01
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x46a501
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5dd5b3
call fcn.005a3c5c
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x46a527
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x46a586
call fcn.0045fe71
push eax
lea ecx, [ebp - 0x10]
call fcn.00403a30
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call fcn.005a3c1f
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.005b5af7
push eax
call fcn.00405a90
add esp, 0x14
test esi, esi
je 0x46a579
push esi
call fcn.005b5b02
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00404010
mov eax, ebx
call fcn.005a3c25
ret 8
Function at 0x46bcec
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0046d46c
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x46bd23
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.0046bd44
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x46d710
Capabilities:
Create http request

Disassembly:
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 0x46d739
call fcn.0046d46c
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
je 0x46d766
push esi
push eax
mov ecx, 0x7028cc
call fcn.0046e727
mov eax, esi
pop esi
pop ebp
ret 0x18
push 0
push dword [esi + 4]
call fcn.0046dcfc
int3

Function at 0x471d23
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
mov eax, ecx
push edi
mov edi, esi
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], esi
je 0x471d6d
call fcn.0046d46c
push 0xf0
push dword [ebp + 0xc]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x471d6a
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x471dbb
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov eax, dword [ebp - 4]
xor ebx, ebx
inc ebx
test esi, esi
je 0x471d99
mov ecx, dword [eax]
push dword [ebp + 0x10]
push esi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call fcn.005a3c1f
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
test edi, edi
je 0x471d99
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x471db9
mov eax, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [eax + 0xa0]
mov ecx, esi
call fcn.005a3c1f
mov ecx, edi
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x480514
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x5d49b3
call fcn.005a3c5c
mov eax, ecx
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 0x10]
xor edi, edi
mov ecx, dword [ebp + 0x14]
push edi
mov dword [ebx], edi
mov dword [ecx], edi
cmp dword [eax + 0x58], edi
je 0x4805be
push dword [ebp + 8]
mov ecx, eax
call fcn.0048084c
mov esi, eax
test esi, esi
je 0x480651
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], edi
push eax
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
test eax, eax
jne 0x4805a7
push edx
call fcn.0045dc27
pop ecx
lea ecx, [ebp - 0x14]
mov dword [ebx], eax
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4805a7
xor edi, edi
inc edi
jmp 0x4805b1
push dword [ebx]
call fcn.0045dc22
pop ecx
mov dword [ebx], edi
lea ecx, [ebp - 0x24]
call fcn.004803d9
jmp 0x48064f
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov esi, dword [esi + 0x84]
mov ecx, esi
push eax
call fcn.005a3c1f
mov ecx, dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov esi, dword [eax - 0xc]
mov dword [ebp - 0x18], esi
test esi, esi
je 0x480647
mov ecx, dword [ebp + 0x14]
mov eax, esi
shr eax, 1
push eax
mov dword [ecx], eax
call fcn.0045dc27
mov dword [ebx], eax
pop ecx
test esi, esi
jle 0x480641
mov esi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x10]
call fcn.0048e8e3
push edi
lea ecx, [ebp - 0x10]
lea ebx, [eax - 1]
shl bl, 4
sub bl, 0x41
call fcn.0048e8e3
add al, bl
mov edx, edi
test edx, edx
jns 0x480632
add edx, 1
sar edx, 1
mov ecx, dword [esi]
add edi, 2
mov byte [edx + ecx], al
cmp edi, dword [ebp - 0x18]
jl 0x480609
mov eax, dword [ebp - 0x10]
xor edi, edi
inc edi
lea ecx, [eax - 0x10]
call fcn.00404010
mov eax, edi
call fcn.005a3c25
ret 0x10

Function at 0x480659
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x4806ac
push esi
push dword [ebp + 8]
call fcn.0048084c
mov edi, eax
test edi, edi
jne 0x48067c
mov eax, dword [ebp + 0x10]
jmp 0x4806be
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x480677
mov eax, dword [ebp - 8]
jmp 0x4806be
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48a0eb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
je 0x48a105
mov edi, dword [esi + 0xc]
jmp 0x48a145
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x48a11e
call fcn.00460e4c
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x48a133
call fcn.00460e4c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x48a145
call fcn.00460e4c
call fcn.0046d46c
cmp dword [eax + 0x3c], 0
je 0x48a15a
push edi
mov ecx, ebx
call fcn.0048977f
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0048a337
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x48a183
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x48a18f
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4a14b2
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0046a117
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4a14ee
call fcn.004a16d4
mov dword [esi + 0xc], 1
jmp 0x4a14f3
call fcn.004a16d4
cmp dword [esi], 0
je 0x4a153c
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4a1516
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0045f5b0
jmp 0x4a1527
push 0xff
mov ecx, esi
call fcn.00403cc0
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.004483b0
jmp 0x4a1560
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4a1560
push dword [esi]
push dword [ebp - 4]
call fcn.004859f3
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4a1629
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004a16d4
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4a1671
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0045f5b0
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004483b0
jmp 0x4a167c
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004859f3
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4b10d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
test esi, esi
jne 0x4b10e9
call fcn.0046d46c
mov esi, dword [eax + 0xc]
push 0x61c128
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x4b113f
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4b113e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x4b111f
xor esi, esi
jmp 0x4b1135
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004b1147
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x51f6e9
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0058a4c7
call fcn.0046d4c0
cmp dword [eax + 0x14], 0
jne 0x51f704
mov ecx, esi
pop esi
jmp fcn.0051ea2f
pop esi
ret

Function at 0x54a157
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.00401c70
call fcn.0046d4c0
cmp dword [eax + 0x14], 0
jne 0x54a172
mov ecx, esi
pop esi
jmp fcn.005499d5
pop esi
ret

Function at 0x5c0172
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005bfe35

Function at 0x5c017d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005bffb6

Function at 0x5c4592
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005c4252
Function at 0x4550ef
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x47a768], eax
cmp eax, 0xffffffff
jne 0x455111
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x455115
jmp 0x45511d
mov esp, ebp
pop ebp
ret
movzx eax, ax
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x10]
call fcn.0044423d
push 0x473cf8
lea eax, [ebp - 0x10]
push eax
call fcn.0042477c
int3
Function at 0x41e9ee
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c580
push 0x42c578
push str.FlsAlloc
push 0x1f
call fcn.0041e88a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41ea22
push dword [ebp + 8]
mov ecx, esi
call dword [0x4281d0]
call esi
jmp 0x41ea28
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41ea6c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c590
push 0x42c588
push str.FlsGetValue
push 0x21
call fcn.0041e88a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41eaa3
push dword [ebp + 8]
mov ecx, esi
call dword [0x4281d0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x41eaab
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c598
push 0x42c590
push str.FlsSetValue
push 0x22
call fcn.0041e88a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41eae5
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4281d0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]