joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435d80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x8c
mov eax, dword [0x4d88f0]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
mov ebx, dword [esp + 0x94]
push ebp
push esi
mov eax, ebx
push edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x435da4
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x10]
mov ebp, eax
call fcn.004128a0
lea ecx, [esp + 0x10]
call fcn.00472810
lea ecx, [esp + 0x10]
call fcn.00472620
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.00472370
mov ecx, edi
shr ecx, 0xa
xor eax, ecx
xor edi, eax
xor esi, esi
cmp esi, 0x64
jbe 0x435def
mov eax, edi
jmp 0x435e03
mov eax, 0x10624dd3
mul edi
shr edx, 6
imul edx, edx, 0x3e8
mov eax, edi
sub eax, edx
push eax
push esi
lea edx, [esp + 0x3c]
push 0x4c7064
push edx
mov edx, 0x32
call fcn.00407130
lea eax, [esp + 0x44]
add esp, 0x10
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x435e23
sub eax, edx
sar eax, 1
add eax, ebp
cmp eax, dword [esp + 0xa4]
jae 0x435e91
cmp esi, 0x3e8
je 0x435e91
lea eax, [esp + 0x34]
mov edx, eax
lea ecx, [ebp + ebp]
sub ecx, edx
lea edx, [ecx + ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x435e54
call fcn.00444190
test eax, eax
je 0x435e8d
test ebx, ebx
je 0x435e8d
cmp word [ebx], 0
je 0x435e8d
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
test al, al
je 0x435e8d
inc esi
jmp 0x435de6
mov eax, ebx
jmp 0x435e93
xor eax, eax
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004af72c
add esp, 0x8c
ret 8
Function at 0x435eb0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4c29c6
mov eax, dword fs:[0]
push eax
sub esp, 0xc34
mov eax, dword [0x4d88f0]
xor eax, esp
mov dword [esp + 0xc30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d88f0]
xor eax, esp
push eax
lea eax, [esp + 0xc48]
mov dword fs:[0], eax
mov edi, dword [esp + 0xc58]
push edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], edi
call fcn.00468080
xor ebp, ebp
mov dword [esp + 0xc50], ebp
mov esi, 0x10000
push esi
call fcn.004af837
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebp
jne 0x435f29
mov ecx, 0x5062f4
call fcn.0042c410
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov byte [esp + 0xc50], 1
mov ecx, edi
xor esi, esi
or ebx, 0xffffffff
call fcn.00433d40
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
cmp dword [0x519774], esi
je 0x435f7e
push 0x200
lea eax, [esp + 0x48]
push eax
call fcn.0048bb40
mov edx, dword [0x519774]
push 0x200
lea ecx, [esp + 0x848]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0
push 0
push 0
mov ecx, edi
call fcn.00434450
jmp 0x435f94
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0xc5c]
cmp eax, 0x7fffffff
jne 0x435fab
cmp dword [esp + 0xc60], eax
je 0x435fbe
cmp dword [esp + 0xc60], 0
jl 0x435fc3
jg 0x435fbe
cmp eax, 0x10000
jbe 0x435fc3
mov eax, 0x10000
push eax
mov eax, dword [esp + 0x24]
push eax
mov ecx, edi
call fcn.00434760
mov edi, eax
test edi, edi
je 0x436088
add esi, 1
adc ebp, 0
mov eax, esi
and eax, 0xf
xor ecx, ecx
or eax, ecx
jne 0x436049
cmp dword [0x519774], eax
je 0x436044
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
push eax
push 0x10000
push ebp
push esi
call fcn.004b01d0
push edx
push eax
call fcn.0046eb90
push eax
push 0x51e
call fcn.00465ff0
push eax
lea eax, [esp + 0x44c]
push eax
mov edx, 0x200
call fcn.00407130
add esp, 0xc
lea ecx, [esp + 0x444]
push ecx
call fcn.0048bb60
call fcn.0048c200
call fcn.004701e0
mov edx, dword [esp + 0x20]
push edi
push edx
push ebx
call fcn.00421a30
mov ebx, eax
mov eax, 0x7fffffff
cmp dword [esp + 0xc5c], eax
jne 0x436072
cmp dword [esp + 0xc60], eax
je 0x435f90
mov eax, edi
cdq
sub dword [esp + 0xc5c], eax
sbb dword [esp + 0xc60], edx
jmp 0x435f90
cmp dword [0x519774], 0
je 0x4360ad
lea eax, [esp + 0x44]
push eax
call fcn.0048bb60
lea ecx, [esp + 0x844]
push ecx
call fcn.0048baf0
call fcn.0048c200
not ebx
mov esi, ebx
mov byte [esp + 0xc50], 0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4360ca
push eax
call fcn.004af901
add esp, 4
mov dword [esp + 0xc50], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.004680b0
mov eax, esi
mov ecx, dword [esp + 0xc48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc30]
xor ecx, esp
call fcn.004af72c
add esp, 0xc40
ret 0x10
Function at 0x436110
Capabilities:
Delete file

Disassembly:
xor eax, eax
sub esp, 0x20
cmp dword [ecx + 0xc], eax
jbe 0x436168
mov dword [ecx + 0xc], eax
mov ecx, dword [ecx]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0x10], eax
mov dword [esp], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], ax
lea edx, [esp]
mov eax, 0x54
push edx
mov dword [esp + 8], 3
mov word [esp + 0x14], ax
mov dword [esp + 0xc], ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb eax, eax
inc eax
add esp, 0x20
ret
mov al, 1
add esp, 0x20
ret
Function at 0x436240
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4c2a16
mov eax, dword fs:[0]
push eax
mov eax, 0x18e0
call fcn.004af740
mov eax, dword [0x4d88f0]
xor eax, esp
mov dword [esp + 0x18dc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d88f0]
xor eax, esp
push eax
lea eax, [esp + 0x18f4]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1904]
mov edi, dword [esp + 0x1908]
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
call fcn.004339f0
xor ebx, ebx
mov dword [esp + 0x18fc], ebx
push 1
push edi
push esi
lea ecx, [esp + 0x3c]
call fcn.00433e30
test al, al
je 0x43637b
lea ecx, [esp + 0x30]
call fcn.00433d40
mov edi, 0x10000
push edi
mov dword [esp + 0x20], eax
mov ebp, edx
call fcn.004af837
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
cmp esi, ebx
jne 0x4362ed
mov ecx, 0x5062f4
call fcn.0042c410
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov byte [esp + 0x18fc], 1
push edi
push ebx
push esi
call fcn.004afbb0
add esp, 0xc
xor edi, edi
test ebp, ebp
jl 0x43633a
jg 0x436316
cmp dword [esp + 0x1c], edi
jbe 0x43633a
push 0x10000
push esi
lea ecx, [esp + 0x38]
call fcn.00434530
add ebx, 0x10000
adc edi, 0
cmp edi, ebp
jl 0x436316
jg 0x43633a
cmp ebx, dword [esp + 0x1c]
jb 0x436316
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push 0
push 0
push 0
lea ecx, [esp + 0x3c]
call fcn.00434450
lea ecx, [esp + 0x30]
call fcn.00433ce0
lea ecx, [esp + 0x30]
call fcn.00433a70
mov byte [esp + 0x18fc], 0
test esi, esi
je 0x43637b
push esi
call fcn.004af901
add esp, 4
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
push 0x432
lea ecx, [esp + 0xc5c]
push ecx
push edx
lea edi, [esp + 0x14c8]
call fcn.00436170
test al, al
je 0x4363df
call fcn.00444190
test eax, eax
je 0x4363ca
cmp word [esp + 0xc58], 0
je 0x4363ca
lea eax, [esp + 0xc58]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
jmp 0x43640f
lea ecx, [esp + 0x14bc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne bl
jmp 0x43640f
call fcn.00444190
test eax, eax
je 0x4363ff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4363ff
cmp word [eax], 0
je 0x4363ff
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x436408
mov edx, ebx
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
mov bl, al
mov dword [esp + 0x18fc], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.00433e00
mov al, bl
mov ecx, dword [esp + 0x18f4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18dc]
xor ecx, esp
call fcn.004af72c
add esp, 0x18ec
ret 8
Function at 0x436450
Capabilities:
Delete directory

Disassembly:
sub esp, 0xc9c
mov eax, dword [0x4d88f0]
xor eax, esp
mov dword [esp + 0xc98], eax
push ebx
mov ebx, dword [esp + 0xca4]
push esi
mov esi, dword [esp + 0xcac]
push edi
push 0x432
lea eax, [esp + 0x444]
push eax
push esi
lea edi, [esp + 0x18]
call fcn.00436170
test al, al
je 0x4364bb
call fcn.00444190
test eax, eax
je 0x4364b4
cmp word [esp + 0x440], 0
je 0x4364b4
lea ecx, [esp + 0x440]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x4364de
lea edx, [esp + 0xc]
push edx
jmp 0x4364d8
call fcn.00444190
test eax, eax
je 0x4364d7
test esi, esi
je 0x4364d7
cmp word [esi], 0
je 0x4364d7
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x4364de
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [esp + 0xca4]
pop edi
test eax, eax
pop esi
setne al
pop ebx
xor ecx, esp
call fcn.004af72c
add esp, 0xc9c
ret 8
Function at 0x436500
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4c2a66
mov eax, dword fs:[0]
push eax
mov eax, 0x4178
call fcn.004af740
mov eax, dword [0x4d88f0]
xor eax, esp
mov dword [esp + 0x4174], eax
push ebp
push esi
push edi
mov eax, dword [0x4d88f0]
xor eax, esp
push eax
lea eax, [esp + 0x4188]
mov dword fs:[0], eax
mov esi, dword [esp + 0x4198]
push esi
call fcn.004554f0
test al, al
je 0x436799
push esi
call fcn.00434b70
test al, al
je 0x436799
movsx eax, byte [esi]
push eax
lea ecx, [esp + 0x3988]
push 0x4c7094
push ecx
call fcn.004af76b
movsx edx, byte [esp + 0x3990]
add esp, 0xc
push edx
push 0x341
call fcn.00465ff0
push eax
lea eax, [esp + 0x3d8c]
push eax
mov edx, 0x200
call fcn.00407130
add esp, 0xc
lea ecx, [esp + 0x3d84]
push ecx
call fcn.0048bb60
lea ecx, [esp + 0x10]
call fcn.0046fac0
mov dword [esp + 0x4190], 0
lea edx, [esp + 0x3984]
push edx
lea ecx, [esp + 0x14]
call fcn.0046fb60
push 2
push 0
push 2
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1568]
call fcn.00468780
mov byte [esp + 0x4190], 1
lea ecx, [esp + 0xccc]
call fcn.004128a0
lea ecx, [esp + 0xcf0]
call fcn.004128a0
lea ecx, [esp + 0xd14]
call fcn.004128a0
lea ecx, [esp + 0xb8]
push ecx
lea ecx, [esp + 0x155c]
call fcn.004692d0
test eax, eax
jne 0x436771
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov al, byte [esi]
cmp byte [esp + 0xb8], al
jne 0x436771
cmp byte [esp + 0xb9], 0x3a
jne 0x436771
mov cx, word [esp + 0x4b8]
test cx, cx
je 0x436687
movsx edx, al
movzx eax, cx
cmp eax, edx
jne 0x436771
cmp word [esp + 0x4ba], 0x3a
jne 0x436771
call fcn.00444190
test eax, eax
je 0x4366a9
cmp word [esp + 0x4b8], 0
je 0x4366a9
push 0
lea ecx, [esp + 0x4bc]
push ecx
call edi
jmp 0x4366b5
push 0
lea edx, [esp + 0xbc]
push edx
call ebp
cmp byte [esp + 0xcc8], 0
je 0x4366f3
call fcn.00444190
test eax, eax
je 0x4366e3
cmp word [esp + 0x4b8], 0
je 0x4366e3
lea eax, [esp + 0x4b8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x436755
lea ecx, [esp + 0xb8]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x436755
call fcn.00444190
test eax, eax
je 0x436717
cmp word [esp + 0x4b8], 0
je 0x436717
lea edx, [esp + 0x4b8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x436725
lea eax, [esp + 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
test al, al
jne 0x436755
lea ecx, [esp + 0x4b8]
push ecx
push 0x202
call fcn.00465ff0
push eax
push 0
call fcn.00499570
add esp, 0xc
mov ecx, 0x5062f4
call fcn.0042c340
lea edx, [esp + 0xb8]
push edx
lea ecx, [esp + 0x155c]
call fcn.004692d0
test eax, eax
je 0x436640
mov byte [esp + 0x4190], 0
lea ecx, [esp + 0x1558]
call fcn.00468a20
mov dword [esp + 0x4190], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00401e20
mov ecx, dword [esp + 0x4188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x4174]
xor ecx, esp
call fcn.004af72c
add esp, 0x4184
ret 4
Function at 0x437860
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0xc
push 0x4000
call fcn.004af837
add esp, 4
mov dword [esp], eax
test eax, eax
jne 0x437882
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 0x4378b1
cmp esi, ebp
ja 0x437972
jb 0x4378b1
cmp ebx, edi
jae 0x437972
call fcn.0044c2e0
cmp byte [0x5062fc], 0
je 0x4378c8
cmp byte [0x51a848], 0
jne 0x437936
mov ecx, edi
and ecx, ebp
cmp ecx, 0xffffffff
je 0x4378ed
mov ecx, edi
sub ecx, ebx
mov eax, ebp
sbb eax, esi
test eax, eax
ja 0x4378ed
jb 0x4378e7
cmp ecx, 0x4000
jae 0x4378ed
mov eax, edi
sub eax, ebx
jmp 0x4378f2
mov eax, 0x4000
mov edx, dword [esp + 0x20]
push edx
push eax
mov eax, dword [esp + 0x18]
push 1
push eax
call fcn.004b241a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x437945
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
push ecx
push esi
push 1
push edx
call fcn.004b20f8
add esp, 0x10
cmp eax, esi
jne 0x43798b
add ebx, esi
adc dword [esp + 0x18], 0
mov esi, dword [esp + 0x18]
jmp 0x437896
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.004b1f62
add esp, 4
test eax, eax
je 0x437972
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004af901
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.004af901
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.004af901
mov eax, dword [0x5077c8]
add esp, 4
test eax, eax
je 0x4379b1
push eax
push 0
push eax
push 0
mov ecx, 0x5062f4
call fcn.0042c9d0
pop edi
pop esi
pop ebp
mov eax, 0xa
pop ebx
add esp, 0xc
ret 0x10
Function at 0x4380b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4c2b0b
mov eax, dword fs:[0]
push eax
mov eax, 0x1434
call fcn.004af740
mov eax, dword [0x4d88f0]
xor eax, esp
mov dword [esp + 0x1430], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d88f0]
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 0x43812b
test dx, dx
je 0x438127
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43812b
add eax, 4
add ecx, 4
test dx, dx
jne 0x438105
xor eax, eax
jmp 0x438130
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4382dc
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.004b0c11
add esp, 4
cmp word [esp + 0xc44], 0x5c
mov edi, eax
je 0x4381b4
movzx eax, word [ebx]
cmp ax, 0x5c
je 0x4381b4
cmp word [ebp], 0x5c
je 0x4381b4
movzx edx, ax
push edx
call fcn.004b0c11
mov esi, eax
movzx eax, word [ebp]
push eax
call fcn.004b0c11
mov ecx, 0x3a
add esp, 8
cmp word [ebx + 2], cx
je 0x4381a3
mov esi, edi
cmp word [ebp + 2], cx
je 0x4381ab
mov eax, edi
cmp esi, eax
je 0x4381b4
mov byte [esp + 0x17], 1
push ebp
call fcn.00434f20
test al, al
je 0x43820f
lea ecx, [esp + 0x1c]
call fcn.004339f0
mov dword [esp + 0x1450], 0
push 1
push ebp
push 0
lea ecx, [esp + 0x28]
call fcn.00433e30
test al, al
je 0x438256
lea ecx, [esp + 0x1c]
call fcn.00433a70
test al, al
je 0x438256
push ebp
call fcn.00435220
test al, al
je 0x438256
mov dword [esp + 0x1450], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00433e00
cmp byte [esp + 0x17], 0
jne 0x43822e
push ebp
push 0
push ebx
push 0
call fcn.00435160
test al, al
sete al
test al, al
je 0x4382dc
push 0x4c7110
push ebx
call fcn.004b25f0
mov edi, eax
add esp, 8
test edi, edi
jne 0x438271
push ebx
push eax
mov ecx, 0x5062f4
call fcn.0042cb20
lea eax, [edi + 0xa]
jmp 0x4382de
mov dword [esp + 0x1450], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00433e00
mov eax, 0xf
jmp 0x4382de
push 0x4c7108
push ebp
call fcn.004b25f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x438293
push edi
call fcn.004b24ae
add esp, 4
lea eax, [esi + 0xf]
jmp 0x4382de
push 0
mov ecx, 0x5062f4
call fcn.0042c2c0
push 0
push 0xffffffffffffffff
push esi
push edi
call fcn.00437860
push edi
mov ebx, eax
call fcn.004b24ae
add esp, 4
push 1
mov ecx, 0x5062f4
call fcn.0042c2c0
push esi
call fcn.004b24ae
add esp, 4
test eax, eax
jne 0x438308
test ebx, ebx
jne 0x438308
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00435220
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.004af72c
add esp, 0x1440
ret 8
push ebp
call fcn.00435220
test ebx, ebx
je 0x438319
mov eax, ebx
cmp ebx, 0xa
jne 0x4382de
mov eax, 0xe
jmp 0x4382de
Function at 0x43e870
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1008
call fcn.004af740
mov eax, dword [0x4d88f0]
xor eax, esp
mov dword [esp + 0x1004], eax
mov eax, dword [esp + 0x100c]
push esi
push edi
push 0
push 0x4c7358
push eax
mov edi, ecx
call fcn.004356e0
mov esi, eax
test esi, esi
jne 0x43e8ae
lea eax, [esi + 0x32]
jmp 0x43e9f3
xor eax, eax
cmp edi, 0x8000
jbe 0x43e9b3
push ebx
push ebp
push eax
mov eax, edi
shr eax, 3
add eax, 0x1000
push eax
push esi
call fcn.004b2d11
push esi
push 0x1000
lea ecx, [esp + 0x28]
push 1
push ecx
call fcn.004b241a
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.0043e360
mov edx, edi
shr edx, 2
push 0
add edx, 0x1000
push edx
push esi
mov ebx, eax
call fcn.004b2d11
push esi
push 0x1000
lea eax, [esp + 0x28]
push 1
push eax
call fcn.004b241a
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.0043e360
lea ecx, [edi + edi]
shr ecx, 2
push 0
add ecx, 0x1000
push ecx
push esi
mov ebp, eax
call fcn.004b2d11
push esi
push 0x1000
lea edx, [esp + 0x28]
push 1
push edx
call fcn.004b241a
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.0043e360
mov dword [esp + 0x10], eax
lea eax, [edi + edi*2]
shr eax, 2
push 0
add eax, 0x1000
push eax
push esi
call fcn.004b2d11
push esi
push 0x1000
lea ecx, [esp + 0x28]
push 1
push ecx
call fcn.004b241a
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.0043e360
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.004b24ae
add esp, 4
pop ebp
mov eax, edi
pop ebx
jmp 0x43e9f3
cmp edi, 0x1000
jbe 0x43e9c3
lea eax, [edi - 0x1000]
shr eax, 1
push 0
push eax
push esi
call fcn.004b2d11
push esi
push 0x1000
lea edx, [esp + 0x20]
push 1
push edx
call fcn.004b241a
push esi
mov edi, eax
call fcn.004b24ae
add esp, 0x20
push edi
lea ecx, [esp + 0x10]
call fcn.0043e360
mov ecx, dword [esp + 0x100c]
pop edi
pop esi
xor ecx, esp
call fcn.004af72c
add esp, 0x1008
ret 4

Function at 0x442020
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 0x442075
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 0x442080
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 0x44b9d0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x130
mov eax, dword [0x4d88f0]
xor eax, esp
mov dword [esp + 0x12c], eax
cmp dword [0x4d7294], 0
push esi
mov esi, dword [esp + 0x140]
push edi
jne 0x44ba29
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 [0x530fe4], cx
mov word [0x530fe6], dx
mov dword [0x4d7294], 0x530fe4
mov ecx, dword [esp + 0x140]
mov edx, dword [esp + 0x13c]
lea eax, [esp + 8]
push eax
push ecx
push edx
call fcn.0046f510
mov edi, dword [esp + 0x148]
push edi
push esi
push 0x4d7284
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.004af72c
add esp, 0x130
ret 0x10

Function at 0x44bb60
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword [esp + 4]
push ebx
test eax, eax
je 0x44bc78
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44bb70
sub eax, edx
sar eax, 1
mov ebx, eax
je 0x44bc78
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x44bb97
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 0x44bbe2
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x44bbe2
mov edx, dword [esp + 0x14]
lea ecx, [ebx + 1]
push ecx
push eax
push edx
call fcn.00476820
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 0x44bc22
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x44bc22
mov eax, dword [esp + 0x14]
inc ebx
push ebx
push esi
push eax
call fcn.00476820
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 0x44bc6f
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x44bc6f
mov ecx, dword [esp + 0x14]
mov edx, eax
sub edx, ecx
jmp 0x44bc50
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x44bc50
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