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

Disassembly:
sub esp, 0xc
push 0x4000
call fcn.004b00f7
add esp, 4
mov dword [esp], eax
test eax, eax
jne 0x437f72
mov eax, 4
add esp, 0xc
ret 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
xor ebx, ebx
xor esi, esi
push edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x18], esi
mov eax, edi
and eax, ebp
cmp eax, 0xffffffff
je 0x437fa1
cmp esi, ebp
ja 0x438062
jb 0x437fa1
cmp ebx, edi
jae 0x438062
call fcn.0044c9d0
cmp byte [0x5072fc], 0
je 0x437fb8
cmp byte [0x51b848], 0
jne 0x438026
mov ecx, edi
and ecx, ebp
cmp ecx, 0xffffffff
je 0x437fdd
mov ecx, edi
sub ecx, ebx
mov eax, ebp
sbb eax, esi
test eax, eax
ja 0x437fdd
jb 0x437fd7
cmp ecx, 0x4000
jae 0x437fdd
mov eax, edi
sub eax, ebx
jmp 0x437fe2
mov eax, 0x4000
mov edx, dword [esp + 0x20]
push edx
push eax
mov eax, dword [esp + 0x18]
push 1
push eax
call fcn.004b2cda
mov esi, eax
add esp, 0x10
test esi, esi
je 0x438035
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
push ecx
push esi
push 1
push edx
call fcn.004b29b8
add esp, 0x10
cmp eax, esi
jne 0x43807b
add ebx, esi
adc dword [esp + 0x18], 0
mov esi, dword [esp + 0x18]
jmp 0x437f86
pop edi
pop esi
pop ebp
mov eax, 9
pop ebx
add esp, 0xc
ret 0x10
mov eax, dword [esp + 0x20]
push eax
call fcn.004b2822
add esp, 4
test eax, eax
je 0x438062
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004b01c1
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0xc
ret 0x10
mov edx, dword [esp + 0x10]
push edx
call fcn.004b01c1
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 0x10
mov eax, dword [esp + 0x10]
push eax
call fcn.004b01c1
mov eax, dword [0x5087c8]
add esp, 4
test eax, eax
je 0x4380a1
push eax
push 0
push eax
push 0
mov ecx, 0x5072f4
call fcn.0042d130
pop edi
pop esi
pop ebp
mov eax, 0xa
pop ebx
add esp, 0xc
ret 0x10
Function at 0x438790
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4c339b
mov eax, dword fs:[0]
push eax
mov eax, 0x1434
call fcn.004b0000
mov eax, dword [0x4d98f0]
xor eax, esp
mov dword [esp + 0x1430], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d98f0]
xor eax, esp
push eax
lea eax, [esp + 0x1448]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x145c]
mov ebp, dword [esp + 0x1458]
mov dword [esp + 0x18], ebx
mov ecx, ebx
mov eax, ebp
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43880b
test dx, dx
je 0x438807
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43880b
add eax, 4
add ecx, 4
test dx, dx
jne 0x4387e5
xor eax, eax
jmp 0x438810
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4389bc
lea eax, [esp + 0xc44]
push eax
push 0x400
mov byte [esp + 0x1f], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
movzx ecx, word [esp + 0xc44]
push ecx
call fcn.004b14d1
add esp, 4
cmp word [esp + 0xc44], 0x5c
mov edi, eax
je 0x438894
movzx eax, word [ebx]
cmp ax, 0x5c
je 0x438894
cmp word [ebp], 0x5c
je 0x438894
movzx edx, ax
push edx
call fcn.004b14d1
mov esi, eax
movzx eax, word [ebp]
push eax
call fcn.004b14d1
mov ecx, 0x3a
add esp, 8
cmp word [ebx + 2], cx
je 0x438883
mov esi, edi
cmp word [ebp + 2], cx
je 0x43888b
mov eax, edi
cmp esi, eax
je 0x438894
mov byte [esp + 0x17], 1
push ebp
call fcn.00435620
test al, al
je 0x4388ef
lea ecx, [esp + 0x1c]
call fcn.004340f0
mov dword [esp + 0x1450], 0
push 1
push ebp
push 0
lea ecx, [esp + 0x28]
call fcn.00434530
test al, al
je 0x438936
lea ecx, [esp + 0x1c]
call fcn.00434170
test al, al
je 0x438936
push ebp
call fcn.00435910
test al, al
je 0x438936
mov dword [esp + 0x1450], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00434500
cmp byte [esp + 0x17], 0
jne 0x43890e
push ebp
push 0
push ebx
push 0
call fcn.00435850
test al, al
sete al
test al, al
je 0x4389bc
push 0x4c8110
push ebx
call fcn.004b2eb0
mov edi, eax
add esp, 8
test edi, edi
jne 0x438951
push ebx
push eax
mov ecx, 0x5072f4
call fcn.0042d280
lea eax, [edi + 0xa]
jmp 0x4389be
mov dword [esp + 0x1450], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00434500
mov eax, 0xf
jmp 0x4389be
push 0x4c8108
push ebp
call fcn.004b2eb0
mov esi, eax
add esp, 8
test esi, esi
jne 0x438973
push edi
call fcn.004b2d6e
add esp, 4
lea eax, [esi + 0xf]
jmp 0x4389be
push 0
mov ecx, 0x5072f4
call fcn.0042ca20
push 0
push 0xffffffffffffffff
push esi
push edi
call fcn.00437f50
push edi
mov ebx, eax
call fcn.004b2d6e
add esp, 4
push 1
mov ecx, 0x5072f4
call fcn.0042ca20
push esi
call fcn.004b2d6e
add esp, 4
test eax, eax
jne 0x4389e8
test ebx, ebx
jne 0x4389e8
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00435910
xor eax, eax
mov ecx, dword [esp + 0x1448]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1430]
xor ecx, esp
call fcn.004affec
add esp, 0x1440
ret 8
push ebp
call fcn.00435910
test ebx, ebx
je 0x4389f9
mov eax, ebx
cmp ebx, 0xa
jne 0x4389be
mov eax, 0xe
jmp 0x4389be
Function at 0x43d100
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x9c]
cmp eax, 0xffffffff
je 0x43d17b
cmp eax, 0x40
jbe 0x43d129
lea eax, [esi + 0x40]
push eax
push esi
call fcn.0046f2b0
mov dword [esi + 0x9c], 0x14
mov eax, dword [esi + 0x9c]
mov ecx, 0x40
sub ecx, eax
push ecx
add eax, esi
push 0
push eax
call fcn.004b0470
add esp, 0xc
xor eax, eax
jmp 0x43d150
xor dword [esi + eax*4], 0x36363636
inc eax
cmp eax, 0x10
jb 0x43d150
push edi
lea edi, [esi + 0x40]
push edi
call fcn.0046f1f0
push edi
push 0x40
push esi
call fcn.0046f230
mov dword [esi + 0x9c], 0xffffffff
pop edi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x43d192
mov edx, dword [esp + 8]
add esi, 0x40
push esi
push eax
push edx
call fcn.0046f230
pop esi
ret 0xc

Function at 0x43d1a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [0x4d98f0]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
mov ebx, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x2c]
cmp dword [esi + 0x9c], 0xffffffff
je 0x43d1cb
push esi
push 0
push 0
call fcn.0043d100
push edi
lea edi, [esi + 0x40]
push edi
lea eax, [esp + 0x10]
push eax
call fcn.0046f2b0
xor eax, eax
lea esp, [esp]
xor dword [esi + eax*4], 0x6a6a6a6a
inc eax
cmp eax, 0x10
jb 0x43d1e0
push edi
call fcn.0046f1f0
push edi
push 0x40
push esi
call fcn.0046f230
push edi
push 0x14
lea ecx, [esp + 0x14]
push ecx
call fcn.0046f230
push edi
lea edx, [esp + 0x10]
push edx
call fcn.0046f2b0
mov eax, dword [esp + 0x2c]
pop edi
test eax, eax
jbe 0x43d22c
push eax
lea eax, [esp + 0xc]
push eax
push ebx
call fcn.004b04f0
add esp, 0xc
mov ecx, dword [esp + 0x1c]
pop esi
pop ebx
xor ecx, esp
call fcn.004affec
add esp, 0x18
ret 0xc
Function at 0x43ecd0
Capabilities:
Check for time delay via gettickcount
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push esi
push 0x1000000
call fcn.004af997
mov esi, eax
xor ebx, ebx
add esp, 4
cmp esi, ebx
jne 0x43ecf5
pop esi
lea eax, [ebx + 1]
xor edx, edx
pop ebx
add esp, 0xc
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call ebp
mov dword [esp + 0x10], eax
mov edi, 0x800000
call ebp
sub eax, dword [esp + 0x10]
cmp eax, 0xc8
jae 0x43edea
mov ebp, 0x4000
jmp 0x43ed30
and edi, 0xffffff
movzx eax, byte [edi + esi]
and ebx, 0xffffff
mov byte [ebx + esi], al
movzx ecx, al
xor byte [edi + esi], cl
lea eax, [edi - 0x100]
and eax, 0xffffff
movzx edx, byte [eax + esi]
lea ecx, [ebx - 0x100]
and ecx, 0xffffff
mov byte [ecx + esi], dl
movzx edx, dl
xor byte [eax + esi], dl
add eax, 0xffffff00
and eax, 0xffffff
movzx edx, byte [eax + esi]
add ecx, 0xffffff00
and ecx, 0xffffff
mov byte [ecx + esi], dl
movzx edx, dl
xor byte [eax + esi], dl
lea edi, [eax - 0x100]
and edi, 0xffffff
movzx eax, byte [edi + esi]
lea ebx, [ecx - 0x100]
and ebx, 0xffffff
movzx ecx, al
mov byte [ebx + esi], al
xor byte [edi + esi], cl
sub ebx, 0x100
sub edi, 0x100
sub ebp, 1
jne 0x43ed30
dec ebx
dec edi
add dword [esp + 0x14], 1
adc dword [esp + 0x18], ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x10]
cmp eax, 0xc8
jb 0x43ed21
push esi
call fcn.004b0855
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add esp, 4
push 0
push 0x64
push edx
push eax
call fcn.004b0a90
pop edi
pop ebp
add eax, 1
pop esi
adc edx, 0
pop ebx
add esp, 0xc
ret

Function at 0x43ee20
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
inc esi
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004af997
add esp, 4
push esi
mov edi, eax
push edi
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [0x530e98]
push edi
call fcn.0046c810
push edi
call fcn.00482800
push edi
call fcn.004b0855
add esp, 4
pop edi
pop esi
pop ebp
ret 4
Function at 0x43ef50
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1008
call fcn.004b0000
mov eax, dword [0x4d98f0]
xor eax, esp
mov dword [esp + 0x1004], eax
mov eax, dword [esp + 0x100c]
push esi
push edi
push 0
push 0x4c8358
push eax
mov edi, ecx
call fcn.00435dd0
mov esi, eax
test esi, esi
jne 0x43ef8e
lea eax, [esi + 0x32]
jmp 0x43f0d3
xor eax, eax
cmp edi, 0x8000
jbe 0x43f093
push ebx
push ebp
push eax
mov eax, edi
shr eax, 3
add eax, 0x1000
push eax
push esi
call fcn.004b35d1
push esi
push 0x1000
lea ecx, [esp + 0x28]
push 1
push ecx
call fcn.004b2cda
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.0043ea40
mov edx, edi
shr edx, 2
push 0
add edx, 0x1000
push edx
push esi
mov ebx, eax
call fcn.004b35d1
push esi
push 0x1000
lea eax, [esp + 0x28]
push 1
push eax
call fcn.004b2cda
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.0043ea40
lea ecx, [edi + edi]
shr ecx, 2
push 0
add ecx, 0x1000
push ecx
push esi
mov ebp, eax
call fcn.004b35d1
push esi
push 0x1000
lea edx, [esp + 0x28]
push 1
push edx
call fcn.004b2cda
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.0043ea40
mov dword [esp + 0x10], eax
lea eax, [edi + edi*2]
shr eax, 2
push 0
add eax, 0x1000
push eax
push esi
call fcn.004b35d1
push esi
push 0x1000
lea ecx, [esp + 0x28]
push 1
push ecx
call fcn.004b2cda
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.0043ea40
add eax, dword [esp + 0x10]
add eax, ebp
add eax, ebx
cdq
and edx, 3
add eax, edx
mov edi, eax
sar edi, 2
push esi
call fcn.004b2d6e
add esp, 4
pop ebp
mov eax, edi
pop ebx
jmp 0x43f0d3
cmp edi, 0x1000
jbe 0x43f0a3
lea eax, [edi - 0x1000]
shr eax, 1
push 0
push eax
push esi
call fcn.004b35d1
push esi
push 0x1000
lea edx, [esp + 0x20]
push 1
push edx
call fcn.004b2cda
push esi
mov edi, eax
call fcn.004b2d6e
add esp, 0x20
push edi
lea ecx, [esp + 0x10]
call fcn.0043ea40
mov ecx, dword [esp + 0x100c]
pop edi
pop esi
xor ecx, esp
call fcn.004affec
add esp, 0x1008
ret 4

Function at 0x442700
Capabilities:
Get common file path

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea ecx, [esp]
push ecx
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [esp + 0xc]
test eax, eax
sete al
test al, al
je 0x442755
mov eax, dword [esp]
push ebx
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov edx, dword [esp + 4]
cmp eax, 1
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
sete bl
call eax
mov al, bl
pop ebx
add esp, 8
ret 4
xor ecx, ecx
mov word [edx], cx
add esp, 8
ret 4

Function at 0x442760
Capabilities:
Get common file path

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea ecx, [esp]
push ecx
push 0x19
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [esp + 0xc]
mov eax, dword [esp]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [esp + 4]
mov edx, dword [esp]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
add esp, 8
ret 4
Function at 0x4427b0
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file

Disassembly:
sub esp, 0x828
mov eax, dword [0x4d98f0]
xor eax, esp
mov dword [esp + 0x824], eax
push esi
mov esi, dword [esp + 0x830]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4427f2
xor al, al
pop esi
mov ecx, dword [esp + 0x824]
xor ecx, esp
call fcn.004affec
add esp, 0x828
ret 4
push 0x400
push esi
lea eax, [esp + 0x2c]
push eax
call fcn.0046fc70
lea eax, [esp + 0x24]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x442810
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [esp + eax*2 + 0x26], cx
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov dword [esp + 4], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov word [esp + 0x20], ax
lea ecx, [esp + 4]
mov edx, 0x14
lea eax, [esp + 0x24]
push ecx
mov dword [esp + 0xc], 3
mov word [esp + 0x18], dx
mov dword [esp + 0x10], eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [esp + 0x828]
neg eax
sbb eax, eax
pop esi
xor ecx, esp
inc eax
call fcn.004affec
add esp, 0x828
ret 4
Function at 0x444a90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3600
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4d98f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
lea esi, [ebx + 0xa8]
push 1
mov ecx, esi
call fcn.00444970
mov eax, dword [ebx + 0xb4]
lea ecx, [eax*8]
sub ecx, eax
mov edx, dword [esi]
lea esi, [edx + ecx*8]
mov dword [ebp - 0x18], esi
mov edi, dword [ebp + 8]
push edi
mov ecx, ebx
call fcn.004703f0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 0x82c]
mov dword [esi + 4], eax
mov ecx, dword [edi + 0x800]
mov dword [esi + 8], ecx
mov edx, dword [edi + 0x804]
mov dword [esi + 0xc], edx
mov eax, dword [edi + 0x808]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x80c]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 0x810]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x814]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x818]
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 0x81c]
mov dword [esi + 0x24], edx
mov eax, dword [edi + 0x820]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x824]
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0x828]
mov dword [esi + 0x30], edx
mov eax, dword [ebx + 0xb4]
lea ecx, [eax + 1]
mov dword [ebx + 0xb4], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4458d0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x14
push ebx
push esi
push edi
lea eax, [esp + 0xc]
push eax
mov esi, ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi]
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esi]
lea eax, [esp + 0xc]
push eax
push 0
push 0x1012
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call ebx
movzx esi, ax
shr esi, 0xf
push 0x12
and esi, 1
call ebx
movzx edi, ax
shr edi, 0xf
push 0x11
and edi, 1
call ebx
shr eax, 0xf
and eax, 1
test byte [esp + 0x14], 1
jne 0x44594d
test esi, esi
jne 0x44594d
test edi, edi
jne 0x44594d
test eax, eax
jne 0x44594d
pop edi
lea eax, [esi + 1]
pop esi
pop ebx
add esp, 0x14
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x14
ret

Function at 0x445960
Capabilities:
Get file system object information

Disassembly:
sub esp, 0xaec
mov eax, dword [0x4d98f0]
xor eax, esp
mov dword [esp + 0xae8], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
mov esi, ecx
mov eax, dword [esi]
push 0x1004
push eax
call edi
push 0x400
lea ecx, [esp + 0x2f8]
push ecx
mov ebx, eax
call fcn.0048af30
push 0x4001
push 0x2b4
lea edx, [esp + 0x48]
push edx
push 0
lea eax, [esp + 0x304]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x34
lea ecx, [esp + 0x10]
push 0
push ecx
call fcn.004b0470
mov edx, dword [esp + 0x50]
add esp, 0xc
push 0x3d4
mov dword [esp + 0x10], 3
mov dword [esp + 0x2c], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0
call fcn.00466860
mov ecx, dword [esi]
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x104d
push ecx
call edi
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi]
push 0
push ebx
push 0x1076
push eax
mov byte [esi + 0x18], 1
call edi
mov ecx, dword [esp + 0xaf4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004affec
add esp, 0xaec
ret
Function at 0x448250
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x70
mov eax, dword [0x4d98f0]
xor eax, esp
mov dword [esp + 0x6c], eax
push esi
push edi
push 1
push str.ColorAttr
push str.FileList
mov esi, ecx
call fcn.004604a0
test eax, eax
setne al
lea ecx, [esp + 8]
mov byte [esi + 0x920], al
mov edx, dword [0x51b8cc]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [0x5072ec]
mov ecx, dword [0x51b8cc]
push 0
push eax
push 0xb
push ecx
push 0
push 0
push 0
push 0
push 0x44a00249
push 0x4c6d80
push 0x4c6f48
push 0x300
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 1
push str.Detailed
push str.FileList
mov dword [esi], eax
call fcn.004604a0
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 3
push eax
mov ecx, esi
call fcn.00446570
push 1
push str.FullRow
push str.FileList
mov edi, 0x400
call fcn.004604a0
test eax, eax
je 0x448307
mov edi, 0x420
push 0
push str.ShowGrid
push str.FileList
call fcn.004604a0
test eax, eax
je 0x44831f
or edi, 1
push 0
push str.SingleClick
push str.FileList
call fcn.004604a0
test eax, eax
je 0x448360
push 0
push str.Underline
push str.FileList
or edi, 0x48
call fcn.004604a0
cmp eax, 1
jne 0x448355
or edi, 0x800
jmp 0x448360
cmp eax, 2
jne 0x448360
or edi, 0x1000
mov edx, dword [esi]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x1036
push edx
call edi
push 0
push 2
push 0x21
push 0xd
push 0xd
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov ecx, esi
mov dword [esi + 8], eax
call fcn.00445c60
push 0x5c
push 0
lea eax, [esp + 0x20]
push eax
push str.Font
push str.FileList
call fcn.004604c0
cmp word [esp + 0x34], 0
je 0x448435
movzx edx, byte [esp + 0x33]
movzx eax, byte [esp + 0x32]
lea ecx, [esp + 0x34]
push ecx
movzx ecx, byte [esp + 0x35]
push edx
movzx edx, byte [esp + 0x38]
push eax
movzx eax, byte [esp + 0x3b]
push ecx
movzx ecx, byte [esp + 0x3e]
push edx
movzx edx, byte [esp + 0x41]
push eax
movzx eax, byte [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateFontW]
test eax, eax
je 0x448413
push 1
push eax
mov eax, dword [esi]
push 0x30
push eax
call edi
push 0
push str.FontColor
push str.FileList
call fcn.004604a0
test eax, eax
je 0x448435
mov ecx, dword [esi]
push eax
push 0
push 0x1024
push ecx
call edi
mov ecx, esi
call fcn.00445d70
mov ecx, esi
call fcn.00446400
mov edx, dword [esi]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x51af94], 1
je 0x448460
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, esi
call fcn.00446600
mov ecx, dword [esp + 0x74]
pop edi
pop esi
xor ecx, esp
call fcn.004affec
add esp, 0x70
ret
Function at 0x44c0c0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x130
mov eax, dword [0x4d98f0]
xor eax, esp
mov dword [esp + 0x12c], eax
cmp dword [0x4d829c], 0
push esi
mov esi, dword [esp + 0x140]
push edi
jne 0x44c119
push 0x64
lea eax, [esp + 0x70]
push eax
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov cx, word [esp + 0x6c]
xor edx, edx
mov word [0x531fe4], cx
mov word [0x531fe6], dx
mov dword [0x4d829c], 0x531fe4
mov ecx, dword [esp + 0x140]
mov edx, dword [esp + 0x13c]
lea eax, [esp + 8]
push eax
push ecx
push edx
call fcn.0046fd90
mov edi, dword [esp + 0x148]
push edi
push esi
push 0x4d828c
lea ecx, [esp + 0x14]
xor eax, eax
push ecx
push eax
push 0x400
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov ecx, dword [esp + 0x134]
xor edx, edx
mov word [esi + edi*2 - 2], dx
pop edi
pop esi
xor ecx, esp
call fcn.004affec
add esp, 0x130
ret 0x10

Function at 0x44c250
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword [esp + 4]
push ebx
test eax, eax
je 0x44c368
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44c260
sub eax, edx
sar eax, 1
mov ebx, eax
je 0x44c368
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x44c287
pop ebx
ret 4
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ebp, [ebx + ebx + 2]
push ebp
push 0x2002
call edi
mov esi, eax
test esi, esi
je 0x44c2d2
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x44c2d2
mov edx, dword [esp + 0x14]
lea ecx, [ebx + 1]
push ecx
push eax
push edx
call fcn.004770a0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push ebp
push 0x2002
call edi
mov edi, eax
test edi, edi
je 0x44c312
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x44c312
mov eax, dword [esp + 0x14]
inc ebx
push ebx
push esi
push eax
call fcn.004770a0
push esi
push esi
call dword [sym.imp.USER32.dll_CharToOemA]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 7
call dword [sym.imp.USER32.dll_SetClipboardData]
push ebp
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x44c35f
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x44c35f
mov ecx, dword [esp + 0x14]
mov edx, eax
sub edx, ecx
jmp 0x44c340
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x44c340
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4