joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4293ba
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x479b74]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0xac], eax
push 0x90
lea eax, [ebp - 0x9c]
mov dword [ebp - 0xa8], edx
push esi
push eax
mov dword [ebp - 0xa4], esi
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0xa0], 0x94
lea eax, [ebp - 0xa0]
xor edi, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x429439
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0042754e
mov edi, eax
mov ecx, edi
call fcn.00427566
mov ebx, dword [ebp - 0xac]
jmp 0x42945c
cmp dword [ebp - 0x90], 2
jne 0x42945a
cmp dword [ebp - 0x9c], 5
ja 0x429455
jne 0x42945a
cmp dword [ebp - 0x98], esi
jbe 0x42945a
xor ebx, ebx
inc ebx
jmp 0x42945c
xor ebx, ebx
mov ecx, edi
call fcn.0042757e
test edi, edi
jns 0x429473
mov ecx, edi
call fcn.00427566
jmp 0x429504
xor ecx, ecx
mov eax, ebx
push ecx
push ecx
push 0xffffffffffffffff
push dword [ebp - 0xa8]
shl eax, 3
push eax
push ecx
mov dword [ebp - 0xb0], eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
test ebx, ebx
jg 0x4294a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0042754e
mov edi, eax
jmp 0x429467
lea eax, [ebp - 0xa4]
mov edx, ebx
push eax
call fcn.00416a79
mov edi, eax
test edi, edi
jns 0x4294cc
mov ecx, edi
call fcn.00427566
mov esi, dword [ebp - 0xa4]
jmp 0x429504
mov esi, dword [ebp - 0xa4]
push ebx
push esi
push 0xffffffffffffffff
push dword [ebp - 0xa8]
push dword [ebp - 0xb0]
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp ebx, eax
je 0x4294f8
mov edi, 0x8000ffff
jmp 0x429467
mov ecx, dword [ebp - 0xac]
mov eax, esi
xor esi, esi
mov dword [ecx], eax
mov ecx, edi
call fcn.0042757e
test esi, esi
je 0x429516
mov ecx, esi
call fcn.00427347
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004729c0
leave
ret 4
Function at 0x42a52e
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
xor eax, eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
push edi
test esi, esi
je 0x42a6b1
cmp ax, word [esi]
je 0x42a6b1
push ebx
lea edx, [ebp - 4]
call fcn.0042a313
mov ebx, eax
test ebx, ebx
je 0x42a69c
xor eax, eax
lea edx, [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push ecx
push eax
mov ecx, ebx
call fcn.0042abe9
test eax, eax
js 0x42a65e
cmp dword [ebp - 8], 1
push 0x5c
pop ecx
jne 0x42a5fe
mov edx, dword [ebp - 0xc]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x14]
jne 0x42a59c
mov eax, dword [ebp - 4]
sub ecx, esi
sar ecx, 1
lea esi, [eax + ecx*2]
test edx, edx
je 0x42a5c7
push edx
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0x5c
pop ecx
xor edi, edi
push ecx
push esi
call sub.msvcrt.dll_wcschr
pop ecx
mov esi, eax
pop ecx
mov ecx, ebx
test esi, esi
je 0x42a62c
xor eax, eax
mov word [esi], ax
call fcn.0042ba2b
test eax, eax
jne 0x42a5f3
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x5c
pop ecx
mov word [esi], cx
add esi, 2
jmp 0x42a5cc
mov esi, dword [ebp - 4]
movzx eax, word [esi]
cmp eax, 0x61
jb 0x42a60e
cmp eax, 0x7a
jbe 0x42a618
cmp eax, 0x41
jb 0x42a5ca
cmp eax, 0x5a
ja 0x42a5ca
push 0x3a
pop eax
cmp ax, word [esi + 2]
jne 0x42a5ca
cmp cx, word [esi + 4]
jne 0x42a5ca
add esi, 8
jmp 0x42a5ca
call fcn.0042ba2b
xor esi, esi
inc esi
cmp eax, esi
je 0x42a659
xor eax, eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, esi
je 0x42a659
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push edi
push dword [ebp - 0x1c]
push 0x40cfd0
jmp 0x42a677
mov dword [ebp - 0x10], esi
jmp 0x42a689
movzx eax, ax
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push edi
push esi
push 0x40d030
push 0x3000000
push 0x47bfe4
call fcn.0042a2a7
add esp, 0x14
push ebx
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x42a6a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x10]
pop ebx
jmp 0x42a6bb
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x42ad8b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
xor esi, esi
mov ebx, edx
push edi
test ecx, ecx
je 0x42ae36
test ebx, ebx
je 0x42ae36
xor edx, edx
call fcn.0042a313
mov edi, eax
test edi, edi
je 0x42adf5
xor edx, edx
mov ecx, ebx
call fcn.0042a313
mov esi, eax
test esi, esi
je 0x42adf5
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42adde
xor edx, edx
mov ecx, esi
call fcn.0042b4a3
push dword [ebp + 8]
mov edx, esi
push ecx
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp + 0xc]
call fcn.0042ae47
mov ebx, eax
jmp 0x42adf8
mov ebx, dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
test edi, edi
je 0x42ae15
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test esi, esi
je 0x42ae29
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
jmp 0x42ae40
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x42ae47
Capabilities:
Copy file
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, ecx
xor edi, edi
test dword [ebp + 0x14], 0xffffffe0
mov ebx, edx
mov dword [ebp - 0xc], eax
je 0x42ae73
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x42afd1
mov esi, dword [ebp + 0x14]
and esi, 1
test dword [ebp + 0x14], 8
je 0x42ae88
or esi, 0x1000
xor edx, edx
call fcn.0042a313
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42afcf
xor edx, edx
mov ecx, ebx
call fcn.0042a313
mov dword [ebp - 0x18], eax
test eax, eax
je 0x42afa6
and dword [ebp - 4], edi
and dword [ebp - 8], 0
push esi
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
mov edi, eax
test edi, edi
jne 0x42af29
test dword [ebp + 0x14], 2
je 0x42af25
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
lea edx, [ebp - 8]
inc ecx
mov dword [ebp - 0x10], eax
push edx
mov edx, eax
mov dword [ebp - 4], ecx
call fcn.0042b3e9
test eax, eax
je 0x42af25
mov edi, dword [ebp - 8]
push edi
push dword [ebp - 0x10]
push ebx
push dword [ebp - 0xc]
push 0x40d108
push 0x4000000
push 0x47bfe4
call fcn.0042a2a7
add esp, 0x1c
test edi, edi
je 0x42aeb1
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x42aeb1
test edi, edi
je 0x42afa6
test dword [ebp + 0x14], 4
je 0x42afa6
push 0x80
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, eax
test edi, edi
jne 0x42afa6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x42af53
push 0x1f
pop esi
push esi
push ebx
push 0x40d1a0
push 0x2000000
push 0x47bfe4
call fcn.0042a2a7
add esp, 0x14
xor edx, edx
mov ecx, ebx
call fcn.0042b4a3
test eax, eax
jne 0x42af9f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x42af86
push 0x1f
pop eax
push eax
push ebx
push 0x40d240
push 0x2000000
push 0x47bfe4
call fcn.0042a2a7
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp - 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x42afcf
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x42b93e
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
mov ebx, ecx
xor esi, esi
push edi
test ebx, ebx
je 0x42ba1c
xor eax, eax
cmp ax, word [ebx]
je 0x42ba1c
xor edx, edx
call fcn.0042a313
mov edi, eax
test edi, edi
je 0x42b9d9
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x42b9a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push edi
push 0x40d728
push 0x3000000
push 0x47bfe4
call fcn.0042a2a7
add esp, 0x14
xor edx, edx
mov ecx, edi
call fcn.0042b4a3
mov ebx, eax
test ebx, ebx
jne 0x42b9fd
test esi, esi
jne 0x42b9bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push 0x40d7b0
push 0x3000000
push 0x47bfe4
call fcn.0042a2a7
jmp 0x42b9fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push ebx
push 0x40d830
push 0x3000000
push 0x47bfe4
call fcn.0042a2a7
mov ebx, dword [ebp - 4]
add esp, 0x14
test edi, edi
je 0x42ba11
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
jmp 0x42ba26
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42ba2b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push edi
xor edi, edi
test ecx, ecx
je 0x42ba97
xor eax, eax
cmp ax, word [ecx]
je 0x42ba97
push ebx
xor edx, edx
call fcn.0042a313
mov ebx, eax
test ebx, ebx
je 0x42ba92
push esi
push ebx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42ba5f
test al, 0x10
je 0x42ba5f
inc edi
jmp 0x42ba7a
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x42ba72
mov esi, 0x10b
cmp esi, 2
jne 0x42ba7a
push 3
pop esi
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop ebx
mov eax, edi
pop edi
ret
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
ret

Function at 0x42baa3
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebx
xor ebx, ebx
test ecx, ecx
je 0x42bb0e
xor eax, eax
cmp ax, word [ecx]
je 0x42bb0e
push esi
push edi
xor edx, edx
call fcn.0042a313
mov edi, eax
test edi, edi
je 0x42baf9
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x42badf
and esi, 0x10
sete bl
neg esi
sbb esi, esi
and esi, 2
jmp 0x42bae7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x42bb01
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
mov eax, ebx
pop ebx
ret
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop ebx
ret
Function at 0x42c222
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov dword [ebp - 4], edx
xor ebx, ebx
push edi
xor edx, edx
call fcn.0042a313
mov edi, eax
test edi, edi
je 0x42c28c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [ebp - 8], ecx
cmp esi, 0xffffffff
je 0x42c264
test esi, 0x400
je 0x42c264
xor eax, eax
inc eax
jmp 0x42c266
xor eax, eax
mov edx, dword [ebp - 4]
xor ebx, ebx
test ecx, ecx
push edi
push 0
mov dword [edx], eax
sete bl
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
mov eax, ebx
pop ebx
leave
ret
Function at 0x42cc9f
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x479b74]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x22c], 0
and dword [ebp - 0x228], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, edx
push edi
mov edi, dword [ebp + 8]
test bl, 0x10
push 0
pop eax
setne al
mov dword [ebp - 0x220], ebx
inc eax
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x21c], edi
test ecx, ecx
je 0x42ccfc
call fcn.0042a83e
mov esi, eax
jmp 0x42cd06
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
test esi, esi
je 0x42ce69
mov ecx, esi
call fcn.0042a8af
mov dword [ebp - 0x230], eax
test eax, eax
je 0x42ce69
mov ecx, eax
call fcn.0042a9f5
mov edi, eax
test edi, edi
je 0x42ce69
push dword [ebp - 0x224]
lea eax, [ebp - 0x22c]
mov edx, 0x42c9e0
push eax
push 0x42cc10
mov ecx, edi
call fcn.0042c3c1
mov dword [ebp - 0x214], eax
test bl, 8
jne 0x42cd84
mov edx, ebx
mov ecx, edi
call fcn.0042c9ac
test eax, eax
jne 0x42cd84
inc dword [ebp - 0x228]
cmp dword [ebp - 0x22c], eax
jne 0x42cd84
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x22c], eax
xor ebx, ebx
cmp dword [ebp - 0x228], ebx
jbe 0x42ce2f
push 0x208
lea eax, [ebp - 0x210]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x42cdc6
mov word [ebp - 0x210], ax
jmp 0x42cdd7
xor eax, eax
cmp ax, word [ebp - 0x210]
lea eax, [ebp - 0x210]
jne 0x42cddc
mov eax, 0x40dfa0
cmp dword [ebp - 0x228], 1
mov ecx, 0x40dfbc
jne 0x42cdef
mov ecx, 0x406c74
push eax
push dword [ebp - 0x22c]
push edi
push ecx
push dword [ebp - 0x228]
push 0x40dfc0
push 0x4000000
push 0x47bfe4
call fcn.0042a2a7
add esp, 0x20
cmp dword [ebp - 0x22c], ebx
je 0x42ce29
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x214], ebx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x230]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x214]
jmp 0x42ce6b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004729c0
leave
ret 8
Function at 0x42d3fb
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x479b74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x25c], edx
push edi
inc esi
lea edx, [ecx + 2]
mov edi, ecx
xor ebx, ebx
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x42d423
sub ecx, edx
sar ecx, 1
jne 0x42d443
mov esi, ebx
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x42d533
mov edx, 0x409e50
mov ecx, edi
call fcn.0042db6e
mov ebx, eax
test ebx, ebx
jne 0x42d45b
xor esi, esi
push 8
jmp 0x42d438
lea eax, [ebp - 0x258]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x42d523
mov eax, dword [ebp - 0x25c]
mov dword [eax], esi
test byte [ebp - 0x258], 0x10
je 0x42d513
mov ecx, 0x407ef8
lea eax, [ebp - 0x22c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42d4ba
test dx, dx
je 0x42d4b6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42d4ba
add eax, 4
add ecx, 4
test dx, dx
jne 0x42d494
xor eax, eax
jmp 0x42d4be
sbb eax, eax
or eax, esi
test eax, eax
je 0x42d4fb
mov ecx, 0x407a68
lea eax, [ebp - 0x22c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42d4f3
test dx, dx
je 0x42d4ef
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42d4f3
add eax, 4
add ecx, 4
test dx, dx
jne 0x42d4cd
xor eax, eax
jmp 0x42d4f7
sbb eax, eax
or eax, esi
test eax, eax
jne 0x42d513
lea eax, [ebp - 0x258]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42d47c
jmp 0x42d51c
mov eax, dword [ebp - 0x25c]
and dword [eax], 0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004729c0
leave
ret

Function at 0x42d96b
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x479b74]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x200
xor edi, edi
lea eax, [ebp - 0x204]
push edi
push eax
mov esi, ecx
call sub.msvcrt.dll_memset
add esp, 0xc
test esi, esi
je 0x42d9cc
cmp word [esi], di
je 0x42d9cc
push esi
push 0x100
lea eax, [ebp - 0x204]
push eax
push 0x413628
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
xor ecx, ecx
xor eax, eax
cmp cx, word [ebp - 0x204]
setne al
jmp 0x42d9ce
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004729c0
leave
ret 8
Function at 0x430f25
Capabilities:
Delete file

Disassembly:
push 0
mov eax, 0x476307
call fcn.00472e78
mov esi, ecx
lea ecx, [esi + 0x48]
mov dword [esi], 0x4017f0
mov dword [esi + 4], 0x401848
test ecx, ecx
je 0x430f4c
call fcn.00457fd1
xor edi, edi
cmp dword [esi + 0x50], edi
je 0x430f81
push ecx
lea ecx, [esi + 0x38]
call fcn.004169b2
push ecx
lea ecx, [esi + 0x3c]
call fcn.004169b2
cmp dword [esi + 0x2c], edi
je 0x430f73
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x30], edi
je 0x430f81
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi + 0x3c]
call fcn.00416f58
lea ecx, [esi + 0x38]
call fcn.00416f58
mov dword [ebp - 4], edi
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x430fa3
call fcn.00427347
mov dword [esi + 0x34], edi
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 1
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x430fbd
call fcn.00427347
mov dword [esi + 0x30], edi
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 2
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x430fd7
call fcn.00427347
mov dword [esi + 0x2c], edi
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00447c15
call fcn.00472e55
ret
Function at 0x43be62
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0x4764e5
call fcn.00472e78
mov edi, ecx
xor eax, eax
push eax
push eax
push edi
push 0x433650
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
lea ebx, [edi + 0x60]
mov dword [ebp - 0x10], ebx
test esi, esi
jne 0x43bec2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0042754e
mov ecx, dword [edi + 0x60]
mov ebx, eax
mov edi, dword [ecx + 8]
mov ecx, edi
call dword [0x47d838]
mov ecx, dword [ebp - 0x10]
call edi
test eax, eax
je 0x43c043
push 0xc40
jmp 0x43c020
mov eax, dword [ebx]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x47d838]
mov ecx, ebx
call edi
test eax, eax
je 0x43bef8
mov eax, dword [ebx]
push 0x40fc78
push 2
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x47d838]
mov ecx, ebx
call edi
push eax
call fcn.004481bc
add esp, 0xc
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x43bf7a
cmp eax, 0xffffffff
je 0x43bf36
mov eax, dword [ebp - 0x10]
mov ebx, 0x8000ffff
mov eax, dword [eax]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x47d838]
mov ecx, dword [ebp - 0x10]
call edi
test eax, eax
je 0x43c043
push 0xc58
jmp 0x43c020
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x43bf4d
movzx ebx, bx
or ebx, 0x80070000
test ebx, ebx
jns 0x43c043
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x47d838]
mov ecx, dword [ebp - 0x10]
call edi
test eax, eax
je 0x43c043
push 0xc53
jmp 0x43c020
mov eax, dword [ebx]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x47d838]
mov ecx, ebx
call edi
test eax, eax
je 0x43bfb0
mov eax, dword [ebx]
push 0x40fcc0
push 2
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x47d838]
mov ecx, ebx
call edi
push eax
call fcn.004481bc
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x43bfee
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0042754e
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x47d838]
mov ecx, dword [ebp - 0x10]
call edi
test eax, eax
je 0x43c043
push 0xc4e
jmp 0x43c020
mov ebx, dword [ebp - 0x14]
test ebx, ebx
jle 0x43c000
movzx ebx, bx
or ebx, 0x80070000
test ebx, ebx
jns 0x43c043
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x47d838]
mov ecx, dword [ebp - 0x10]
call edi
test eax, eax
je 0x43c043
push 0xc4f
mov eax, dword [ebp - 0x10]
push 0x40fc44
mov eax, dword [eax]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x47d838]
mov ecx, dword [ebp - 0x10]
call edi
mov edx, ebx
mov ecx, eax
call fcn.0044829d
mov ecx, ebx
call fcn.0042757e
and dword [ebp - 4], 0
test esi, esi
je 0x43c059
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
mov eax, ebx
call fcn.00472e55
ret