joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100d3c78
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 0x100d3d15
push ebx
push esi
call fcn.100d3c34
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.100d3b71
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100d3cc2
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100d3d14
push edi
push eax
call fcn.100c8fda
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100d3ce2
call fcn.100c8fa0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100d3d13
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100d3b71
add esp, 0x20
test eax, eax
jne 0x100d3d01
push edi
call fcn.100c8fa0
jmp 0x100d3d09
push ebx
call fcn.100c8fa0
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 0x100d3d18
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100d3d29
pop esi
ret
push ebx
push edi
push esi
call fcn.100d3c34
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100c8fda
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100d3d51
push ebx
push esi
push edi
call fcn.10088120
add esp, 0xc
push 0
call fcn.100c8fa0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100d4640
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100d3fc6

Function at 0x100d7d4a
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.100c6976
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100d7db9
cmp esi, dword [ebp - 4]
je 0x100d7db4
cmp dword [ebp + 0xc], 0
je 0x100d7db4
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100d7d91
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.100d789c
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x100d7dbb
xor eax, eax
inc eax
jmp 0x100d7dbb
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x100d7e20
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x101114bc]
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.100c6976
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.100c6976
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 0x100d7e97
cmp word [ecx], dx
je 0x100d7e97
mov eax, dword [0x10102e8c]
push edi
dec eax
push eax
push 0x10102d78
call fcn.100d7dbf
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x100d7f0a
cmp word [eax], dx
je 0x100d7f0a
mov eax, dword [edi]
test eax, eax
je 0x100d7ebb
cmp word [eax], dx
je 0x100d7ebb
lea eax, [ebp - 0x10]
push eax
call fcn.100d77a2
jmp 0x100d7ec4
lea eax, [ebp - 0x10]
push eax
call fcn.100d783d
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x100d7f34
mov eax, dword [0x10102d74]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10102a68
call fcn.100d7dbf
add esp, 0xc
test al, al
je 0x100d7f34
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x100d7eff
cmp word [eax], di
je 0x100d7eff
lea eax, [ebp - 0x10]
push eax
call fcn.100d77a2
pop ecx
jmp 0x100d7f36
lea eax, [ebp - 0x10]
push eax
call fcn.100d783d
jmp 0x100d7efc
mov eax, dword [edi]
test eax, eax
je 0x100d7f21
cmp word [eax], dx
je 0x100d7f21
lea eax, [ebp - 0x10]
push eax
call fcn.100d7739
pop ecx
jmp 0x100d7f34
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 0x100d7fff
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.100d7c44
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x100d7fff
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x100d7fff
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x100d7fff
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100d7f8c
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.100ce577
test ebx, ebx
je 0x100d7ffa
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.100ce577
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100d7fff
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 0x100d7fff
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.100e07cb
add esp, 0x10
xor eax, eax
inc eax
jmp 0x100d8001
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10085c29
leave
ret
Function at 0x100e1582
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.100e13a6
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100e16f1
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100e16f1
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x100e16a6
jg 0x100e15de
test eax, eax
je 0x100e169c
push 1
push 0x1000
call fcn.100cb45a
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100e1601
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100e1693
push 0x8000
push ebx
call fcn.100e11db
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x100e162a
jg 0x100e1625
cmp ecx, 0x1000
jb 0x100e162a
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100cf5fc
add esp, 0x10
cmp eax, 0xffffffff
je 0x100e166f
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x100e1625
jl 0x100e1656
test ecx, ecx
jne 0x100e1617
push dword [ebp - 0xc]
push ebx
call fcn.100e11db
push esi
call fcn.100c8fa0
add esp, 0xc
xor ebx, ebx
jmp 0x100e16ff
cmp byte [edi + 0x24], 0
je 0x100e1686
cmp dword [edi + 0x20], 5
jne 0x100e1686
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x100e1691
mov ebx, dword [edi + 0x18]
jmp 0x100e1693
xor ebx, ebx
push esi
call fcn.100c8fa0
pop ecx
jmp 0x100e16ff
test ecx, ecx
jg 0x100e1668
jl 0x100e16a6
test eax, eax
jae 0x100e1668
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100cfcda
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100e16c6
cmp byte [edi + 0x1c], 0
je 0x100e1668
jmp 0x100e16f7
push ebx
call fcn.100db96c
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x100e1668
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100e16ff
cmp byte [edi + 0x1c], 0
je 0x100e16fc
mov ebx, dword [edi + 0x18]
jmp 0x100e16ff
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100cfcda
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100e3150
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100e3024
Function at 0x401007
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x82c
cmp dword [0x4bc90c], 0x594
push ebx
mov ebx, dword [eax]
push esi
push edi
mov edi, dword [eax + 4]
jne 0x401038
push 0
lea eax, [ebp - 0x82c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x4ad5b8]
and dword [ebp - 0xc], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [0x4ad5bc]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0xc]
call fcn.00401000
mov eax, dword [str.tH_N]
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [0x4ad5c4]
add esi, 0x23f
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov eax, ebx
shl eax, 4
cmp dword [0x4bc90c], 0xc
mov dword [ebp - 4], eax
jne 0x4010b1
push 0
lea eax, [ebp - 0x42c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
xor eax, eax
push eax
lea ecx, [ebp - 0x2c]
push ecx
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov eax, dword [0x4bc90c]
cmp eax, 0xfa9
jne 0x4010cd
mov dword [0x4bc908], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010eb
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and dword [0x4bc860], 0
mov ecx, dword [ebp - 8]
and dword [ebp - 0x14], 0
mov edx, ebx
lea eax, [esi + ebx]
shr edx, cl
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [0x4bc904], 0xf4ea3dee
add edx, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor eax, edx
sub edi, eax
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
mov edx, edi
shr edx, cl
lea eax, [esi + edi]
mov dword [ebp - 0xc], eax
add edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
xor dword [ebp - 4], eax
xor dword [ebp - 4], edx
sub ebx, dword [ebp - 4]
add esi, 0x61c88647
dec dword [ebp - 0x18]
jne 0x401074
mov eax, dword [ebp + 8]
mov dword [eax + 4], edi
pop edi
pop esi
mov dword [eax], ebx
pop ebx
leave
ret 4
Function at 0x40477d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ac680]
jne 0x404787
repz ret
jmp fcn.0040928e

Function at 0x40bffd
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004030d2
and dword [ebp - 4], 0
cmp dword [0x4b1c34], 0
mov ebx, eax
jne 0x40c0ae
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40c15f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40c15f
push eax
call fcn.00403060
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4b1c34], eax
call esi
push eax
call fcn.00403060
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4b1c38], eax
call esi
push eax
call fcn.00403060
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4b1c3c], eax
call esi
push eax
call fcn.00403060
pop ecx
mov dword [0x4b1c44], eax
test eax, eax
je 0x40c0ae
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403060
pop ecx
mov dword [0x4b1c40], eax
mov eax, dword [0x4b1c40]
cmp eax, ebx
je 0x40c106
cmp dword [0x4b1c44], ebx
je 0x40c106
push eax
call fcn.004030db
push dword [0x4b1c44]
mov esi, eax
call fcn.004030db
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40c106
test edi, edi
je 0x40c106
call esi
test eax, eax
je 0x40c0fd
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40c0fd
test byte [ebp - 0xc], 1
jne 0x40c106
or dword [ebp + 0x10], 0x200000
jmp 0x40c13f
mov eax, dword [0x4b1c38]
cmp eax, ebx
je 0x40c13f
push eax
call fcn.004030db
pop ecx
test eax, eax
je 0x40c13f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40c13f
mov eax, dword [0x4b1c3c]
cmp eax, ebx
je 0x40c13f
push eax
call fcn.004030db
pop ecx
test eax, eax
je 0x40c13f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4b1c34]
call fcn.004030db
pop ecx
test eax, eax
je 0x40c15f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40c161
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x4522b8]
test eax, eax
jne 0x401020
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x4522b8], eax
test eax, eax
jne 0x401020
ret 8
cmp dword [0x4522bc], 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x401046
push 0x42cf18
push eax
call esi
mov dword [0x4522bc], eax
test eax, eax
je 0x4010bd
mov eax, dword [0x4522b8]
cmp dword [0x4522c0], 0
jne 0x401065
push 0x42cf24
push eax
call esi
mov dword [0x4522c0], eax
test eax, eax
je 0x4010bd
mov eax, dword [0x4522b8]
cmp dword [0x4522c4], 0
jne 0x401084
push 0x42cfb0
push eax
call esi
mov dword [0x4522c4], eax
test eax, eax
je 0x4010bd
mov eax, dword [0x4522b8]
cmp dword [0x4522c8], 0
jne 0x4010a3
push 0x42cff8
push eax
call esi
mov dword [0x4522c8], eax
test eax, eax
je 0x4010bd
mov eax, dword [0x4522b8]
cmp dword [0x4522cc], 0
jne 0x4010c3
push 0x42d04c
push eax
call esi
mov dword [0x4522cc], eax
test eax, eax
jne 0x4010c3
xor eax, eax
pop esi
ret 8
mov eax, dword [0x4522bc]
test eax, eax
je 0x4010d6
mov ecx, dword [esp + 0xc]
push ecx
call eax
add esp, 4
xor ecx, ecx
call fcn.004010f0
mov eax, 1
pop esi
ret 8
Function at 0x401260
Capabilities:
Create thread

Disassembly:
push ecx
push 0
push eax
push 0
push 0
push 0
push closesocket
push 0
push closesocket
push 0xcf0000
push 0x431d18
push 0x431c50
push 0
mov dword [0x431de0], eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
jne 0x401298
pop ecx
ret
push 0x42c7b0
push 0x40
push 0x430454
call fcn.004125cc
push 0x42c7cc
push 0x40
push 0x430954
call fcn.004125cc
push 0x42c7d8
push 0x40
push 0x4304d4
call fcn.004125cc
push 0x42c7f4
push 0x40
push 0x4309d4
call fcn.004125cc
push 0x42c810
push 0x40
push 0x430554
call fcn.004125cc
push 0x42c828
push 0x40
push 0x430a54
call fcn.004125cc
add esp, 0x48
push 0x42c838
push 0x40
push 0x4305d4
call fcn.004125cc
push 0x42c850
push 0x40
push 0x430ad4
call fcn.004125cc
push 0x42c864
push 0x40
push 0x430654
call fcn.004125cc
push 0x42c87c
push 0x40
push 0x430b54
call fcn.004125cc
push 0x42c890
push 0x40
push 0x4306d4
call fcn.004125cc
push 0x42c8ac
push 0x40
push 0x430bd4
call fcn.004125cc
add esp, 0x48
push 0x42c8bc
push 0x40
push 0x430754
call fcn.004125cc
push 0x42c8dc
push 0x40
push 0x430c54
call fcn.004125cc
push 0x42c8e8
push 0x40
push 0x4307d4
call fcn.004125cc
push 0x42c908
push 0x40
push 0x430cd4
call fcn.004125cc
push 0x42c914
push 0x40
push 0x430854
call fcn.004125cc
push 0x42c930
push 0x40
push 0x430d54
call fcn.004125cc
add esp, 0x48
push 0x100
push 0
push 0x451ff0
mov dword [0x430450], 9
call fcn.00414250
add esp, 0xc
xor eax, eax
jmp 0x401400
movzx ecx, word [eax + 0x42c93c]
mov word [eax + 0x451ff4], cx
add eax, 2
test cx, cx
jne 0x401400
xor eax, eax
jmp 0x401420
movzx ecx, word [eax + 0x42c940]
mov word [eax + 0x452024], cx
add eax, 2
test cx, cx
jne 0x401420
xor eax, eax
jmp 0x401440
movzx ecx, word [eax + 0x42c94c]
mov word [eax + 0x451ff8], cx
add eax, 2
test cx, cx
jne 0x401440
mov dword [0x452020], 0x51
xor eax, eax
movzx ecx, word [eax + 0x42c968]
mov word [eax + 0x452042], cx
add eax, 2
test cx, cx
jne 0x401462
push esi
mov dword [0x4520dc], 5
mov dword [0x4520e4], 0x32
call fcn.00402a70
push 0x42c4cc
push 0x42c4dc
mov dword [0x4520f0], eax
mov dword [0x430e54], eax
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4014d8
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp eax, 1
je 0x4014d8
xor eax, eax
jmp 0x4014dc
mov eax, dword [esp + 4]
mov dword [0x430e58], eax
call fcn.00402900
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x401680
push 0
push 0
mov dword [0x472af2], 0x402260
call esi
push 0
push 0
push 0
push 0x401ac0
push 0
push 0
call esi
mov eax, 1
pop esi
pop ecx
ret
Function at 0x402510
Capabilities:
Get common file path
Read file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x42f094]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
push 0x206
xor edi, edi
lea ecx, [esp + 0x12]
xor eax, eax
push edi
push ecx
mov word [esp + 0x18], ax
call fcn.00414250
add esp, 0xc
mov dword [esp + 4], edi
cmp esi, edi
je 0x4025df
mov eax, 0x42c640
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x402555
sub eax, edx
sar eax, 1
je 0x4025df
lea edx, [esp + 0xc]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x42c640
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.004126bd
push 0x42c638
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00412164
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, edi
je 0x4025df
push eax
push 1
push 0x200
push esi
call fcn.004129da
mov eax, dword [esp + 0x14]
push eax
call fcn.00412412
add esp, 0x14
mov eax, 1
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00411ee8
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, edi
pop edi
xor ecx, esp
call fcn.00411ee8
add esp, 0x214
ret

Function at 0x4027c0
Capabilities:
Delete file
Read file on windows
Write file on windows

Disassembly:
sub esp, 8
push ebx
push esi
push edi
push 0x3e8
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x42c6dc
lea eax, [esp + 0x10]
push 0x431de8
push eax
call fcn.00412164
mov eax, dword [esp + 0x18]
add esp, 0xc
test eax, eax
je 0x4028f1
push 2
push 0
push eax
call fcn.00412e4f
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ecx
call fcn.00413071
mov esi, eax
add esp, 4
push esi
call fcn.004130df
mov edx, dword [esp + 0x10]
add esp, 4
push 0
push 0
push edx
mov edi, eax
call fcn.00412e4f
mov eax, dword [esp + 0x18]
add esp, 0xc
push eax
push esi
push 1
push edi
call fcn.004129da
add esp, 0x10
cmp esi, eax
jne 0x4028d3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00412d91
add esp, 4
call fcn.00412da3
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul qword [0x42d138]
fmul qword [0x42d130]
fadd qword [0x42d128]
call fcn.00414af0
cmp esi, eax
jl 0x4028d3
mov ebx, edi
sub ebx, eax
add ebx, esi
call fcn.00402770
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00412412
add esp, 4
push 0x431de8
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x42c774
lea edx, [esp + 0x10]
push 0x431de8
push edx
call fcn.00412164
mov eax, dword [esp + 0x18]
add esp, 0xc
test eax, eax
je 0x4028f1
push eax
push esi
push 1
push edi
call fcn.00412319
add esp, 0x10
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4028e4
push eax
call fcn.00412412
add esp, 4
test edi, edi
je 0x4028f1
push edi
call fcn.00411edd
add esp, 4
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x402900
Capabilities:
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x274
mov eax, dword [0x42f094]
xor eax, esp
mov dword [esp + 0x270], eax
push edi
xor eax, eax
push 0x62
push eax
lea ecx, [esp + 0x212]
push ecx
mov word [esp + 0x214], ax
call fcn.00414250
add esp, 0xc
push 0x200
lea edx, [esp + 0xc]
push 0
push edx
call fcn.00414250
add esp, 0xc
lea edi, [esp + 8]
call fcn.00402600
test eax, eax
je 0x402a4f
xor eax, eax
nop
movzx ecx, word [esp + eax + 0xc]
mov word [eax + 0x451ff8], cx
add eax, 2
test cx, cx
jne 0x402960
movzx eax, word [esp + 0x8c]
mov dword [0x452020], eax
xor eax, eax
jmp 0x402990
movzx ecx, word [esp + eax + 0x8e]
mov word [eax + 0x452024], cx
add eax, 2
test cx, cx
jne 0x402990
cmp dword [0x4520f0], 3
jne 0x4029d9
push 0x104
push 0x431de8
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x42c7a0
push 0x104
push 0x431de8
call fcn.004126bd
add esp, 0xc
jmp 0x4029e9
push 0x431de8
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0x1b0]
push ecx
push 0x104
push 0x431de8
call fcn.004126bd
add esp, 0xc
push 0x42c7a4
push 0x104
push 0x431de8
call fcn.004126bd
add esp, 0xc
call fcn.004027c0
push 0
push 0
push 0
push 0x4026a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea edi, [esp + 0x208]
call fcn.004026d0
mov edx, edi
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [esp + 0x274]
pop edi
xor ecx, esp
call fcn.00411ee8
mov esp, ebp
pop ebp
ret

Function at 0x402a70
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x42f094]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push 0x118
xor esi, esi
lea eax, [esp + 0xc]
push esi
push eax
call fcn.00414250
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x402b49
mov eax, dword [esp + 8]
cmp eax, 5
jne 0x402b15
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x402aee
cmp word [esp + 0x118], 4
jb 0x402b49
mov esi, 1
mov eax, esi
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.00411ee8
add esp, 0x120
ret
cmp eax, 2
jae 0x402af8
cmp eax, 1
jne 0x402b49
mov esi, 3
mov eax, esi
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.00411ee8
add esp, 0x120
ret
cmp eax, 6
jne 0x402b49
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x402b3f
mov esi, 4
mov eax, esi
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.00411ee8
add esp, 0x120
ret
cmp eax, 1
jne 0x402b49
mov esi, 5
mov ecx, dword [esp + 0x120]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00411ee8
add esp, 0x120
ret