joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402b08
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov eax, dword [eax + 4]
mov edx, dword [eax]
cmp eax, edx
mov dword [ebp - 4], edx
je 0x402b56
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
cmp dword [edx + 0x2c], 0
je 0x402b5a
mov ecx, dword [ebp - 8]
lea eax, [edx + 0x1c]
add edx, 0xc
push eax
push edx
push ebx
call fcn.00403015
lea ecx, [ebp - 4]
call fcn.0040518d
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
cmp dword [eax + 4], edx
jne 0x402b29
pop edi
pop esi
pop ebx
leave
ret 8
mov eax, dword [edx + 0x20]
mov esi, dword [eax]
mov dword [ebp + 8], esi
cmp dword [edx + 0x20], esi
je 0x402b40
and word [ebp - 0x210], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20e]
rep stosd dword es:[edi], eax
mov ecx, dword [0x432314]
stosw word es:[edi], ax
mov eax, dword [ebx + 4]
test eax, eax
jne 0x402b8f
mov eax, ecx
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x402b98
mov esi, ecx
mov edx, dword [edx + 0x10]
test edx, edx
je 0x402ba1
mov ecx, edx
push eax
lea eax, [ebp - 0x210]
push 0x103
push eax
push 0x441ed4
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x402be3
mov eax, dword [ebp + 8]
lea esi, [eax + 0x1c]
lea eax, [ebp - 0x210]
push eax
call dword [0x43242c]
pop ecx
push eax
lea eax, [ebp - 0x210]
push eax
mov ecx, esi
call dword [0x432328]
lea ecx, [ebp + 8]
call fcn.00405041
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 4]
jmp 0x402b62

Function at 0x403e95
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1048
call fcn.0042e5d0
and word [ebp - 0x1048], 0
push edi
mov ecx, 0x411
xor eax, eax
lea edi, [ebp - 0x1046]
push 0x824
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x1048]
push ecx
mov eax, dword [eax]
push eax
call fcn.00407b9b
add esp, 0xc
lea ecx, [ebp + 0xc]
push eax
call fcn.00404729
mov eax, dword [ebp + 0xc]
push 2
pop ecx
pop edi
mov eax, dword [eax - 8]
cdq
idiv ecx
test edx, edx
je 0x403efb
push 0x4395bc
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp + 0x10], 0
je 0x403f13
push 0x441ed4
push 0x4395a8
lea ecx, [ebp + 0xc]
call fcn.00404876
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.004046e3
lea ecx, [ebp + 0xc]
call fcn.00404c0d
mov eax, dword [ebp + 8]
leave
ret 0xc
Function at 0x40411f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
and dword [ebp - 4], 0
push ebx
push esi
mov esi, 0x516a
push edi
mov dword [ebp - 0x10], ecx
push esi
call fcn.0042e662
mov ebx, dword [0x43242c]
mov edi, eax
test edi, edi
pop ecx
je 0x40423d
push esi
xor esi, esi
push esi
push edi
call fcn.0042e5bc
add esp, 0xc
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x28b4
mov dword [ebp - 0xc], 1
push eax
lea eax, [ebp - 0xc]
push edi
push eax
push 0x43953c
push 0x439698
push 0x80000001
call dword [0x432514]
test eax, eax
jne 0x404230
cmp word [edi], si
je 0x404230
mov al, byte [ebp + 0xb]
push esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], al
call dword [0x43232c]
mov al, byte [ebp + 0xb]
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x30], al
call dword [0x43232c]
push edi
call ebx
pop ecx
push eax
push edi
lea ecx, [ebp - 0x30]
call dword [0x432328]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00404415
push 1
lea ecx, [ebp - 0x30]
mov esi, eax
call dword [0x43232c]
test esi, esi
je 0x404225
mov esi, dword [ebp + 0xc]
lea eax, [esi + esi]
push eax
push 0
push dword [ebp + 8]
call fcn.0042e5bc
mov eax, dword [ebp - 0x18]
add esp, 0xc
inc eax
cmp eax, esi
jb 0x404203
mov eax, esi
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x404210
mov ecx, dword [0x432314]
push eax
push ecx
push dword [ebp + 8]
call dword [0x432410]
add esp, 0xc
mov dword [ebp - 4], 1
push 1
lea ecx, [ebp - 0x20]
call dword [0x43232c]
push edi
call fcn.0042e52c
cmp dword [ebp - 4], 0
pop ecx
jne 0x404275
mov eax, dword [ebp + 0xc]
add eax, eax
push eax
push 0
push dword [ebp + 8]
call fcn.0042e5bc
mov esi, 0x439684
push esi
call ebx
mov ecx, eax
mov eax, dword [ebp + 0xc]
add esp, 0x10
inc ecx
cmp ecx, eax
jae 0x404267
push esi
call ebx
pop ecx
inc eax
push eax
push esi
push dword [ebp + 8]
call dword [0x432410]
add esp, 0xc
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x40427f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov al, byte [ebp + 0xb]
push esi
mov esi, ecx
push 0
lea ecx, [ebp - 0x10]
mov byte [ebp - 0x10], al
call dword [0x43232c]
mov al, byte [ebp + 0xb]
push 0
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], al
call dword [0x43232c]
push dword [ebp + 8]
call dword [0x43242c]
pop ecx
push eax
lea ecx, [ebp - 0x20]
push dword [ebp + 8]
call dword [0x432328]
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00404328
push 1
lea ecx, [ebp - 0x20]
mov esi, eax
call dword [0x43232c]
test esi, esi
je 0x404314
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4042ed
mov eax, dword [0x432314]
mov ecx, dword [ebp - 8]
add ecx, ecx
push ecx
push eax
push 1
push 0x43953c
push 0x439698
push 0x80000001
call dword [0x43254c]
test eax, eax
jne 0x404314
push 1
pop esi
jmp 0x404316
xor esi, esi
push 1
lea ecx, [ebp - 0x10]
call dword [0x43232c]
mov eax, esi
pop esi
leave
ret 4
Function at 0x407623
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.0042e606
mov ebx, dword [0x4323d4]
mov edi, eax
lea eax, [edi + 1]
push eax
call ebx
pop ecx
mov dword [ebp + 8], eax
test eax, eax
pop ecx
je 0x407698
test edi, edi
jle 0x40765d
sub esi, eax
mov ecx, edi
mov dl, byte [esi + eax]
xor dl, 0x13
mov byte [eax], dl
inc eax
dec ecx
jne 0x407651
lea esi, [edi + edi]
lea eax, [esi + 1]
push eax
call ebx
mov ebx, eax
lea eax, [esi + 1]
push eax
push 0
push ebx
call fcn.0042e5bc
add esp, 0x10
test ebx, ebx
je 0x40768c
push ebx
push edi
push dword [ebp + 8]
call fcn.00407597
add esp, 0xc
and byte [esi + ebx], 0
push dword [ebp + 8]
call dword [0x4323d8]
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x40769d
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.0042e606
mov edi, eax
push esi
push edi
push esi
call fcn.004075d8
mov eax, edi
add esp, 0x10
cdq
sub eax, edx
xor ecx, ecx
sar eax, 1
test eax, eax
jle 0x4076cc
xor byte [ecx + esi], 0x13
inc ecx
cmp ecx, eax
jl 0x4076c3
and byte [eax + esi], 0
pop edi
pop esi
ret
Function at 0x40cb48
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x240], ebx
je 0x40cb75
push 0x40
push dword [0x4433ac]
push 0x43ae60
push dword [esi + 4]
jmp 0x40cd54
call fcn.0041b6d8
mov eax, dword [eax + 0x30]
mov edx, 0x81
mov ecx, edx
lea edi, [ebp - 0x61a]
inc dword [eax + 0x6c]
xor eax, eax
mov word [ebp - 0x61c], bx
mov word [ebp - 0x20c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x20a]
push 0x3f7
push dword [esi + 4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [0x4326b8]
mov ebx, 0x103
lea ecx, [ebp - 0x61c]
push ebx
push ecx
push eax
call dword [0x432690]
lea eax, [ebp - 0x61c]
push eax
push 0x439dc8
lea eax, [ebp - 0x20c]
push ebx
push eax
call dword [0x4323e4]
mov edi, dword [0x43242c]
lea eax, [ebp - 0x20c]
push eax
call edi
add esp, 0x14
cmp word [ebp + eax*2 - 0x20e], 0x5c
jne 0x40cc1b
lea eax, [ebp - 0x20c]
push eax
call edi
and word [ebp + eax*2 - 0x20e], 0
pop ecx
and word [ebp - 0x414], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x412]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.0041b6d8
mov eax, dword [eax + 0x30]
lea ecx, [ebp - 0x414]
push ebx
push ecx
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, eax
call fcn.004199d8
lea eax, [ebp - 0x414]
push 0x43ae58
push eax
call dword [0x432400]
pop ecx
test eax, eax
pop ecx
je 0x40cd44
lea eax, [ebp - 0x414]
push eax
call fcn.0042059f
test eax, eax
pop ecx
je 0x40cd44
lea eax, [ebp - 0x414]
push eax
call fcn.00420623
test al, al
pop ecx
jne 0x40cca6
push 0x30
push dword [0x4433ac]
push 0x43ae1c
jmp 0x40cd51
lea eax, [ebp - 0x414]
push eax
call fcn.0041b6d8
mov ecx, eax
call fcn.0041bad4
mov edi, dword [0x4325f8]
push 0
mov ebx, 0xf0
push 0
push ebx
push dword [esi + 0x178]
call edi
mov dword [ebp - 4], eax
call fcn.0041b6d8
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp - 4]
push 0
push 0
push ebx
mov dword [eax + 0x44], ecx
push dword [esi + 0x180]
call edi
mov dword [ebp - 4], eax
call fcn.0041b6d8
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp - 4]
push 0
push 0
push ebx
mov dword [eax + 0x48], ecx
push dword [esi + 0x188]
call edi
mov edi, eax
call fcn.0041b6d8
mov eax, dword [eax + 0x30]
push edi
mov ecx, eax
call fcn.00419871
call fcn.0040fa86
mov ecx, eax
call fcn.0040fe31
mov edi, eax
test edi, edi
je 0x40cd5a
push dword [esi + 4]
mov ecx, edi
call fcn.0040e814
mov ecx, edi
call fcn.0040e59d
jmp 0x40cd5a
push 0x40
push dword [0x4433ac]
push 0x43adf0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x40cde8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
push ebx
push esi
mov esi, ecx
push edi
push 0x43ae98
lea ecx, [ebp - 4]
call fcn.00404729
and word [ebp - 0x230], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x22e]
rep stosd dword es:[edi], eax
and word [ebp - 0x43c], 0
mov ebx, 0x3f7
stosw word es:[edi], ax
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x43a]
push ebx
push dword [esi + 4]
rep stosd dword es:[edi], eax
mov edi, dword [0x4326b8]
call edi
lea ecx, [ebp - 0x43c]
push 0x104
push ecx
push eax
call dword [0x432690]
push 0x20
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.0042e5bc
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x18], 0x1041
mov dword [ebp - 0x14], 0x40cd63
call dword [0x4324e8]
test eax, eax
mov dword [ebp - 8], eax
je 0x40cec6
lea ecx, [ebp - 0x230]
push ecx
push eax
call dword [0x4324ec]
push ebx
push dword [esi + 4]
call edi
lea ecx, [ebp - 0x230]
push ecx
push eax
call dword [0x4326b4]
push dword [ebp - 8]
call dword [0x432788]
lea ecx, [ebp - 4]
call fcn.00404c0d
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10

Function at 0x40ced7
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.0041b6d8
mov eax, dword [eax + 0x30]
inc dword [eax + 0x70]
call fcn.0041b6d8
mov eax, dword [eax + 8]
test eax, eax
je 0x40cf2a
cmp eax, 3
je 0x40cf10
call fcn.0040fa86
mov ecx, eax
call fcn.00410640
mov esi, dword [esi + 4]
lea ecx, [eax + 0x20]
push esi
call fcn.0040d659
jmp 0x40cf42
call fcn.0040fa86
mov ecx, eax
call fcn.00410875
mov esi, dword [esi + 4]
lea ecx, [eax + 0x20]
push esi
call fcn.0040d6da
jmp 0x40cf42
call fcn.0040fa86
mov ecx, eax
call fcn.0040fabd
mov esi, dword [esi + 4]
lea ecx, [eax + 0x20]
push esi
call fcn.0040d5d8
push esi
call dword [0x4325ec]
test eax, eax
je 0x40cf56
push 0
push esi
call dword [0x4325f0]
xor eax, eax
pop esi
ret 0x10
Function at 0x40df5c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [0x4325f8]
push 0
mov ebx, 0xf0
mov esi, ecx
push 0
push ebx
push dword [esi + 0x9c]
call edi
mov ebp, eax
call fcn.0041b6d8
mov eax, dword [eax + 0x30]
mov dword [eax + 0x40], ebp
xor ebp, ebp
push ebp
push ebp
push ebx
push dword [esi + 0xa4]
call edi
mov ebx, eax
call fcn.0041b6d8
mov eax, dword [eax + 0x30]
push ebp
mov dword [eax + 0x84], ebx
push dword [esi + 4]
push 0x1404
call int.0040b4ea
push eax
call edi
push ebp
push dword [esi + 4]
call dword [0x4325f0]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x40e0bd
Capabilities:
Hide graphical window

Disassembly:
cmp dword [0x443448], 0
push esi
push edi
mov esi, ecx
je 0x40e0ea
call fcn.0041b6d8
mov eax, dword [eax + 0x30]
push 0
and dword [eax + 0x54], 0
push dword [esi + 4]
call dword [0x4325f0]
mov ecx, esi
call fcn.0040df5c
jmp 0x40e10b
mov edi, dword [esp + 0xc]
lea ecx, [esi + 0x20]
push edi
call fcn.0040e170
push edi
call dword [0x4325ec]
test eax, eax
je 0x40e10b
push 0
push edi
call dword [0x4325f0]
pop edi
pop esi
ret 4

Function at 0x40e670
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 1
push esi
mov esi, ecx
jne 0x40e7b1
cmp dword [0x443a74], 0
je 0x40e750
push ebx
mov ebx, dword [0x432248]
push edi
lea edi, [esi + 0x84]
call ebx
sub eax, dword [edi]
cmp eax, 0x12c
jbe 0x40e719
call ebx
mov dword [edi], eax
mov eax, dword [esi + 0x88]
cmp eax, 3
jl 0x40e6ba
xor eax, eax
jmp 0x40e6bb
inc eax
push 0x43b100
lea ecx, [ebp - 4]
mov dword [esi + 0x88], eax
call fcn.00404729
and dword [ebp + 8], 0
cmp dword [esi + 0x88], 0
jle 0x40e705
mov edi, 0x43b0fc
mov eax, edi
test eax, eax
je 0x40e6ed
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
lea ecx, [ebp - 4]
call fcn.00404d28
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x88]
jl 0x40e6e0
push dword [ebp - 4]
push dword [esi + 0x38]
call dword [0x4326b4]
lea ecx, [ebp - 4]
call fcn.00404c0d
call ebx
imul eax, eax, 0x64
mov ecx, dword [esi + 0x154]
xor edx, edx
imul ecx, ecx, 0x64
sub eax, ecx
mov ecx, 0x1388
div ecx
mov ecx, dword [esi + 0x160]
pop edi
cmp ecx, dword [esi + 0x15c]
pop ebx
jge 0x40e76e
cmp ecx, eax
jge 0x40e76e
inc ecx
mov dword [esi + 0x160], ecx
push ecx
jmp 0x40e766
mov eax, dword [esi + 0x160]
cmp eax, dword [esi + 0x15c]
jge 0x40e76e
inc eax
mov dword [esi + 0x160], eax
push eax
lea ecx, [esi + 0x5c]
call fcn.00414701
cmp dword [esi + 0x160], 0x64
jl 0x40e7b1
push 0x64
lea ecx, [esi + 0x5c]
call fcn.00414701
push 1
push dword [esi + 4]
call dword [0x432678]
push 0xc8
call dword [0x432268]
call fcn.0040fa86
mov ecx, eax
call fcn.004100ea
test eax, eax
je 0x40e7b1
push dword [esi + 4]
mov ecx, eax
call fcn.0040e0bd
pop esi
leave
ret 4
Function at 0x40e7c5
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.0040fa86
mov ecx, eax
call fcn.00410340
mov edi, eax
test edi, edi
je 0x40e80d
push 1
push dword [esi + 4]
call dword [0x432678]
mov esi, dword [esi + 4]
lea ecx, [edi + 0x20]
push esi
call fcn.0040e8f1
push esi
call dword [0x4325ec]
test eax, eax
je 0x40e806
push 0
push esi
call dword [0x4325f0]
mov ecx, edi
call fcn.0040c941
pop edi
xor eax, eax
pop esi
ret 0x10

Function at 0x40e814
Capabilities:
Hide graphical window

Disassembly:
cmp dword [0x443448], 0
push esi
je 0x40e825
push 0
push dword [ecx + 4]
jmp 0x40e840
mov esi, dword [esp + 8]
add ecx, 0x20
push esi
call fcn.0040e870
push esi
call dword [0x4325ec]
test eax, eax
je 0x40e846
push 0
push esi
call dword [0x4325f0]
pop esi
ret 4

Function at 0x40eb93
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx + 4]
call dword [0x4325f0]
ret

Function at 0x40ec06
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx + 4]
call dword [0x4325f0]
xor eax, eax
ret 0x10

Function at 0x40f328
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.0041b6d8
mov eax, dword [eax + 0x30]
inc dword [eax + 0x68]
call fcn.0040fa86
mov ecx, eax
call fcn.00410340
mov edi, eax
test edi, edi
je 0x40f370
mov esi, dword [esi + 4]
lea ecx, [edi + 0x20]
push esi
call fcn.0040e8f1
push esi
call dword [0x4325ec]
test eax, eax
je 0x40f369
push 0
push esi
call dword [0x4325f0]
mov ecx, edi
call fcn.0040c941
pop edi
xor eax, eax
pop esi
ret 0x10

Function at 0x40f8ba
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.0040fa86
mov ecx, eax
call fcn.00410340
mov esi, dword [esi + 4]
mov edi, eax
push esi
lea ecx, [edi + 0x20]
call fcn.0040e8f1
push esi
call dword [0x4325ec]
test eax, eax
je 0x40f8ec
push 0
push esi
call dword [0x4325f0]
mov ecx, edi
call fcn.0040c941
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x40fd4f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x85c
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x44]
xor ebx, ebx
mov eax, dword [esi + 4]
push ecx
push eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], eax
call dword [0x432670]
mov dword [ebp - 0x4c], eax
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x85a]
mov word [ebp - 0x85c], bx
push 0x400
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x85c]
push eax
push dword [esi + 4]
call dword [0x432690]
push 1
push dword [ebp - 0x4c]
call dword [sym.imp.GDI32.dll_SetBkMode]
push ebx
push ebx
push 0x31
push dword [esi + 4]
call dword [0x4325f8]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp - 0x4c]
call edi
push dword [esi + 0x20]
mov dword [ebp - 4], eax
push dword [ebp - 0x4c]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [0x4325c0]
test al, 1
je 0x40fde9
push 1
jmp 0x40fdef
test al, 2
je 0x40fdf0
push 2
pop ebx
lea eax, [ebp - 0x5c]
push eax
push dword [esi + 4]
call dword [0x4326a8]
or ebx, 0x20
lea eax, [ebp - 0x5c]
push ebx
push eax
lea eax, [ebp - 0x85c]
push 0xffffffffffffffff
push eax
push dword [ebp - 0x4c]
call dword [0x432674]
push dword [ebp - 4]
push dword [ebp - 0x4c]
call edi
lea ecx, [ebp - 0x4c]
call fcn.00410cc6
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x411cd0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
lea eax, [ebp - 0x18]
push edi
mov esi, ecx
push eax
push dword [esi + 4]
call dword [0x4326a8]
push 1
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x80]
cmp eax, 0xffffffff
jne 0x411d06
push 9
call dword [0x432668]
push eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [esi + 0x20]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 8]
call ebx
push dword [esi + 4]
mov dword [ebp - 8], eax
call dword [0x43261c]
test eax, eax
jle 0x411d8d
lea edi, [eax + 1]
lea eax, [edi + edi]
add eax, 3
and al, 0xfc
call fcn.0042e5d0
mov dword [ebp - 4], esp
push edi
push dword [ebp - 4]
push dword [esi + 4]
call dword [0x432690]
test eax, eax
je 0x411d8d
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [0x4325c0]
xor ecx, ecx
test al, 1
je 0x411d67
push 1
jmp 0x411d6d
test al, 2
je 0x411d6e
push 2
pop ecx
test al, 0xb
je 0x411d75
push 0x24
pop ecx
or cx, 0x210
lea eax, [ebp - 0x18]
push ecx
push eax
push 0xffffffffffffffff
push dword [ebp - 4]
push dword [ebp + 8]
call dword [0x432674]
push dword [ebp - 8]
push dword [ebp + 8]
call ebx
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4137ba
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x58], edi
je 0x4137f8
call fcn.004141c7
test eax, eax
je 0x4137fe
lea eax, [ebp - 8]
push eax
push 4
push esi
push 0x413c64
push edi
push edi
call dword [0x432394]
add esp, 0x18
cmp eax, edi
mov dword [esi + 0x74], eax
je 0x4137f8
push eax
call dword [0x432234]
xor eax, eax
pop edi
pop esi
leave
ret
mov eax, dword [esi + 0x7c]
cmp eax, edi
je 0x4137f8
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0x7c]
lea edx, [ebp - 4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 4]
push edi
neg edx
push edx
mov eax, dword [esi + 0x7c]
push dword [ebp - 8]
mov ecx, dword [eax]
push dword [ebp - 4]
push edi
push dword [esi + 0x34]
push dword [esi + 0x30]
push edi
push edi
push dword [esi + 0x5c]
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x4137f8
push edi
push edi
push dword [esi + 4]
call dword [0x43268c]
push 1
pop eax
jmp 0x4137fa
Function at 0x413910
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4433b8]
push esi
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4139c2
mov eax, dword [0x4433b8]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4139c2
mov eax, dword [0x4433b8]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [0x432230]
mov esi, eax
test esi, esi
je 0x4139bb
push esi
call dword [0x432238]
push ebx
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4139b4
cmp dword [ebp + 0xc], 0
je 0x4139b4
push edi
push eax
push dword [ebp + 0xc]
call fcn.0042e600
add esp, 0xc
push ebx
call dword [0x432190]
push esi
call dword [0x43223c]
mov ecx, dword [ebp - 4]
push edi
push esi
call fcn.0041337a
push esi
mov edi, eax
call dword [0x432244]
mov eax, edi
jmp 0x4139c4
push esi
call dword [0x432244]
push ebx
call dword [0x432190]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x414948
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
call dword [0x432520]
test eax, eax
jne 0x41498f
push 0x43c868
push dword [ebp + 8]
call dword [0x432380]
mov esi, eax
pop ecx
test esi, esi
pop ecx
mov dword [ebp + 8], 0xfeff
je 0x41498f
push esi
push 1
lea eax, [ebp + 8]
push 2
push eax
call dword [0x43237c]
push esi
call dword [0x432390]
add esp, 0x14
pop esi
pop ebp
ret 4

Function at 0x414994
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [ecx + 4]
push ebx
push esi
xor ebx, ebx
mov eax, dword [eax + 4]
xor edx, edx
push 1
cmp eax, 7
pop esi
jl 0x4149b8
cmp eax, 9
jg 0x4149b8
mov edx, esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20e]
mov word [ebp - 0x210], bx
push 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x210]
mov dword [ebp - 4], esi
push eax
push edx
mov dword [ebp - 8], 0x104
call fcn.004080d9
add esp, 0xc
mov dword [0x443a70], eax
test eax, eax
pop edi
jne 0x414a33
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 4]
push eax
push 0x441ed4
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se_3.exe
push 0x80000002
call dword [0x432514]
test eax, eax
jne 0x414a50
lea eax, [ebp - 0x210]
push eax
call dword [0x432520]
test eax, eax
je 0x414a50
lea eax, [ebp - 0x210]
mov ebx, esi
push eax
push 0x439dc8
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x4323e4]
add esp, 0x10
mov eax, ebx
pop esi
pop ebx
leave
ret 8