joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e5a2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x46eda0]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x43e5e8
cmp word [ebx], dx
jne 0x43e5e8
or byte [eax + edi + 0x28], 4
jmp 0x43e5ed
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x43e750
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x43e730
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x43e62e
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x43e664
cmp eax, edx
jae 0x43e672
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x43e609
jmp 0x43e750
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43e72b
cmp dword [ebp - 0x18], 0
je 0x43e72b
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x46eda0]
test byte [eax + edi + 0x28], 0x48
je 0x43e701
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x43e6c5
mov word [esi], cx
jmp 0x43e6fc
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x46eda0]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x46eda0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x46eda0]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x43e750
pop eax
cmp word [ebp - 4], ax
jne 0x43e711
cmp esi, ebx
jne 0x43e711
mov word [esi], ax
jmp 0x43e74d
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0043efdb
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x43e750
push 0xd
pop eax
jmp 0x43e70c
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x46eda0]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x43e74a
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x43e750
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x442d5f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x442dfc
push ebx
push esi
call fcn.00442d28
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00441c2b
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x442da9
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x442dfb
push edi
push eax
call fcn.004398a6
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x442dc9
call fcn.00439233
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x442dfa
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00441c2b
add esp, 0x20
test eax, eax
jne 0x442de8
push edi
call fcn.00439233
jmp 0x442df0
push ebx
call fcn.00439233
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x4456ef
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00438e79
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x44575e
cmp esi, dword [ebp - 4]
je 0x445759
cmp dword [ebp + 0xc], 0
je 0x445759
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x445736
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0044522c
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x445760
xor eax, eax
inc eax
jmp 0x445760
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x4457c5
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x46d080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00438e79
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00438e79
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x44583c
cmp word [ecx], dx
je 0x44583c
mov eax, dword [0x457744]
push edi
dec eax
push eax
push 0x457630
call fcn.00445764
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4458af
cmp word [eax], dx
je 0x4458af
mov eax, dword [edi]
test eax, eax
je 0x445860
cmp word [eax], dx
je 0x445860
lea eax, [ebp - 0x10]
push eax
call fcn.00445132
jmp 0x445869
lea eax, [ebp - 0x10]
push eax
call fcn.004451cd
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x4458d9
mov eax, dword [0x45762c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x457320
call fcn.00445764
add esp, 0xc
test al, al
je 0x4458d9
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x4458a4
cmp word [eax], di
je 0x4458a4
lea eax, [ebp - 0x10]
push eax
call fcn.00445132
pop ecx
jmp 0x4458db
lea eax, [ebp - 0x10]
push eax
call fcn.004451cd
jmp 0x4458a1
mov eax, dword [edi]
test eax, eax
je 0x4458c6
cmp word [eax], dx
je 0x4458c6
lea eax, [ebp - 0x10]
push eax
call fcn.004450e7
pop ecx
jmp 0x4458d9
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x4459a4
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.004455e9
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4459a4
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x4459a4
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x4459a4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x445931
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0043da0b
test ebx, ebx
je 0x44599f
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0043da0b
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4459a4
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4459a4
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0043b6c7
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4459a6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00425735
leave
ret
Function at 0x44a205
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0044a181
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x44a374
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x44a374
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x44a329
jg 0x44a261
test eax, eax
je 0x44a31f
push 1
push 0x1000
call fcn.004389a2
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x44a284
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x44a316
push 0x8000
push ebx
call fcn.0043697e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x44a2ad
jg 0x44a2a8
cmp ecx, 0x1000
jb 0x44a2ad
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0043cbb3
add esp, 0x10
cmp eax, 0xffffffff
je 0x44a2f2
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x44a2a8
jl 0x44a2d9
test ecx, ecx
jne 0x44a29a
push dword [ebp - 0xc]
push ebx
call fcn.0043697e
push esi
call fcn.00439233
add esp, 0xc
xor ebx, ebx
jmp 0x44a382
cmp byte [edi + 0x24], 0
je 0x44a309
cmp dword [edi + 0x20], 5
jne 0x44a309
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x44a314
mov ebx, dword [edi + 0x18]
jmp 0x44a316
xor ebx, ebx
push esi
call fcn.00439233
pop ecx
jmp 0x44a382
test ecx, ecx
jg 0x44a2eb
jl 0x44a329
test eax, eax
jae 0x44a2eb
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0043efdb
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x44a349
cmp byte [edi + 0x1c], 0
je 0x44a2eb
jmp 0x44a37a
push ebx
call fcn.00443766
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x44a2eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x44a382
cmp byte [edi + 0x1c], 0
je 0x44a37f
mov ebx, dword [edi + 0x18]
jmp 0x44a382
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0043efdb
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44a8a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44a8cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44a8cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40c7d3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x40c88b
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x40c831
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0040c8b0
add esp, 0xc
jmp 0x40c889
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x40c866
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x40c889
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x40c889
push 0x1b6a
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x40c8ac
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
push 1
push 0x1c3c
push dword [ebp - 0x40]
push dword [ebp - 0x44]
call fcn.0040c067
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x40f179
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x40f24a
lea eax, [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x40f1d2
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
push 1
push 0x46d1
push dword [ebp - 0x10]
push 0x2b2c
call fcn.0040f27c
add esp, 0x10
jmp 0x40f248
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x40f1fd
push 0x1b6a
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x40f248
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x40f22b
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x40f248
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x34]
call fcn.00433338
mov dword [eax], 0x4d07ddbf
jmp 0x40f220
jmp 0x40f278
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x44], eax
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push 0
call fcn.0040ef87
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x40f408
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x40f4b5
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 4], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x40f47d
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x40f467
push 0x1b6a
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x40f47b
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
and dword [eax], 0
jmp 0x40f4b3
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
push 0x1bef
push 0
push 1
push 0x11e1
push 1
push 0x13cd
push dword [ebp - 0x28]
push 0
push dword [ebp - 0x2c]
push 0x714a
call fcn.0040c3b2
add esp, 0x28
jmp 0x40f4bd
push 1
call fcn.00408f0d
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x417e4c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x417f63
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x417eca
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x417eb1
push 0x1a6f
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x417ec5
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x417ec5
push 0
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x417f61
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x417f16
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x417f61
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x417f44
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 1
jge 0x417f61
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x58]
call fcn.00433338
mov dword [eax], 0x78ac
jmp 0x417f39
jmp 0x417f8b
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x60], eax
push 1
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push 1
push 0x1ff
push 0x3f76
call fcn.0040bb3e
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x419652
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x41975c
lea eax, [ebp + 0x1c]
mov dword [ebp - 8], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x4196cf
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x4196c4
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x4196c2
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CreateEnhMetaFileW]
jmp 0x4196ca
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
jmp 0x41975a
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x419733
mov dword [ebp - 0x24], 0x399841b3
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x2c], 0xffffffff
push 1
lea eax, [ebp - 0x24]
push eax
push 0x6c06
push 0x8e
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x4e98
push 0x6e20
push 0
push 0x4142
call fcn.004093be
add esp, 0x28
jmp 0x41975a
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x10]
mov dword [ecx], eax
jmp 0x4197a3
lea eax, [ebp + 0x20]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x419776
push 0
call fcn.0040bc95
pop ecx
jmp 0x4197a3
push 0x20f8
push 0x2591
push 1
push 1
push 0x2dc2
push 0x1a09
push 0x6c9b
push 0
push 0x38
push 1
push 0
call fcn.00419d2b
add esp, 0x2c
mov esp, ebp
pop ebp
ret
Function at 0x41b634
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
movzx eax, byte [ebp + 8]
test eax, eax
je 0x41b773
lea eax, [ebp + 0x14]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x41b752
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x41b6e9
mov dword [ebp - 8], 0xe2799ac7
mov dword [ebp - 0x28], 0xb7cefa9d
mov dword [ebp - 0x24], 0x289a6957
mov dword [ebp - 8], 0
jmp 0x41b695
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x13
jne 0x41b6e7
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x2c], 0xfffffff9
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x41b6bf
push 0
push 0
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 0x20], 0
je 0x41b6d4
cmp dword [ebp - 0x24], 0
je 0x41b6d4
mov dword [ebp - 0x10], 1
jmp 0x41b6d8
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x28]
imul ecx, dword [ebp - 0x10], 0
imul eax, ecx
mov dword [ebp - 0x2c], eax
jmp 0x41b68e
jmp 0x41b750
push 2
lea ecx, [ebp - 0x40]
call fcn.0043324a
mov dword [ebp - 0x30], 0x57976326
mov dword [ebp - 0xc], 0
jmp 0x41b70a
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jge 0x41b720
push dword [ebp - 0xc]
lea ecx, [ebp - 0x40]
call fcn.00433338
and dword [eax], 0
jmp 0x41b703
lea eax, [ebp - 0x30]
push eax
push 0x7b1a
push 0x692c
push 0
push 1
lea eax, [ebp - 0x40]
push eax
push 0xd25
push 0x2efb
call fcn.0042f91a
add esp, 0x20
lea ecx, [ebp - 0x40]
call fcn.0043331c
jmp 0x41b771
push 0x5fbd
push 0x1265
push 0xdee
push 1
push 1
push 1
push 0
call fcn.00409791
add esp, 0x1c
jmp 0x41b797
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
push 1
push 0x83a
push dword [ebp - 0x34]
push 0
push 0x1de5
push 0x6267
call fcn.004313b2
add esp, 0x18
mov esp, ebp
pop ebp
ret