joyce8/EMBER2024-capa huggingface dataset:
Function at 0x72a26861
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, 0xffffbfff
mov cx, word [eax]
xor ebx, ebx
movzx edx, cx
and edx, esi
push edi
cmp edx, 8
mov word [ebp - 0x10], bx
jne 0x72a268ee
mov eax, dword [eax + 8]
test ch, 0x40
je 0x72a2688f
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov ax, word [edi]
movzx ecx, ax
and ecx, esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp ecx, 8
jne 0x72a26923
test ah, 0x40
je 0x72a2691e
mov eax, dword [edi + 8]
mov edi, dword [eax]
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
cmp word [ebp - 0x10], 0
je 0x72a268e2
test ebx, ebx
jne 0x72a268ce
push dword [0x72a4ef9c]
call esi
mov ebx, eax
mov ecx, dword [ebp + 0x10]
mov word [ebx + 0x60], 8
mov eax, dword [ebp - 8]
mov dword [ebx + 0x68], eax
mov eax, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp + 0x18]
pop edi
pop esi
mov dword [eax], ebx
pop ebx
leave
ret 0x14
lea ecx, [ebp - 0x30]
push ecx
push 8
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.72a214dd
cmp eax, ebx
jge 0x72a26894
cmp eax, 0x800a005e
je 0x72a26913
lea ecx, [ebp - 0x30]
push ecx
push eax
call fcn.72a193d1
mov eax, dword [ebp + 0x10]
or dword [eax], 0xffffffff
jmp 0x72a26894
mov edi, dword [edi + 8]
jmp 0x72a268b4
push dword [0x72a4ef9c]
call esi
mov ebx, eax
lea eax, [ebp - 0x30]
push eax
push 8
lea eax, [ebx + 0x50]
push edi
push eax
call fcn.72a214dd
mov edi, eax
test edi, edi
jge 0x72a26970
cmp edi, 0x800a005e
je 0x72a26965
cmp word [ebp - 0x10], 0
je 0x72a2695b
push dword [ebp - 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x30]
push eax
push edi
call fcn.72a193d1
mov eax, dword [ebp + 0x14]
or dword [eax], 0xffffffff
jmp 0x72a268b9
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebx + 0x58]
mov dword [ecx], eax
jmp 0x72a268b9

Function at 0x72a26aab
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
movzx eax, word [edi]
and ah, 0xbf
cmp eax, 0x24
jne 0x72a26ac8
push 0
push 0x80028ca0
call fcn.72a193d1
push dword [0x72a4ef9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea esi, [eax + 0x50]
push esi
push edi
call fcn.72a26c8d
cmp eax, 0xffffffff
je 0x72a26b0f
push eax
call sym.MSVBVM60.DLL___vbaLenBstr
cmp word [esi], 8
mov edi, dword [esp + 0xc]
mov dword [edi + 8], eax
mov word [edi], 3
jne 0x72a26b08
push dword [esi + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and word [esi], 0
mov eax, edi
pop edi
pop esi
ret 8
mov edi, dword [esp + 0xc]
mov word [edi], 1
jmp 0x72a26b08
Function at 0x72a26b1a
Capabilities:
Get thread local storage value

Disassembly:
push esi
push dword [0x72a4ef9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea esi, [eax + 0x50]
mov eax, dword [esp + 0xc]
movzx ecx, word [eax]
and ch, 0xbf
cmp ecx, 0x24
jne 0x72a26b5d
mov esi, dword [esp + 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
lea edx, [esi + 8]
push edx
push eax
call dword [ecx + 0x20]
push 0
push eax
call fcn.72a193d1
mov word [esi], 3
mov eax, esi
pop esi
ret 8
push edi
push esi
push eax
call fcn.72a26c8d
cmp eax, 0xffffffff
je 0x72a26b95
test eax, eax
je 0x72a26b71
mov eax, dword [eax - 4]
mov edi, dword [esp + 0xc]
cmp word [esi], 8
mov dword [edi + 8], eax
mov word [edi], 3
jne 0x72a26b90
push dword [esi + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and word [esi], 0
mov eax, edi
pop edi
jmp 0x72a26b59
mov edi, dword [esp + 0xc]
mov word [edi], 1
jmp 0x72a26b90

Function at 0x72a26d36
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push dword [0x72a4ef9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea esi, [eax + 0x50]
push esi
push dword [ebp + 0xc]
call fcn.72a26c8d
cmp eax, 0xffffffff
je 0x72a26d92
push dword [ebp + 0x10]
push eax
call sym.MSVBVM60.DLL_rtcLeftBstr
cmp word [esi], 8
mov dword [ebp - 8], eax
mov word [ebp - 0x10], 8
jne 0x72a26d80
push dword [esi + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and word [esi], 0
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x10]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
leave
ret 0xc
mov word [ebp - 0x10], 1
jmp 0x72a26d80

Function at 0x72a26e3a
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push dword [0x72a4ef9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea esi, [eax + 0x50]
push esi
push dword [ebp + 0xc]
call fcn.72a26c8d
cmp eax, 0xffffffff
je 0x72a26e96
push dword [ebp + 0x10]
push eax
call sym.MSVBVM60.DLL_rtcRightBstr
cmp word [esi], 8
mov dword [ebp - 8], eax
mov word [ebp - 0x10], 8
jne 0x72a26e84
push dword [esi + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and word [esi], 0
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x10]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
leave
ret 0xc
mov word [ebp - 0x10], 1
jmp 0x72a26e84
Function at 0x72a26f7b
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push dword [0x72a4ef9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea esi, [eax + 0x50]
push esi
push dword [ebp + 0xc]
call fcn.72a26c8d
cmp eax, 0xffffffff
je 0x72a26fda
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call sym.MSVBVM60.DLL_rtcMidBstr
cmp word [esi], 8
mov dword [ebp - 8], eax
mov word [ebp - 0x10], 8
jne 0x72a26fc8
push dword [esi + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and word [esi], 0
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x10]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
leave
ret 0x10
mov word [ebp - 0x10], 1
jmp 0x72a26fc8

Function at 0x72a2702f
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push dword [0x72a4ef9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea esi, [eax + 0x50]
push esi
push dword [ebp + 0xc]
call fcn.72a26c8d
cmp eax, 0xffffffff
je 0x72a2708e
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call sym.MSVBVM60.DLL_rtcMidCharBstr
cmp word [esi], 8
mov dword [ebp - 8], eax
mov word [ebp - 0x10], 8
jne 0x72a2707c
push dword [esi + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and word [esi], 0
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x10]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
leave
ret 0x10
mov word [ebp - 0x10], 1
jmp 0x72a2707c

Function at 0x72a275a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push dword [0x72a4ef9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea esi, [eax + 0x50]
push esi
push dword [ebp + 0xc]
call fcn.72a26c8d
cmp eax, 0xffffffff
je 0x72a275f9
push eax
call sym.MSVBVM60.DLL_rtcLowerCaseBstr
cmp word [esi], 8
mov dword [ebp - 8], eax
mov word [ebp - 0x10], 8
jne 0x72a275e7
push dword [esi + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and word [esi], 0
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x10]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
leave
ret 8
mov word [ebp - 0x10], 1
jmp 0x72a275e7
Function at 0x72a27e26
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push dword [0x72a4ef9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea ebx, [eax + 0x50]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
call fcn.72a218ab
xor edi, edi
mov esi, eax
cmp dword [ebp + 8], edi
jl 0x72a27e5c
cmp dword [ebp + 8], 0x3fffffff
jbe 0x72a27e63
push 5
call fcn.72a0e22c
cmp word [esi], 8
jne 0x72a27ebd
mov esi, dword [esi + 8]
cmp esi, edi
jne 0x72a27e7d
xor eax, eax
cmp eax, edi
jne 0x72a27e84
push 5
call fcn.72a0e22c
mov eax, dword [esi - 4]
shr eax, 1
jmp 0x72a27e72
mov ax, word [esi]
mov dword [ebp - 4], eax
push dword [ebp + 8]
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
cmp esi, edi
je 0x72a27f46
push dword [ebp + 8]
push dword [ebp - 4]
push esi
call fcn.72a22874
add esp, 0xc
mov ecx, ebx
call sym.MSVBVM60.DLL___vbaFreeVar
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8
push esi
call fcn.72a20050
cmp dword [0x72a4efbc], edi
mov dword [ebp - 4], eax
jne 0x72a27f08
cmp ax, 0x100
jb 0x72a27f08
xor ecx, ecx
mov cl, ah
push ecx
call fcn.72a1e582
test eax, eax
pop ecx
jne 0x72a27f03
mov al, byte [ebp - 3]
movzx ax, al
mov dword [ebp - 4], eax
cmp ax, 0x100
jb 0x72a27f08
cmp dword [ebp + 8], 0x7fffffff
jbe 0x72a27f08
push 5
call fcn.72a0e22c
mov eax, dword [ebp - 4]
jmp 0x72a27eed
cmp ax, 0xff
jbe 0x72a27f39
cmp dword [0x72a4efbc], edi
jne 0x72a27f39
xor ecx, ecx
mov byte [ebp + 0xf], al
mov cl, ah
lea eax, [ebp - 4]
push 1
push eax
mov byte [ebp + 0xe], cl
push 2
lea eax, [ebp + 0xe]
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x72a27e8a
mov byte [ebp + 0xe], al
lea eax, [ebp - 4]
push 1
push eax
push 1
jmp 0x72a27f28
push 0xe
call fcn.72a0e22c

Function at 0x72a27faa
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push dword [0x72a4ef9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea esi, [eax + 0x50]
push esi
push dword [ebp + 0xc]
call fcn.72a26c8d
cmp eax, 0xffffffff
je 0x72a28003
push eax
call sym.MSVBVM60.DLL_rtcUpperCaseBstr
cmp word [esi], 8
mov dword [ebp - 8], eax
mov word [ebp - 0x10], 8
jne 0x72a27ff1
push dword [esi + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and word [esi], 0
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x10]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
leave
ret 8
mov word [ebp - 0x10], 1
jmp 0x72a27ff1
Function at 0x72a293ca
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, dword [0x72a4f7b4]
push edi
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], esi
mov dword [eax], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
jne 0x72a29418
mov eax, dword [0x72a4f8a0]
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 4]
call fcn.7294a414
cmp eax, esi
jge 0x72a29453
push eax
call fcn.72a0be99
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp ebx, 0x800
je 0x72a293f9
lea eax, [ebp - 0x18]
push 6
push eax
push 0x1004
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x72a29443
lea eax, [ebp - 0x18]
push eax
call fcn.72a2ba61
pop ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [0x72a4f7b4], ebx
mov dword [0x72a4f8a0], eax
jmp 0x72a293f9
mov ecx, dword [ebp - 4]
cmp ecx, esi
jne 0x72a294bf
xor eax, eax
push esi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LCMapStringA]
push eax
push ecx
push dword [ebp + 0xc]
push ebx
call esi
mov edi, eax
mov eax, dword [ebp - 4]
test edi, edi
jne 0x72a29480
test eax, eax
je 0x72a2947c
mov eax, dword [eax - 4]
test eax, eax
jne 0x72a294dd
test edi, edi
je 0x72a2949b
push edi
push 0
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
test eax, eax
mov dword [ebp - 0x10], eax
jne 0x72a294c4
mov dword [ebp - 8], 0xe
cmp dword [ebp - 4], 0
je 0x72a294a9
push dword [ebp - 4]
call fcn.7294a3ff
cmp dword [ebp - 0x10], 0
je 0x72a294b7
push dword [ebp - 0x10]
call fcn.7294a3ff
mov eax, dword [ebp - 8]
jmp 0x72a29411
mov eax, dword [ecx - 4]
jmp 0x72a2945c
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x72a294e6
xor eax, eax
push edi
push dword [ebp - 0x10]
push eax
push ecx
push dword [ebp + 0xc]
push ebx
call esi
test eax, eax
jne 0x72a294eb
mov dword [ebp - 8], 5
jmp 0x72a2949b
mov eax, dword [ecx - 4]
jmp 0x72a294cd
push dword [ebp - 0xc]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
and dword [ebp - 8], 0
call fcn.72a1a665
test eax, eax
jge 0x72a2949b
push eax
call fcn.72a0be99
mov dword [ebp - 8], eax
jmp 0x72a2949b
Function at 0x72a2b2c7
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
cmp word [ebp + 0xc], 4
push esi
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
jne 0x72a2b389
cmp word [ebp + 0x10], bx
ja 0x72a2b389
call fcn.72a0ce63
test eax, eax
jne 0x72a2b315
push 2
push ebx
push ebx
push 9
push ebx
push ebx
push 0x264a
push ebx
push 6
call fcn.72944dbb
cmp eax, ebx
jne 0x72a2b389
mov dword [ebp - 8], 1
push dword [0x72a4ef9c]
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call esi
mov edi, eax
cmp edi, ebx
je 0x72a2b32e
cmp dword [edi + 0x28], ebx
jne 0x72a2b34d
push 2
push dword [ebp + 8]
call fcn.7294639c
cmp eax, ebx
jne 0x72a2b373
push dword [0x72a4ef9c]
mov dword [ebp - 4], 1
call esi
mov edi, eax
push 0x18c
call fcn.72945484
cmp eax, ebx
je 0x72a2b392
mov ecx, eax
call fcn.72a2b3a8
mov esi, eax
cmp esi, ebx
je 0x72a2b373
cmp dword [esi + 0x44], ebx
jne 0x72a2b396
mov eax, dword [esi]
push esi
call dword [eax + 8]
cmp dword [ebp - 4], ebx
je 0x72a2b37f
push 2
call fcn.7294e2c0
cmp dword [ebp - 8], ebx
je 0x72a2b389
call fcn.7294eea1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
xor esi, esi
jmp 0x72a2b364
inc dword [edi + 0x28]
push 0x72a4f40c
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, esi
jmp 0x72a2b38b

Function at 0x72a2b3a8
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [0x72a4ef9c]
mov esi, ecx
mov dword [esi], 0x7296fe50
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 1
mov dword [esi + 0x40], eax
pop ebp
mov dword [eax + 0x24], esi
push 9
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [esi + 8]
mov dword [esi + 4], ebp
mov word [esi + 0x30], bp
mov dword [esi + 0x38], ebx
mov word [esi + 0x3c], bx
mov word [esi + 0x188], bx
mov word [esi + 0x18a], bx
rep stosd dword es:[edi], eax
lea eax, [esi + 0x2c]
mov word [esi + 0x14], 2
push eax
push ebx
mov dword [eax], ebx
call fcn.7294948f
cmp eax, ebx
jge 0x72a2b417
mov dword [esi + 0x44], ebx
mov eax, dword [esi + 0x40]
pop edi
mov dword [eax + 0x24], ebx
mov eax, esi
pop esi
pop ebp
pop ebx
ret
mov dword [esi + 0x44], ebp
jmp 0x72a2b40a
Function at 0x72a2b68f
Capabilities:
Get common file path

Disassembly:
sub esp, 0x10c
push ebx
mov ebx, dword [esp + 0x114]
push esi
push edi
test ebx, ebx
je 0x72a2b758
push ebx
call fcn.72a2b7be
add esp, 4
test eax, eax
jne 0x72a2b6d6
call fcn.7294c1c4
mov dword [eax], 0xf
call fcn.7294c1f9
mov dword [eax], 0xd
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x10c
ret
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x14]
add bl, 0x40
push 0x104
push edx
mov byte [esp + 0x1c], bl
mov byte [esp + 0x1d], 0x3a
mov byte [esp + 0x1e], 0x2e
mov byte [esp + 0x1f], 0
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x72a2b7b2
inc eax
cmp eax, 0x104
ja 0x72a2b7b2
mov edx, dword [esp + 0x120]
mov ecx, dword [esp + 0x124]
test edx, edx
jne 0x72a2b76a
cmp eax, ecx
jg 0x72a2b732
mov eax, ecx
push eax
call fcn.7294214c
mov edx, eax
add esp, 4
test edx, edx
jne 0x72a2b785
call fcn.7294c1f9
mov dword [eax], 0xc
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x10c
ret
lea eax, [esp + 0x14]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
jmp 0x72a2b706
cmp eax, ecx
jle 0x72a2b785
call fcn.7294c1f9
mov dword [eax], 0x22
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x10c
ret
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
mov eax, edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
add esp, 0x10c
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10c
ret

Function at 0x72a2b7be
Capabilities:
Get disk information

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x72a2b7cc
mov eax, 1
ret
add al, 0x40
mov byte [esp + 5], 0x3a
mov byte [esp + 4], al
lea eax, [esp + 4]
push eax
mov byte [esp + 0xa], 0x5c
mov byte [esp + 0xb], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
test eax, eax
je 0x72a2b7fb
cmp eax, 1
je 0x72a2b7fb
mov eax, 1
ret
xor eax, eax
ret

Function at 0x72a2b7fe
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push esi
push eax
push 0x104
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x72a2b837
mov eax, dword [esp + 4]
cmp ah, 0x3a
jne 0x72a2b837
and eax, 0xff
push eax
call fcn.72a2ce11
mov esi, eax
add esp, 4
sub esi, 0x40
mov eax, esi
pop esi
add esp, 0x104
ret

Function at 0x72a2b841
Capabilities:
Set current directory

Disassembly:
push ebx
mov ebx, dword [esp + 8]
cmp ebx, 1
jl 0x72a2b8a6
cmp ebx, 0x1f
jg 0x72a2b8a6
push 0xc
call fcn.72941f12
add esp, 4
lea eax, [esp + 8]
add bl, 0x40
mov byte [esp + 9], 0x3a
push eax
mov byte [esp + 0xc], bl
mov byte [esp + 0xe], 0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x72a2b888
push 0xc
call fcn.72942065
add esp, 4
xor eax, eax
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.7294c18d
add esp, 4
push 0xc
call fcn.72942065
add esp, 4
or eax, 0xffffffff
pop ebx
ret
call fcn.7294c1f9
mov dword [eax], 0xd
call fcn.7294c1c4
mov dword [eax], 0xf
or eax, 0xffffffff
pop ebx
ret
Function at 0x72a2b8ed
Capabilities:
Get common file path
Set current directory
Set environment variable

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10c
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x72a2b96d
lea ecx, [esp + 4]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x72a2b96d
mov eax, dword [esp + 4]
cmp al, 0x5c
je 0x72a2b922
cmp al, 0x2f
jne 0x72a2b92f
cmp al, ah
jne 0x72a2b92f
xor eax, eax
add esp, 0x10c
ret
and eax, 0xff
mov byte [esp], 0x3d
push eax
call fcn.72a2edcc
add esp, 4
mov byte [esp + 1], al
lea edx, [esp + 4]
lea eax, [esp]
push edx
push eax
mov byte [esp + 0xa], 0x3a
mov byte [esp + 0xb], 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
je 0x72a2b96d
xor eax, eax
add esp, 0x10c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.7294c18d
add esp, 4
or eax, 0xffffffff
add esp, 0x10c
ret

Function at 0x72a2b986
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x72a2b9ac
test byte [esp + 0xc], 0x80
je 0x72a2b9c0
and al, 0xfe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x72a2b9c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.7294c18d
add esp, 4
or eax, 0xffffffff
pop esi
ret
or al, 1
jmp 0x72a2b9a0
xor eax, eax
pop esi
ret

Function at 0x72a2be46
Capabilities:
Create thread

Disassembly:
push esi
push edi
push 0x74
push 1
xor edi, edi
call fcn.72941e81
mov esi, eax
add esp, 8
test esi, esi
je 0x72a2bea6
push esi
call fcn.7294207b
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x10]
mov dword [esi + 0x4c], ecx
mov ecx, dword [esp + 0x14]
push eax
push esi
push 0x72a2bec1
push ecx
push edx
mov dword [esi + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x72a2bebe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
call fcn.729426e1
add esp, 4
test edi, edi
je 0x72a2bebc
push edi
call fcn.7294c18d
add esp, 4
xor eax, eax
pop edi
pop esi
ret

Function at 0x72a2cd87
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x72a2cdad
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x72a2cdb1
push eax
call fcn.7294c18d
add esp, 4
or eax, 0xffffffff
ret
xor eax, eax
jmp 0x72a2cd9c
xor eax, eax
ret

Function at 0x72a2cddf
Capabilities:
Move file

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x72a2ce0a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x72a2ce0e
push eax
call fcn.7294c18d
add esp, 4
or eax, 0xffffffff
ret
xor eax, eax
jmp 0x72a2cdf9
xor eax, eax
ret
Function at 0x72a2d717
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x41c
push ebx
mov ebx, dword [esp + 0x42c]
push ebp
xor ebp, ebp
push esi
cmp ebx, ebp
push edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x20], ebp
jne 0x72a2d743
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov ecx, dword [esp + 0x430]
mov eax, ecx
sar eax, 5
lea edi, [eax*4 + 0x72a4c200]
mov eax, ecx
and eax, 0x1f
mov dword [esp + 0x24], edi
mov edx, dword [edi]
lea esi, [eax + eax*8]
shl esi, 2
mov dword [esp + 0x14], esi
test byte [esi + edx + 4], 0x20
je 0x72a2d77e
push 2
push ebp
push ecx
call fcn.72a2d992
add esp, 0xc
mov eax, dword [edi]
add eax, esi
test byte [eax + 4], 0x80
je 0x72a2d8e0
mov ebp, dword [esp + 0x434]
mov dword [esp + 0x18], 0
test ebx, ebx
mov edi, ebp
jbe 0x72a2d828
lea eax, [esp + 0x28]
mov ecx, edi
sub ecx, ebp
cmp ecx, ebx
jae 0x72a2d7d9
mov cl, byte [edi]
inc edi
cmp cl, 0xa
jne 0x72a2d7c6
mov esi, dword [esp + 0x20]
mov byte [eax], 0xd
inc esi
inc eax
mov dword [esp + 0x20], esi
mov byte [eax], cl
inc eax
mov edx, eax
lea ecx, [esp + 0x28]
sub edx, ecx
cmp edx, 0x400
jl 0x72a2d7a9
mov esi, eax
lea edx, [esp + 0x28]
lea eax, [esp + 0x1c]
sub esi, edx
mov edx, dword [esp + 0x24]
push 0
push eax
lea ecx, [esp + 0x30]
mov eax, dword [edx]
push esi
push ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + eax]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x72a2d8d1
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add edx, eax
cmp eax, esi
mov dword [esp + 0x10], edx
jl 0x72a2d824
mov eax, edi
sub eax, ebp
cmp eax, ebx
jb 0x72a2d7a5
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x72a2d8c0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x72a2d87c
cmp eax, 5
jne 0x72a2d865
call fcn.7294c1f9
mov dword [eax], 9
call fcn.7294c1c4
mov dword [eax], 5
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
push eax
call fcn.7294c18d
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
test byte [esi + edx + 4], 0x40
je 0x72a2d89c
cmp byte [ebp], 0x1a
jne 0x72a2d89c
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
call fcn.7294c1f9
mov dword [eax], 0x1c
call fcn.7294c1c4
mov dword [eax], 0
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
add esp, 0x41c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], eax
jmp 0x72a2d824
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x438]
push ecx
push ebx
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x72a2d911
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
jmp 0x72a2d828
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], eax
jmp 0x72a2d828