joyce8/EMBER2024-capa huggingface dataset:
Function at 0x473720
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4737c3
test eax, eax
jbe 0x4737c3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4737c3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x47376e
xor esi, esi
jmp 0x473774
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x47379f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0041fa10
add esi, eax
push esi
mov ebx, esi
call fcn.0041fa10
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x473780
pop ebp
test edi, edi
pop edi
jne 0x4737c3
test ebx, ebx
je 0x4737c3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00489d40
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x473905
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x473a1d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x473a1d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004b8775
mov esi, eax
test esi, esi
je 0x473a1d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x473a1d
mov ecx, esi
call fcn.00473870
cmp edi, eax
jge 0x473a1d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4739a3
mov dword [esp + 0x34], 1
jmp 0x4739fe
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x473a1d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00472090
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x47e070
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x47e0bc
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x47e0bc
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x47e0a6
push eax
call ebp
test ax, ax
jl 0x47e0b4
inc esi
add edi, 4
cmp esi, 6
jb 0x47e098
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.0047dd70
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x481bd0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x481c30
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x481c30
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x481c30
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x481c30
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x481c40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x485de0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9710
push 0x48b304
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
rdtsc
mov esi, eax
mov edi, edx
call ebx
rdtsc
pop ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xffffffff
xor esi, esi
mov edi, dword [ebp - 0x20]
push 1
push esi
push esi
mov eax, dword [ebp - 0x28]
push eax
call fcn.00489330
sub eax, esi
sbb edx, edi
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sbb edx, esi
mov ecx, dword [ebp - 0x24]
add eax, ecx
adc edx, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x485f90
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x9c
push eax
call esi
test eax, eax
jne 0x485fd1
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x94
push ecx
call esi
test eax, eax
je 0x48603e
cmp dword [esp + 0x1c], 2
jne 0x48603e
cmp dword [esp + 0x10], 5
jne 0x48603e
cmp dword [esp + 0x14], 1
jne 0x48603e
push str.kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x486028
push str.IsWow64Process
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x486019
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
jmp 0x486021
mov dword [esp + 8], 0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 8]
test eax, eax
je 0x48603e
pop edi
mov eax, 1
pop esi
add esp, 0xa0
ret
pop edi
xor eax, eax
pop esi
add esp, 0xa0
ret
Function at 0x486bd0
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2820
call fcn.00489c20
mov eax, dword [esp + 0x2824]
push ebx
push esi
push edi
push eax
lea ecx, [esp + 0x20]
push str..PhysicalDrive_d
push ecx
call fcn.0048aee8
add esp, 0xc
lea edx, [esp + 0x1c]
push 0
push 0
push 3
push 0
push 3
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x486d7d
xor eax, eax
mov ecx, 0x9c4
mov dword [esp + 0x10], eax
lea edi, [esp + 0x11c]
mov dword [esp + 0x14], eax
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push eax
push ecx
lea edx, [esp + 0x124]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push 0x2710
push edx
lea eax, [esp + 0x20]
push 0xc
push eax
push 0x2d1400
push esi
mov dword [esp + 0x2c], 0
call ebx
test eax, eax
je 0x486d7d
mov ecx, dword [esp + 0x283c]
mov edx, dword [esp + 0x128]
push ecx
push 0
lea eax, [esp + 0x124]
push edx
push eax
call fcn.00486d90
mov ecx, dword [esp + 0x2848]
mov edx, dword [esp + 0x13c]
push ecx
push 0
lea eax, [esp + 0x134]
push edx
push eax
call fcn.00486d90
mov ecx, dword [esp + 0x2860]
mov edx, dword [esp + 0x150]
push ecx
push 0
lea eax, [esp + 0x144]
push edx
push eax
call fcn.00486d90
mov ecx, dword [esp + 0x2864]
mov edx, dword [esp + 0x164]
push ecx
push 1
lea eax, [esp + 0x154]
push edx
push eax
call fcn.00486d90
mov ecx, dword [esp + 0x2884]
add esp, 0x40
xor eax, eax
lea edi, [esp + 0x11c]
mov dword [ecx], 1
mov ecx, 0x9c4
lea edx, [esp + 0xc]
push eax
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x124]
push 0x2710
push eax
push 0
push 0
push 0x700a0
push esi
call ebx
test eax, eax
je 0x486d7d
mov edi, dword [esp + 0x124]
mov edx, dword [esp + 0x2848]
mov eax, dword [esp + 0x284c]
xor ecx, ecx
cmp edi, 0xc
push esi
setne cl
inc ecx
mov dword [edx], ecx
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x13c]
mov dword [eax], ecx
mov dword [eax + 4], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x2820
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x2820
ret
Function at 0x4ace80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4c7a30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.004a1f8d
mov eax, dword [0x5a3e40]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.004a1ebf
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.004ad9b0
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x4acf27
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4acf1e
cmp al, 0xff
je 0x4acf1e
dec al
mov byte [ecx], al
jmp 0x4acf27
push ecx
call fcn.004b6ab5
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x4acf58
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4acf4f
cmp al, 0xff
je 0x4acf4f
dec al
mov byte [ecx], al
jmp 0x4acf58
push ecx
call fcn.004b6ab5
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x4b9119
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4b9151
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004b71a6
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004b717e
jmp 0x4b915d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4ba80a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4ba84c
call fcn.004c0757
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4ba84c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4ba843
xor eax, eax
jmp 0x4ba854
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004ba85a
pop edi
pop esi
pop ebx
ret 4

Function at 0x4c0c87
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 0x4c0cb5
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4c0cd3
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004c0bed
jmp 0x4c0cd3
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4c0cd3
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004c0bed
test edi, edi
mov eax, edi
jne 0x4c0cbd
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x42105f
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x44e8a8
call fcn.00422e90
call main
movzx esi, ax
push 2
call main
pop ecx
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x420f16
xor ebx, ebx
jmp 0x420f49
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x420f12
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x420f12
xor ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x420f49
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.004279ab
test eax, eax
jne 0x420f5d
push 0x1c
call main
pop ecx
call fcn.00427918
test eax, eax
jne 0x420f6e
push 0x10
call main
pop ecx
call fcn.00428296
and dword [ebp - 4], 0
call fcn.004279c0
test eax, eax
jns 0x420f88
push 0x1b
call main
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov dword [0x457adc], eax
call main
mov dword [0x455a24], eax
call main
test eax, eax
jns 0x420fae
push 8
call main
pop ecx
call fcn.00427eb1
test eax, eax
jns 0x420fbf
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x420fd2
push eax
call main
pop ecx
call fcn.00428714
push esi
push eax
push 0
push 0x400000
call main
mov esi, eax
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x420ff4
push esi
call main
call fcn.00426cd7
jmp 0x421029
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.00422ed5
ret
call main
jmp 0x420ee8

Function at 0x4233c4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x4233d3
pop dword [ebp - 0x38]
mov eax, 0x4233d3
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x3863f3d
sub dword [ebp - 0x48], 0xb533f9f2
mov dword [ebp - 0x44], 0xd8b9e363
add dword [ebp - 0x44], 0x597968e2
mov dword [ebp - 0x40], 0xbb0558d8
sub dword [ebp - 0x40], 0x6eb914aa
mov dword [ebp - 0x3c], 0x58884015
add dword [ebp - 0x3c], 0xa777bfeb
lea eax, [ebp - 0x48]
push eax
mov eax, 0xd689d97a
sub eax, 0xd646174e
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x678ec59f
sub dword [ebp - 0x48], 0xf31c5c49
mov dword [ebp - 0x44], 0x36706b7c
sub dword [ebp - 0x44], 0xf5040a07
mov dword [ebp - 0x40], 0x9372b2ae
sub dword [ebp - 0x40], 0x30034642
mov dword [ebp - 0x3c], 0x968e2c34
sub dword [ebp - 0x3c], 0x968e2c34
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x49955
push 0
call eax
mov ecx, 0x25522b83
sub ecx, 0x2551da12
mov edi, eax
mov ebx, 0x46bdc5bd
add ebx, 0xb9899043
add ebx, dword [ebp - 0x38]
mov edx, 0x3f268d8e
add dword [ebp - 0x24], 0x6a574baf
mov esi, dword [ebx]
xor dword [ebp - 0x30], 0xd5428935
xor esi, edx
add dword [ebp - 0x20], edi
mov dword [edi], esi
sub dword [ebp - 0x1c], 0x42fa7571
add edi, 4
add ebx, 4
loop 0x4234e5
add eax, 0x9892985c
sub eax, 0x98915fc5
mov ebx, eax
add eax, 0xf28b29c7
add eax, 0xd74d63e
mov ecx, 0x9867881d
sub ecx, 0x9827881d
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x401b70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4414b0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x45b660]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
call fcn.0043d7c0
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.00406bb0
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x3c], 1
call fcn.00419c40
mov ecx, eax
call fcn.00419820
test al, al
jne 0x401c1d
mov eax, dword [esp + 0x20]
test eax, eax
je 0x401bf8
nop
mov ecx, dword [eax + 4]
push eax
mov dword [esp + 0x24], ecx
call fcn.0041bd49
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
jne 0x401be0
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0
call fcn.0043d760
or eax, 0xffffffff
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
test eax, eax
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x98]
jne 0x401c34
or ecx, 0xffffffff
jmp 0x401c42
mov edx, dword [ecx + 4]
add eax, edx
mov dword [ecx + 0x30], eax
mov ecx, dword [eax]
mov eax, dword [esp + 0x14]
test ecx, ecx
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x9c]
setne dl
test eax, eax
jne 0x401c5a
or eax, 0xffffffff
jmp 0x401c64
mov esi, dword [ecx + 4]
add eax, esi
mov dword [ecx + 0x30], eax
mov eax, dword [eax]
neg eax
sbb eax, eax
and eax, 2
xor ecx, ecx
test dl, dl
setne cl
add eax, ecx
mov esi, eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x401c98
mov edi, edi
mov edx, dword [eax + 4]
push eax
mov dword [esp + 0x24], edx
call fcn.0041bd49
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
jne 0x401c80
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0
call fcn.0043d760
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x402150
Capabilities:
Get keyboard layout

Disassembly:
push 0xffffffffffffffff
push 0x4416e6
mov eax, dword fs:[0]
push eax
sub esp, 0x5fc
mov eax, dword [0x45b660]
xor eax, esp
mov dword [esp + 0x5f4], eax
push ebp
push esi
push edi
mov eax, dword [0x45b660]
xor eax, esp
push eax
lea eax, [esp + 0x60c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x61c]
xor ebp, ebp
push 0x18c
lea ecx, [esp + 0x44]
push ebp
push ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x48], ebp
call fcn.0041cd40
add esp, 0xc
lea edx, [esp + 0x3c]
push edx
push 0x64
call dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
mov esi, eax
cmp esi, ebp
mov dword [esp + 0x18], esi
je 0x4022dd
lea ecx, [esp + 0x10]
call fcn.0043d7c0
cmp esi, ebp
mov dword [esp + 0x614], ebp
jle 0x4022d4
mov eax, dword [esp + ebp*4 + 0x3c]
push 0x10
push 0x11
lea ecx, [esp + 0x1d8]
push ecx
push eax
call fcn.0041bcc5
add esp, 0x10
test eax, eax
jne 0x4022c7
mov ecx, 0x19
mov esi, str.SYSTEMCurrentControlSetControlKeyboard_Layouts_
lea edi, [esp + 0x1f4]
rep movsd dword es:[edi], dword [esi]
push 0x1a2
push eax
lea edx, [esp + 0x262]
push edx
movsw word es:[edi], word [esi]
call fcn.0041cd40
lea eax, [esp + 0x1dc]
push eax
lea ecx, [esp + 0x204]
push 0x104
push ecx
call fcn.0041bdd7
add esp, 0x18
push 0x80000002
lea ecx, [esp + 0x24]
call fcn.0043fb70
push 0
lea edx, [esp + 0x1f8]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x620], 1
call fcn.0043f970
test al, al
je 0x4022b6
push str.Ime_File
push 0x104
lea ecx, [esp + 0x404]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x30]
call fcn.0043fae0
test al, al
je 0x4022b6
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x400]
push ecx
call fcn.0041bb45
add esp, 8
test eax, eax
je 0x402306
lea ecx, [esp + 0x20]
mov byte [esp + 0x614], 0
call fcn.0043f7b0
add ebp, 1
cmp ebp, dword [esp + 0x18]
jl 0x4021e1
lea ecx, [esp + 0x10]
call fcn.0043d760
xor eax, eax
mov ecx, dword [esp + 0x60c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x5f4]
xor ecx, esp
call fcn.0041b397
add esp, 0x608
ret
mov ebp, dword [esp + ebp*4 + 0x3c]
lea ecx, [esp + 0x20]
call fcn.0043f7b0
lea ecx, [esp + 0x10]
call fcn.0043d760
mov eax, ebp
jmp 0x4022df
Function at 0x402e00
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x441a58
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x45b660]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov eax, dword [0x45f250]
test eax, eax
jne 0x402e36
call fcn.00401390
mov dword [0x45f250], eax
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x2c]
push edx
mov ecx, eax
call fcn.00413930
push 0
push 0
push 0
push 0
push 0
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x6c], 0
call fcn.0043cb30
lea ecx, [esp + 0x28]
mov byte [esp + 0x54], 2
call fcn.0043bd40
push 0
push 0
push 0
push 0
push 0
push str.RandSkin
lea ecx, [esp + 0x30]
call fcn.0043c1b0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0xc]
call fcn.0043cb10
lea ecx, [esp + 0x18]
call fcn.0043bd40
push 0
lea ecx, [esp + 0xc]
call fcn.0043bd20
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x402ee3
push 0x10000000
push 1
lea ecx, [esp + 0x10]
call fcn.0043bd20
push eax
call fcn.00439900
add esp, 0xc
push 1
lea ecx, [esp + 0xc]
call fcn.0043bd20
push eax
call fcn.004396a0
add esp, 8
push 0
push 0
push 0
push 0
push 0
push 0x450f58
lea ecx, [esp + 0x30]
call fcn.0043c1b0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x10]
mov byte [esp + 0x5c], 3
call fcn.0043d1e0
push eax
mov ecx, esi
call fcn.0043c070
lea ecx, [esp + 0x38]
call fcn.0043bd40
lea ecx, [esp + 0x18]
mov byte [esp + 0x54], 2
call fcn.0043bd40
mov ecx, esi
call fcn.0043bd20
push eax
call fcn.00402b90
add esp, 4
test al, al
jne 0x402f9f
push 0x44c7e4
mov ecx, edi
call fcn.0043db30
mov ecx, eax
call fcn.0043dba0
push 0x44c7f4
mov ecx, edi
call fcn.0043db30
mov ecx, eax
call fcn.0043dba0
push 0x44c808
push 0x450c64
mov ecx, eax
call fcn.0043dba0
mov ecx, eax
call fcn.0043dba0
lea ecx, [esp + 8]
call fcn.0043bd40
xor al, al
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
add esp, 0x54
ret
lea ecx, [esp + 8]
call fcn.0043bd40
mov al, 1
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
add esp, 0x54
ret
Function at 0x403210
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x68
push ebx
push ebp
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
xor ebp, ebp
cmp eax, ebp
je 0x403255
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x20], ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x403255
push 2
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_MonitorFromRect]
cmp eax, ebp
jne 0x403286
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
jne 0x403274
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 2
push ecx
push edx
call dword [sym.imp.USER32.dll_MonitorFromPoint]
lea ecx, [esp + 0x48]
push ecx
push eax
mov dword [esp + 0x50], 0x28
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x4032c0
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esi], edx
mov edx, dword [esp + 0x68]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
pop edi
pop ebp
pop ebx
add esp, 0x68
ret
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebp
call edi
push 1
mov ebx, eax
call edi
xor ecx, ecx
xor edx, edx
mov dword [esi], ecx
mov dword [esi + 4], edx
push ebp
mov dword [esi + 8], ebx
push str.Shell_TrayWnd
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ebx
mov dword [esi + 0xc], eax
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebp
je 0x403330
lea ecx, [esp + 0x38]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.USER32.dll_SubtractRect]
pop edi
pop ebp
pop ebx
add esp, 0x68
ret