joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432933
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x499bf8]
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.0042bd3e
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.0042bd3e
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 0x4329aa
cmp word [ecx], dx
je 0x4329aa
mov eax, dword [0x486fac]
push edi
dec eax
push eax
push 0x486e98
call fcn.004328d2
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x432a1d
cmp word [eax], dx
je 0x432a1d
mov eax, dword [edi]
test eax, eax
je 0x4329ce
cmp word [eax], dx
je 0x4329ce
lea eax, [ebp - 0x10]
push eax
call fcn.004322b5
jmp 0x4329d7
lea eax, [ebp - 0x10]
push eax
call fcn.00432350
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x432a47
mov eax, dword [0x486e94]
push dword [ebp - 0x14]
dec eax
push eax
push 0x486b88
call fcn.004328d2
add esp, 0xc
test al, al
je 0x432a47
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x432a12
cmp word [eax], di
je 0x432a12
lea eax, [ebp - 0x10]
push eax
call fcn.004322b5
pop ecx
jmp 0x432a49
lea eax, [ebp - 0x10]
push eax
call fcn.00432350
jmp 0x432a0f
mov eax, dword [edi]
test eax, eax
je 0x432a34
cmp word [eax], dx
je 0x432a34
lea eax, [ebp - 0x10]
push eax
call fcn.0043224c
pop ecx
jmp 0x432a47
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 0x432b12
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00432757
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x432b12
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x432b12
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x432b12
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x432a9f
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0042d68d
test ebx, ebx
je 0x432b0d
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0042d68d
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x432b12
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 0x432b12
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.004393ef
add esp, 0x10
xor eax, eax
inc eax
jmp 0x432b14
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042748f
leave
ret
Function at 0x43379f
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 0x43383c
push ebx
push esi
call fcn.0043375b
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.004339d1
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4337e9
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x43383b
push edi
push eax
call fcn.0042c54e
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x433809
call fcn.0042b583
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x43383a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004339d1
add esp, 0x20
test eax, eax
jne 0x433828
push edi
call fcn.0042b583
jmp 0x433830
push ebx
call fcn.0042b583
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 0x43383f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x433850
pop esi
ret
push ebx
push edi
push esi
call fcn.0043375b
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0042c54e
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x433878
push ebx
push esi
push edi
call fcn.0043cb70
add esp, 0xc
push 0
call fcn.0042b583
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x4341a6
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00433c9d
Function at 0x43b294
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x49dd20]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x43b2d4
cmp byte [ebx], 0xa
jne 0x43b2d4
or byte [edi + eax + 0x28], 4
jmp 0x43b2d9
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x43b3d8
mov dl, byte [eax]
cmp dl, 0x1a
je 0x43b3bb
inc eax
cmp dl, 0xd
je 0x43b305
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x43b32b
cmp eax, ecx
jae 0x43b339
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x43b2ed
jmp 0x43b3d8
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43b3b6
cmp dword [ebp - 0x10], 0
je 0x43b3b6
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x49dd20]
test byte [eax + edi + 0x28], 0x48
je 0x43b390
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x43b37b
mov byte [esi], dl
jmp 0x43b38c
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x49dd20]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x43b3d8
cmp byte [ebp - 1], 0xa
jne 0x43b39f
cmp esi, ebx
jne 0x43b39f
mov byte [esi], 0xa
jmp 0x43b3d7
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0043c31e
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x43b3d8
mov byte [esi], 0xd
jmp 0x43b3d7
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x49dd20]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x43b3d5
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x43b3d8
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x43b3e1
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 + 0x49dd20]
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 0x43b427
cmp word [ebx], dx
jne 0x43b427
or byte [eax + edi + 0x28], 4
jmp 0x43b42c
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 0x43b58f
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 0x43b56f
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x43b46d
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x43b4a3
cmp eax, edx
jae 0x43b4b1
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 0x43b448
jmp 0x43b58f
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 0x43b56a
cmp dword [ebp - 0x18], 0
je 0x43b56a
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x49dd20]
test byte [eax + edi + 0x28], 0x48
je 0x43b540
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 0x43b504
mov word [esi], cx
jmp 0x43b53b
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x49dd20]
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 + 0x49dd20]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x49dd20]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x43b58f
pop eax
cmp word [ebp - 4], ax
jne 0x43b550
cmp esi, ebx
jne 0x43b550
mov word [esi], ax
jmp 0x43b58c
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0043c31e
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x43b58f
push 0xd
pop eax
jmp 0x43b54b
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x49dd20]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x43b589
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x43b58f
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 0x44983b
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
push edi
push dword [esp + 0x54]
push dword [0x49faf0]
call fcn.0046171b
mov esi, eax
test esi, esi
je 0x4498f2
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebp, ebp
push ebp
push dword [esp + 0x5c]
push 0x419
push dword [esi]
call edi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4498f2
lea eax, [esp + 0x10]
push eax
push ebx
push 0x41d
push dword [esi]
call edi
mov dword [esp + 0x20], 0x30
mov dword [esp + 0x24], 0x10
mov eax, dword [esi]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x20]
push eax
push ebp
push 0x433
mov dword [esp + 0x38], ebx
mov dword [esp + 0x4c], ebp
push dword [esi + 4]
call edi
lea eax, [esp + 0x20]
push eax
push ebp
push 0x432
push dword [esi + 4]
call edi
xor eax, eax
inc eax
jmp 0x4498f4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 0xc

Function at 0x4499bc
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push esi
lea eax, [esp + 8]
xor esi, esi
push eax
push esi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
je 0x449a57
push edi
push 0x49fafc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x49e084]
test edi, edi
je 0x449a2a
push ebp
push esi
lea ebp, [edi + 8]
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x449a23
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi]
push ebp
push 0x49e084
call fcn.00461eac
pop ecx
pop ecx
jmp 0x449a25
mov edi, dword [edi]
test edi, edi
jne 0x4499f8
pop ebp
mov esi, dword [0x49a470]
push 0x10
push 0x49e084
lea eax, [esi + 1]
mov dword [0x49a470], eax
call fcn.00461eec
pop ecx
pop ecx
push 0x49fafc
mov dword [eax], ebx
mov dword [eax + 4], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret 8
Function at 0x44a887
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x44a8dc
push dword [esp + 0x10]
push 0x44a806
call dword [sym.imp.USER32.dll_EnumWindows]
mov edi, dword [0x49e2a0]
test edi, edi
je 0x44a935
xor esi, esi
mov ebx, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi + 8], eax
jne 0x44a8d4
cmp byte [edi + 0x10], 0
je 0x44a8d4
push 3
push esi
push esi
push esi
push esi
push 0xfffffffffffffffe
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, ebx
test ebx, ebx
jne 0x44a8b0
jmp 0x44a935
mov edi, dword [0x49e2a0]
test edi, edi
je 0x44a935
xor esi, esi
push ebp
mov ebp, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi + 8], eax
jne 0x44a92e
cmp byte [edi + 0x11], 0
je 0x44a907
push 1
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [edi + 0x10], 0
je 0x44a91e
push 3
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [edi + 8]
push eax
push 0x49e2a0
call fcn.00461eac
pop ecx
pop ecx
mov edi, ebp
test ebp, ebp
jne 0x44a8e9
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x44afec
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
push dword [0x49fb30]
call fcn.0046157b
mov esi, eax
or ebx, 0xffffffff
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebp, dword [esp + 0x28]
mov edx, eax
movzx ecx, word [edx]
test cx, cx
je 0x44b129
mov eax, dword [esi]
mov edi, ecx
mov esi, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0x20
push 0x22
pop ecx
movzx eax, di
cmp di, word [esp + 0x18]
jne 0x44b052
push 0x20
pop edi
add edx, 2
movzx eax, word [edx]
cmp ax, di
je 0x44b047
mov dword [esp + 0x14], 1
cmp ax, cx
jne 0x44b08c
add edx, 2
mov edi, edx
movzx eax, word [edx]
mov ebx, eax
test ax, ax
je 0x44b0e6
push 0x22
mov ecx, eax
pop esi
movzx ebx, cx
cmp cx, si
je 0x44b0e6
add edx, 2
movzx eax, word [edx]
mov ecx, eax
mov ebx, eax
test ax, ax
jne 0x44b073
jmp 0x44b0e6
test ax, ax
je 0x44b0f9
push 0x20
mov edi, edx
movzx eax, ax
pop ebp
movzx ebx, ax
cmp ax, bp
je 0x44b0e2
add edx, 2
push 0x22
pop ebx
movzx eax, word [edx]
mov ecx, eax
cmp ax, bx
jne 0x44b0d7
add edx, 2
movzx eax, word [edx]
mov ecx, eax
test ax, ax
je 0x44b0d7
mov esi, eax
movzx ecx, si
cmp si, bx
je 0x44b0d7
add edx, 2
movzx eax, word [edx]
mov esi, eax
mov ecx, eax
test ax, ax
jne 0x44b0c0
movzx eax, cx
movzx ebx, cx
test cx, cx
jne 0x44b099
mov ebp, dword [esp + 0x28]
test bx, bx
lea eax, [edx + 2]
mov ebx, dword [esp + 0x10]
mov esi, edx
cmove eax, edx
mov edx, eax
jmp 0x44b100
and dword [esp + 0x14], 0
xor edi, edi
cmp dword [esp + 0x1c], ebx
jne 0x44b10a
test ebp, ebp
jne 0x44b131
cmp dword [esp + 0x14], 0
lea eax, [ebx + 1]
movzx ecx, word [edx]
cmove eax, ebx
mov edi, ecx
mov ebx, eax
mov dword [esp + 0x10], ebx
test cx, cx
jne 0x44b037
test ebp, ebp
jne 0x44b146
mov eax, ebx
jmp 0x44b14c
test edi, edi
je 0x44b146
mov eax, dword [esp + 0x20]
sub esi, edi
sar esi, 1
mov dword [ebp], esi
inc dword [eax]
mov eax, edi
jmp 0x44b14c
and dword [ebp], 0
mov eax, edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x44b307
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, 0x1000
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebp, ebp
cmp dword [esp + 0x24], 0x18
mov ebx, eax
je 0x44b3c6
cmp dword [esp + 0x24], 2
je 0x44b3c6
push 0x2000
push ebp
push dword [0x49cc1c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
jmp 0x44b395
cmp dword [esp + 0x18], 2
jne 0x44b3b1
cmp dword [esp + 0x28], 0xffffffff
je 0x44b359
cmp ebp, dword [esp + 0x28]
jae 0x44b3b1
add ebp, 2
test ebx, ebx
jne 0x44b37e
lea eax, [edi*2 + 0x2000]
push eax
push esi
push 8
push dword [0x49cc1c]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
mov ebx, 0x1000
mov ax, word [esp + 0x14]
cmp ax, 0xa
je 0x44b3b1
cmp ax, 0xd
je 0x44b395
mov word [esi + edi*2], ax
inc edi
dec ebx
push 0
lea eax, [esp + 0x1c]
push eax
push 2
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44b345
push dword [esp + 0x2c]
xor eax, eax
push esi
mov word [esi + edi*2], ax
call fcn.00462b00
jmp 0x44b458
push eax
push 0
push dword [0x49cc1c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp dword [esp + 0x28], 0xffffffff
je 0x44b3e4
cmp ebp, dword [esp + 0x28]
jae 0x44b43c
push 0
lea eax, [esp + 0x1c]
push eax
push 1
lea eax, [esp + 0x1f]
push eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44b43c
cmp dword [esp + 0x18], 1
jne 0x44b43c
inc ebp
test ebx, ebx
jne 0x44b429
lea eax, [edi + 0x1000]
push eax
push esi
push 8
push dword [0x49cc1c]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
mov ebx, 0x1000
mov al, byte [esp + 0x13]
cmp al, 0xa
je 0x44b43c
cmp al, 0xd
je 0x44b3d7
mov byte [esi + edi], al
inc edi
dec ebx
jmp 0x44b3d7
cmp dword [esp + 0x24], 0x18
push dword [esp + 0x2c]
mov byte [esi + edi], 0
push esi
jne 0x44b453
call fcn.00462b50
jmp 0x44b458
call fcn.00462ce0
push esi
push 0
push dword [0x49cc1c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x10
Function at 0x44ccff
Capabilities:
Get graphical window text

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
xor edi, edi
push edi
push edi
push 0x147
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
or eax, 0xffffffff
cmp ebx, eax
je 0x44cd8e
push 0xfffffffffffffff0
push dword [ebp]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 1
jne 0x44cd8e
push esi
push dword [ebp]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
lea ecx, [esi*2 + 2]
push ecx
push edi
push dword [0x49cc1c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
lea ecx, [esi + 1]
push ecx
xor eax, eax
push edi
mov word [edi], ax
push dword [ebp]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push edi
or esi, 0xffffffff
push esi
push 0x158
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0
push dword [0x49cc1c]
cmp eax, esi
cmove ebx, esi
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
mov eax, ebx
pop ebp
cdq
pop ebx
ret 4

Function at 0x44f33b
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 8]
push dword [0x49fb80]
call fcn.0046171b
mov ebx, eax
test ebx, ebx
je 0x44f39f
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x44f364
push dword [esp + 0xc]
push ebx
call eax
jmp 0x44f39f
push esi
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push dword [esp + 0x14]
mov edi, eax
push edi
call fcn.00462360
mov esi, eax
lea ecx, [edi + 1]
push ecx
xor eax, eax
push esi
mov word [esi], ax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
call fcn.00431db2
pop ecx
sub edi, eax
push edi
call fcn.004623f0
pop edi
pop esi
pop ebx
ret 8
Function at 0x4554de
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4bc
lea eax, [ebp - 0x208]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov eax, dword [ebp + 8]
or eax, 0x4000
push eax
push 0x2b4
lea eax, [ebp - 0x4bc]
push eax
push 0
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
leave
ret 4
Function at 0x4557e9
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [0x49f390], 0
jne 0x4558ba
push ebx
push ebp
push esi
xor ebp, ebp
inc ebp
push 0x49fb8c
mov dword [0x49f390], ebp
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov eax, 0x640
push eax
push 8
push dword [0x49cc1c]
mov dword [0x49f854], eax
mov dword [0x49f394], 0x1f4
call esi
mov dword [0x49f864], eax
mov eax, dword [0x49f394]
add eax, eax
push eax
push 8
push dword [0x49cc1c]
call esi
xor ebx, ebx
mov dword [0x49f860], eax
push 0x49f870
mov dword [0x49f858], ebx
mov dword [0x49f85c], ebp
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push ebp
push ebx
call esi
push ebx
push ebx
push ebp
push ebx
mov dword [0x49f888], eax
call esi
mov dword [0x49f88c], eax
cmp dword [0x49f888], ebx
je 0x4558b1
test eax, eax
je 0x4558b1
lea eax, [esp + 0xc]
mov dword [0x49f868], ebx
push eax
push ebx
push ebx
push 0x4552c7
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x49f86c], eax
jmp 0x4558b7
mov dword [0x49f868], ebp
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x455b9b
Capabilities:
Check os version

Disassembly:
sub esp, 0x34c
push ebp
push esi
push edi
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x114
push eax
mov esi, 0xc8
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x455d04
mov eax, dword [esp + 0x1c]
sub eax, 1
je 0x455ce7
sub eax, 1
jne 0x455d04
lea eax, [esp + 0x120]
xor edi, edi
push eax
call fcn.00455b54
pop ecx
test eax, eax
je 0x455c12
cmp byte [esp + 0x23a], 1
mov ecx, dword [esp + 0x124]
mov eax, dword [esp + 0x128]
mov ebp, dword [esp + 0x12c]
jne 0x455c48
inc edi
jmp 0x455c48
lea eax, [esp + 0x23c]
mov dword [esp + 0x23c], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x455d04
mov ecx, dword [esp + 0x10]
xor edx, edx
mov eax, dword [esp + 0x14]
inc edx
cmp byte [esp + 0x356], dl
cmove edi, edx
sub ecx, 3
je 0x455ce3
sub ecx, 1
je 0x455cdf
sub ecx, 1
je 0x455cc1
sub ecx, 1
je 0x455c85
sub ecx, 4
jne 0x455d04
test eax, eax
jne 0x455d04
cmp ebp, 0x55f0
sbb esi, esi
and esi, 0xfffffff6
add esi, 0x78
jmp 0x455d04
sub eax, 0
je 0x455cb4
sub eax, 1
je 0x455ca7
sub eax, 1
je 0x455ca0
sub eax, 1
jne 0x455d04
push 0x69
pop esi
push 0x64
jmp 0x455cb9
push 0x5a
pop esi
push 0x5f
jmp 0x455cac
push 0x50
pop esi
push 0x55
test edi, edi
pop eax
cmove esi, eax
jmp 0x455d04
push 0x4b
pop esi
push 0x46
test edi, edi
pop eax
cmovne esi, eax
jmp 0x455d04
sub eax, 0
je 0x455cdb
sub eax, 1
je 0x455cd7
sub eax, 1
jne 0x455d04
push 0x41
pop esi
push 0x3c
jmp 0x455cb9
push 0x3c
jmp 0x455d03
push 0x32
jmp 0x455d03
push 0x14
jmp 0x455d03
push 5
jmp 0x455d03
mov eax, dword [esp + 0x14]
test eax, eax
je 0x455d01
cmp eax, 0xa
je 0x455cfd
cmp eax, 0x5a
jne 0x455d04
push 0x28
jmp 0x455d03
push 0x1e
jmp 0x455d03
push 0xa
pop esi
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x34c
ret