joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4042b1
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43fe42
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x4586b0]
xor eax, esp
mov dword [esp + 0x268], eax
push esi
mov eax, dword [0x4586b0]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0x44a2b8
lea eax, [esp + 0x18]
push esi
push eax
call fcn.00406be0
add esp, 0xc
and dword [esp + 0x280], 0
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp._FindFirstFileW]
mov dword [esp + 0x10], eax
or dword [esp + 0x280], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402bf9
cmp dword [esp + 0x10], 0xffffffff
je 0x40445d
mov ecx, 0x44a2c4
lea eax, [esp + 0x48]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40436a
test dx, dx
je 0x404366
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40436a
add eax, 4
add ecx, 4
test dx, dx
jne 0x404344
xor eax, eax
jmp 0x40436f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40443c
mov ecx, 0x44a2c8
lea eax, [esp + 0x48]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4043a6
test dx, dx
je 0x4043a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4043a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x404380
xor eax, eax
jmp 0x4043ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40443c
push 0x44a2d0
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.00406be0
mov dword [esp + 0x28c], 1
lea ecx, [esp + 0x54]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00406be0
add esp, 0x18
mov byte [esp + 0x280], 3
lea ecx, [esp + 0x18]
call fcn.00402bf9
test byte [esp + 0x1c], 0x10
je 0x404412
push dword [ebp + 0xc]
lea eax, [esp + 0x10]
push eax
call fcn.004042b1
pop ecx
pop ecx
push dword [esp + 0xc]
call dword [sym.imp._RemoveDirectoryW]
push 0x80
push dword [esp + 0x10]
call dword [sym.imp._SetFileAttributesW]
push dword [esp + 0xc]
call dword [sym.imp._DeleteFileW]
or dword [esp + 0x280], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00402bf9
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x14]
call dword [sym.imp._FindNextFileW]
test eax, eax
jne 0x40433b
push dword [esp + 0x10]
call dword [sym.imp._FindClose]
cmp byte [ebp + 0xc], 0
je 0x40446b
push dword [esi]
call dword [sym.imp._RemoveDirectoryW]
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.004296b4
mov esp, ebp
pop ebp
ret
Function at 0x40568d
Capabilities:
Get common file path

Disassembly:
push 0x80c
mov eax, 0x441023
call fcn.0042b417
mov eax, dword [ebp + 8]
and dword [ebp - 0x818], 0
mov dword [ebp - 0x814], eax
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x810]
push eax
push 0x400
call dword [sym.imp._GetTempPathW]
lea ecx, [ebp + 0xc]
call fcn.004035c6
mov edx, eax
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x4056ce
sub eax, edx
lea edi, [ebp - 0x810]
dec edi
dec edi
mov cx, word [edi + 2]
inc edi
inc edi
test cx, cx
jne 0x4056e2
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x810]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x814]
push eax
call fcn.00403063
mov dword [ebp - 0x818], ebx
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00402bf9
mov eax, dword [ebp - 0x814]
call fcn.0042b49a
ret

Function at 0x40586b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x43fa3b
call fcn.0042b3ae
mov dword [ebp - 4], 1
or dword [ebp - 0x14], 0xffffffff
xor ebx, ebx
xor eax, eax
cmp byte [ebp + 0x10], bl
push ebx
sete al
lea ecx, [ebp - 0x10]
push ecx
push ebx
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
dec eax
and eax, 0x100
inc eax
push eax
push ebx
push ebx
push ebx
push dword [ebp + 8]
push 0x80000001
call dword [0x443034]
cmp eax, ebx
jne 0x4058de
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call dword [0x443030]
push dword [ebp - 0x10]
call dword [0x443040]
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.00402bf9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00402bf9
mov eax, esi
call fcn.0042b486
ret

Function at 0x405900
Capabilities:
Create process on windows

Disassembly:
push 0x60
mov eax, 0x43fc69
call fcn.0042b3ae
xor esi, esi
mov dword [ebp - 4], esi
push 0x44
pop edi
push edi
lea eax, [ebp - 0x6c]
push esi
push eax
call fcn.0042adc0
xor eax, eax
mov dword [ebp - 0x6c], edi
mov word [ebp - 0x3c], ax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea ecx, [ebp + 8]
mov dword [ebp - 0x40], 1
call fcn.004035c6
push eax
push esi
call dword [sym.imp._CreateProcessW]
test eax, eax
je 0x40596b
push dword [ebp - 0x20]
mov esi, dword [sym.imp._CloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402bf9
call fcn.0042b486
ret
Function at 0x40597d
Capabilities:
Write file on windows

Disassembly:
push 4
mov eax, 0x43fc46
call fcn.0042b3ae
xor esi, esi
mov dword [ebp - 4], esi
push esi
push esi
push 2
push esi
push esi
push 0x40000000
lea ecx, [ebp + 0xc]
call fcn.004035c6
push eax
call dword [sym.imp._CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4059c9
push esi
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x10], ebx
push edi
call dword [sym.imp._WriteFile]
push edi
call dword [sym.imp._CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00402bf9
call fcn.0042b486
ret

Function at 0x405bdb
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
sub esp, 0x22c
lea ebp, [esp - 4]
mov eax, dword [0x4586b0]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push 8
mov eax, 0x440f7e
call fcn.0042b3ae
xor ebx, ebx
push ebx
push 2
call sub._CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, 0xffffffff
je 0x405c76
lea eax, [ebp]
push eax
push esi
mov dword [ebp], 0x22c
call sub._Process32FirstW
test eax, eax
jne 0x405c2b
push esi
jmp 0x405c70
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 0x10]
call fcn.00403063
mov dword [ebp - 4], ebx
lea edi, [ebp - 0x10]
call fcn.004035a0
push str.pccleaners.exe
mov esi, edi
call fcn.00403575
cmp eax, 0xffffffff
jne 0x405c9b
or dword [ebp - 4], eax
mov ecx, edi
call fcn.00402bf9
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
call sub._Process32NextW
test eax, eax
jne 0x405c2b
push dword [ebp - 0x14]
call dword [sym.imp._CloseHandle]
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 + 0x22c]
xor ecx, ebp
call fcn.004296b4
add ebp, 0x230
leave
ret
push dword [ebp + 8]
push ebx
push 1
call dword [sym.imp._OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x405ce2
push 0x44a5f8
push ebx
call dword [0x4435a4]
cmp eax, ebx
je 0x405ccb
push ebx
push ebx
push 0x864
push eax
call dword [0x4435dc]
push ebx
push esi
call dword [sym.imp._TerminateProcess]
test eax, eax
je 0x405ce2
push 0xbb8
call dword [sym.imp._Sleep]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402bf9
mov al, 1
jmp 0x405c78
Function at 0x40631b
Capabilities:
Delete file

Disassembly:
push 8
mov eax, 0x441642
call fcn.0042b3ae
lea eax, [ebp - 0x10]
push eax
call fcn.004062da
pop ecx
and dword [ebp - 4], 0
push dword [ebp - 0x10]
mov esi, dword [sym.imp._DeleteFileW]
call esi
push str._shm
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00406be0
add esp, 0xc
mov byte [ebp - 4], 1
push dword [eax]
call esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00402bf9
push str._wal
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00406be0
add esp, 0xc
mov byte [ebp - 4], 2
push dword [eax]
call esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00402bf9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402bf9
call fcn.0042b486
ret

Function at 0x4063c2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 8
mov eax, 0x43fc08
call fcn.0042b3ae
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
xor esi, esi
inc esi
mov dword [ebp - 4], esi
push dword [ebp + 8]
call fcn.00406c59
push dword [ebp + 0xc]
mov dword [ebp - 0x10], esi
push dword [ebp + 0x10]
push ebx
call dword [sym.imp._FindResourceW]
mov esi, eax
cmp esi, ebx
je 0x40644e
push esi
push ebx
call dword [sym.imp._LoadResource]
cmp eax, ebx
je 0x40644e
push eax
call dword [sym.imp._LockResource]
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x40644e
push esi
push ebx
call dword [sym.imp._SizeofResource]
mov edi, eax
lea eax, [edi + 1]
push eax
call fcn.0042a508
mov esi, eax
pop ecx
cmp esi, ebx
je 0x40644e
push edi
push dword [ebp - 0x14]
push esi
call fcn.0042a7c0
add esp, 0xc
push esi
push dword [ebp + 8]
mov byte [esi + edi], bl
call fcn.00406cc7
push esi
call fcn.0042a5d2
pop ecx
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.00402bf9
mov eax, dword [ebp + 8]
call fcn.0042b486
ret

Function at 0x4067ac
Capabilities:
Get common file path

Disassembly:
push 0x28
mov eax, 0x440ec4
call fcn.0042b417
mov eax, dword [ebp + 8]
and dword [ebp - 0x34], 0
mov dword [ebp - 0x30], eax
mov eax, 0x104
lea esi, [ebp - 0x2c]
call fcn.00407297
xor esi, esi
inc esi
mov dword [ebp - 4], esi
push esi
push dword [ebp + 0xc]
xor edi, edi
lea eax, [ebp - 0x2c]
call fcn.004018ac
push eax
push edi
call dword [0x4433a8]
test eax, eax
je 0x40680a
xor edi, edi
lea eax, [ebp - 0x2c]
call fcn.004018ac
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x4067fc
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x2c]
call fcn.004018cc
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40681e
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
push eax
call fcn.00403063
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 0
push 0
push esi
lea esi, [ebp - 0x2c]
call fcn.00401a61
mov eax, dword [ebp - 0x30]
call fcn.0042b49a
ret
Function at 0x406842
Capabilities:
Get token privileges

Disassembly:
push 0x20
mov eax, 0x43ffd7
call fcn.0042b3ae
lea eax, [ebp - 0x10]
push eax
xor edi, edi
push 0x28
mov dword [ebp - 0x10], edi
call dword [sym.imp._GetCurrentProcess]
push eax
call dword [0x443024]
test eax, eax
je 0x406902
lea eax, [ebp - 0x2c]
push eax
call fcn.004072d9
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
jne 0x406887
call fcn.00429b64
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push ecx
sub eax, esi
push eax
push esi
push 3
push dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
call dword [0x443020]
test eax, eax
je 0x4068ce
xor ecx, ecx
cmp dword [esi], edi
jbe 0x4068be
lea eax, [esi + 0xc]
mov dword [eax], 2
inc ecx
add eax, 0xc
cmp ecx, dword [esi]
jb 0x4068b0
push edi
push edi
push dword [ebp - 0x14]
push esi
push edi
push dword [ebp - 0x10]
call dword [0x443018]
push dword [ebp - 0x10]
call dword [sym.imp._CloseHandle]
mov dword [ebp - 4], 1
cmp dword [ebp - 0x20], edi
je 0x4068ec
push dword [ebp - 0x20]
call fcn.0040c90b
pop ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x2c]
push eax
call fcn.00406d5a
call fcn.0042b486
ret

Function at 0x40697d
Capabilities:
Set registry value

Disassembly:
push 4
mov eax, 0x440e88
call fcn.0042b3ae
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.00403063
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
add eax, eax
push eax
lea ecx, [ebp - 0x10]
call fcn.004035c6
mov esi, dword [0x4433b8]
push eax
push 1
mov ebx, str.InstallDir
push ebx
mov edi, str.SoftwarePCCleaners
push edi
push 0x80000001
call esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
add eax, eax
push eax
lea ecx, [ebp - 0x10]
call fcn.004035c6
push eax
push 1
push ebx
push edi
push 0x80000002
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402bf9
call fcn.0042b486
ret

Function at 0x4069f4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4586b0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x440e58
call fcn.0042b3ae
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x14], ebx
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
mov dword [ebp - 0x1c], esi
call fcn.0042adc0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
xor eax, eax
cmp byte [ebp + 0x214], bl
push str.InstallDir
setne al
push str.SoftwarePCCleaners
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0x104
add eax, 0x80000001
push eax
call dword [0x4433bc]
mov eax, dword [ebp - 0x10]
shr eax, 1
xor ecx, ecx
mov word [ebp + eax*2], cx
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.00403063
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.004296b4
add ebp, 0x20c
leave
ret
Function at 0x407d34
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x44158f
call fcn.0042b3ae
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00402b79
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x14]
push eax
call fcn.0040458d
pop ecx
mov byte [ebp - 4], 1
push eax
mov ecx, esi
call fcn.00402b1a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00402bf9
push dword [esi]
mov byte [ebp - 0xd], bl
call dword [0x4433d0]
test eax, eax
jne 0x407d83
mov byte [ebp - 0xd], 1
mov eax, dword [esi]
push ebx
push ebx
push 4
push ebx
push 3
push 0x40000000
push eax
call dword [sym.imp._CreateFileW]
cmp eax, 0xffffffff
je 0x407da4
push eax
call dword [sym.imp._CloseHandle]
cmp byte [ebp - 0xd], bl
je 0x407dd6
push dword [esi]
call fcn.0040470a
push ebx
call fcn.0042a113
pop ecx
pop ecx
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.InstallTime
call fcn.00403063
mov byte [ebp - 4], 2
push esi
mov byte [ebp - 4], bl
call fcn.00407e8b
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0042b486
ret 4
Function at 0x4091eb
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov esi, eax
xor edi, edi
push edi
lea ecx, [esi + 0x90]
call fcn.00414960
add esi, 0x10a0
push 5
mov ecx, esi
call fcn.00414960
push edi
push edi
push esi
push 0x4017b2
push edi
push edi
call fcn.0042a063
add esp, 0x18
push edi
push 0x14
push 0x6f
push dword [esi + 0x20]
call dword [0x4435d0]
pop edi
pop esi
ret

Function at 0x409778
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0x84]
xor edx, edx
div ecx
mov dword [ebp - 8], eax
test edx, edx
je 0x409797
inc dword [ebp - 8]
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x14]
mov ecx, dword [esi + 0x88]
xor edx, edx
div ecx
push ebx
mov ebx, eax
test edx, edx
je 0x4097af
inc ebx
and dword [ebp - 4], 0
cmp dword [ebp - 8], 0
jle 0x4097fd
push edi
xor edi, edi
test ebx, ebx
jle 0x4097f1
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0x84]
push 0xcc0020
push 0
push 0
push dword [ebp + 0xc]
push eax
imul eax, edi
push ecx
imul ecx, dword [ebp - 4]
push eax
push ecx
push dword [ebp + 8]
call dword [0x4430c0]
inc edi
cmp edi, ebx
jl 0x4097c0
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jl 0x4097ba
pop edi
pop ebx
leave
ret 0x18

Function at 0x409ea2
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x4586b0]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push 0x11c
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.0042adc0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x11c
call dword [sym.imp._GetVersionExW]
test eax, eax
je 0x409eee
cmp dword [ebp - 0x7c], 6
sbb eax, eax
inc eax
jmp 0x409ef0
xor al, al
mov ecx, dword [ebp + 0x9c]
xor ecx, ebp
call fcn.004296b4
add ebp, 0xa0
leave
ret
Function at 0x40b886
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 8
mov eax, 0x440bc4
call fcn.0042b3ae
mov eax, dword [0x459c14]
push 0x44bbf8
cmp eax, 0x411
jne 0x40b8ad
push 0x272a
jmp 0x40b952
cmp eax, 0x40c
jne 0x40b8be
push 0xa094
jmp 0x40b952
cmp eax, 0x407
jne 0x40b8cf
push 0xa095
jmp 0x40b952
cmp eax, 0x400a
jne 0x40b8dd
push 0xa097
jmp 0x40b952
cmp eax, 0x413
jne 0x40b8eb
push 0xa099
jmp 0x40b952
cmp eax, 0x804
jne 0x40b8f9
push 0xa096
jmp 0x40b952
cmp eax, 0x410
jne 0x40b907
push 0xa09b
jmp 0x40b952
cmp eax, 0x40b
jne 0x40b915
push 0xa09c
jmp 0x40b952
cmp eax, 0x406
jne 0x40b923
push 0xa09d
jmp 0x40b952
cmp eax, 0x416
jne 0x40b931
push 0xa09e
jmp 0x40b952
cmp eax, 0x81d
jne 0x40b93f
push 0xa09f
jmp 0x40b952
cmp eax, 0x414
jne 0x40b94d
push 0xa0a0
jmp 0x40b952
push 0x89
push 0
call dword [sym.imp._FindResourceW]
mov esi, eax
test esi, esi
je 0x40b9df
push esi
push 0
call dword [sym.imp._LoadResource]
test eax, eax
je 0x40b9df
push eax
call dword [sym.imp._LockResource]
mov ebx, eax
test ebx, ebx
je 0x40b9df
push esi
push 0
call dword [sym.imp._SizeofResource]
mov esi, eax
lea eax, [esi + 1]
push eax
call fcn.0040c916
push esi
mov edi, eax
push ebx
push edi
call fcn.0042a7c0
add esp, 0xc
mov eax, esp
mov dword [ebp - 0x14], esp
push edi
push eax
mov byte [edi + esi], 0
call fcn.00406c82
and dword [ebp - 4], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040448d
pop ecx
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 8]
push dword [eax]
add ecx, 0x84
call fcn.004148be
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402bf9
call fcn.0042b486
ret 4

Function at 0x40ee37
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 0x40ee5b
cmp dword [edi + 0x54], 0
jne 0x40ee5b
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0040e3f9
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp._FindResourceW]
push eax
push esi
call dword [sym.imp._LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0040edf8
push ebx
mov esi, eax
call dword [sym.imp._FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x414719
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 0x414760
call fcn.0040e3f9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp._FindResourceW]
test eax, eax
je 0x414760
push eax
push esi
call dword [sym.imp._LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41477c
push ebx
call dword [sym.imp._LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00414291
mov esi, eax
test edi, edi
je 0x41477a
test ebx, ebx
je 0x41477a
push ebx
call dword [sym.imp._FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x414f1f
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x43e599
call fcn.0042b3ae
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x414f44
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [0x443470]
jmp 0x414f8a
lea ecx, [ebp - 0x10]
call fcn.00402b79
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.0040c97a
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp._lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402e21
mov eax, esi
call fcn.0042b486
ret 8

Function at 0x416912
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x4586b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x4169aa
push 0x445a94
push 4
push eax
call fcn.0042ae86
push eax
call fcn.00402ccb
add esp, 0x10
push ebx
push edi
call fcn.0042b539
mov edi, dword [eax]
call fcn.0042b539
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0042b4d6
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0042b539
cmp dword [eax], ebx
je 0x4169c1
call fcn.0042b539
push dword [eax]
call fcn.0040ca4f
pop ecx
jmp 0x4169c8
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp._GetLocaleInfoW]
test eax, eax
jne 0x416955
jmp 0x416a4f
call fcn.0042b539
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x416a4b
cmp dword [ebp - 0x234], esi
jae 0x416a4b
lea eax, [ebp - 0x230]
push eax
call dword [0x4433c0]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.0042adc0
add esp, 0xc
push 0x444028
call dword [sym.imp._GetModuleHandleW]
cmp eax, ebx
je 0x416a3a
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp._GetProcAddress]
cmp eax, ebx
je 0x416a3a
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x416a3a
push ebx
push ebx
push esi
jmp 0x416a43
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp._LoadLibraryExW]
jmp 0x416a4d
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004296b4
leave
ret
Function at 0x4176f7
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 0x41773f
call fcn.0040e3f9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp._FindResourceW]
test eax, eax
je 0x41773f
push eax
push esi
call dword [sym.imp._LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x417782
push eax
call dword [sym.imp._LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x41776b
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 0x41776b
push dword [ebp - 4]
call dword [sym.imp._FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41777f
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 0x4296b4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4586b0]
jne 0x4296be
repz ret
jmp fcn.0042f373