joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c0c3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x508
cmp dword [ebp + 8], 0
push esi
je 0x42c1cc
cmp dword [ebp + 0xc], 0x20
jb 0x42c1cc
mov esi, 0x400
lea eax, [ebp - 0x508]
push esi
push 0
push eax
mov dword [ebp - 8], 1
mov dword [ebp - 4], esi
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x508]
push eax
lea eax, [ebp - 8]
push eax
push 0x465ca8
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x42c1cc
lea eax, [ebp - 0x508]
push eax
call sub.MSVCRT.dll_strlen
cmp eax, 0x40
pop ecx
jne 0x42c1cc
push edi
lea eax, [ebp - 0x508]
push 0x20
push eax
mov edi, 0x80
lea eax, [ebp - 0x88]
push edi
push eax
call fcn.0042c1d1
lea eax, [ebp - 0x4e8]
push eax
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.0042afd2
push esi
lea eax, [ebp - 0x508]
push 0
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x508]
push esi
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0042bf2d
add esp, 0x18
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x508]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
pop edi
jne 0x42c1cc
lea eax, [ebp - 0x88]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042afd2
neg eax
sbb eax, eax
inc eax
jmp 0x42c1ce
xor eax, eax
pop esi
leave
ret

Function at 0x42c59a
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call sub.MSVCRT.dll_memset
mov esi, dword [ebp + 0xc]
push 0x2454
push 0
push esi
call sub.MSVCRT.dll_memset
lea eax, [esi + 8]
add esp, 0x18
mov dword [ebp - 0x38], eax
lea eax, [esi + 0x2148]
mov dword [ebp - 0x2c], eax
lea eax, [esi + 0x48]
mov dword [ebp - 0x10], eax
mov eax, 0x800
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
lea eax, [esi + 0x2348]
lea ecx, [esi + 0x1048]
mov dword [ebp - 0x20], eax
mov eax, 0x80
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 8], ecx
push eax
lea ecx, [esi + 0x2048]
push dword [ebp + 0x10]
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], 0x20
mov dword [ebp - 0x28], 0x100
push dword [ebp + 8]
mov dword [ebp - 0x18], ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x42c671
mov eax, dword [ebp - 0x30]
cmp eax, 3
je 0x42c64d
cmp eax, 4
je 0x42c64d
cmp eax, 1
jne 0x42c671
mov cx, word [ebp - 0x24]
and dword [esi + 0x2448], 0
and dword [esi + 0x244c], 0
or dword [esi + 0x2450], 0xffffffff
push 1
mov dword [esi + 4], eax
mov word [esi], cx
pop eax
jmp 0x42c673
xor eax, eax
pop esi
leave
ret
Function at 0x42c676
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0xc], 0
jne 0x42c6c9
push ebx
mov ebx, str.MetalinkFile
lea eax, [esi + 0x5d538]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
mov edi, eax
pop ecx
test edi, edi
pop ecx
je 0x42c6bd
and word [edi], 0
push ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
lea edi, [edi + eax*2]
push edi
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [esi + 0x2694], eax
pop ecx
mov ecx, esi
call fcn.0042fed2
test eax, eax
pop ebx
jne 0x42c6cd
xor eax, eax
jmp 0x42c70d
xor edi, edi
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, edi
mov dword [esi + 0x2464], eax
je 0x42c70a
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push edi
push esi
push 0x42c9c9
push edi
push edi
mov dword [esi + 0x5d100], 8
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0xc], eax
push 1
pop eax
pop edi
pop esi
leave
ret
Function at 0x42d327
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
push 1
mov eax, dword [edi + 0x26e0]
pop ebx
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x20]
mov dword [esi + 0x28], 2
cmp dword [eax + 4], ebx
je 0x42d39a
cmp dword [edi + 0x2480], 0
je 0x42d3bc
push dword [esi + 0xc]
and dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp + 8]
push eax
push dword [edi + 0x2484]
push dword [edi + 0x2480]
push dword [esi + 0x1c]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x42d38b
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x42d3bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x42d3c0
jmp 0x42d3bc
cmp dword [esi], 0
jne 0x42d3ab
mov eax, dword [esi + 4]
test eax, eax
je 0x42d3ab
mov dword [esi + 0x18], eax
jmp 0x42d3bc
and dword [esi + 0x28], 0
push ebx
push ecx
mov ecx, edi
call fcn.0042e6d0
test eax, eax
je 0x42d3c0
mov eax, ebx
jmp 0x42d3c2
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x42da18
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x26e0]
mov esi, dword [eax + ebx*4]
mov eax, dword [esi + 0x20]
mov dword [esi + 0x28], 6
cmp dword [eax + 4], 1
je 0x42da8c
cmp dword [edi + 0x2480], 0
je 0x42daba
push dword [esi + 0xc]
and dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp + 8]
push eax
push dword [edi + 0x2484]
push dword [edi + 0x2480]
push dword [esi + 0x1c]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x42da7a
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x42daba
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x3e5
neg eax
sbb eax, eax
inc eax
jmp 0x42dabd
cmp dword [esi], 0
jne 0x42da9d
mov eax, dword [esi + 4]
test eax, eax
je 0x42da9d
mov dword [esi + 0x18], eax
jmp 0x42daba
push 1
push ebx
mov ecx, edi
mov dword [esi + 0x28], 4
call fcn.0042e6d0
test eax, eax
jne 0x42daba
push ebx
mov ecx, edi
call fcn.0042e1fc
push 1
pop eax
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x42dd8c
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ecx + 0x26e0]
push ebx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
push esi
push edi
mov esi, dword [eax + ecx*4]
push 0x28
pop ebx
lea edi, [esi + 0x8044]
push ebx
push 0
push edi
call sub.MSVCRT.dll_memset
mov dword [edi], ebx
mov edi, 0x8000
lea ebx, [esi + 0x40]
push edi
push 0
push ebx
call sub.MSVCRT.dll_memset
mov eax, dword [esi + 0x8040]
mov dword [esi + 0x8058], ebx
lea ebx, [esi + 0x805c]
add esp, 0x18
test eax, eax
mov dword [ebx], edi
je 0x42de11
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
sub ecx, dword [eax + 0x18]
sbb edx, dword [eax + 0x1c]
sub ecx, dword [eax + 8]
sbb edx, dword [eax + 0xc]
add ecx, 1
mov eax, edx
adc eax, 0
ja 0x42de04
cmp ecx, edi
jbe 0x42de0a
and dword [ebp - 8], 0
jmp 0x42de46
mov edi, ecx
mov dword [ebp - 8], eax
jmp 0x42de46
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5d108]
mov edx, dword [eax + 0x5d10c]
cmp ecx, 0xffffffff
jne 0x42de29
cmp edx, ecx
je 0x42de48
sub ecx, dword [eax + 0x5d118]
sbb edx, dword [eax + 0x5d11c]
ja 0x42de3b
cmp ecx, edi
jbe 0x42de41
and dword [ebp - 8], 0
jmp 0x42de46
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebx], edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esi + 0x20]
push 1
pop edi
mov dword [esi + 0x28], 9
cmp dword [eax + 4], edi
je 0x42de84
push esi
lea eax, [esi + 0x8044]
push edi
push eax
push dword [esi + 0x1c]
call dword [sym.imp.WININET.dll_InternetReadFileExA]
test eax, eax
je 0x42de98
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x42dea5
push ebx
push dword [ebx]
push dword [esi + 0x8058]
push dword [esi + 0x1c]
call dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x42de75
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x42dea9
mov eax, edi
jmp 0x42deb6
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.0042e1fc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x42e556
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x103c
call fcn.00432320
push ebx
mov ebx, ecx
xor eax, eax
push esi
cmp dword [ebx + 0x2480], eax
push edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], 0x465d38
je 0x42e583
mov dword [ebp - 4], str.POST
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
mov ax, word [0x466094]
mov esi, dword [ebp + 8]
mov word [ebp - 0x103c], ax
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x103a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x14], 0x465d24
lea ecx, [eax + 0x1048]
add eax, 0x48
push ecx
push eax
push 0x43e670
lea eax, [ebp - 0x103c]
push 0x7ff
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
cmp dword [ebx + 0x62ab4], 0
mov eax, 0x8400c300
je 0x42e5ec
mov eax, 0x8408c300
mov ecx, dword [esi + 0x20]
cmp dword [ecx + 4], 4
jne 0x42e5fa
or eax, 0x803000
push esi
push eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x103c]
push str.HTTP_1.1
push eax
push dword [ebp - 4]
push dword [esi + 0x18]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
test eax, eax
mov dword [esi + 0x1c], eax
je 0x42e6c6
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
lea ecx, [ebp + 8]
push 4
push ecx
push 2
push eax
mov dword [ebp + 8], 0x3a98
call edi
lea eax, [ebp - 4]
push 4
push eax
push 0x41
push dword [esi + 0x1c]
mov dword [ebp - 4], 1
call edi
push 0x28
mov dword [ebp - 8], eax
pop edi
lea eax, [ebp - 0x3c]
push edi
push 0
push eax
call sub.MSVCRT.dll_memset
mov dword [ebp - 0x3c], edi
mov edi, 0xa2d0
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x42e6a6
push edi
push 0
push ebx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0xc]
push dword [ebp - 8]
push 0xa2cf
push ebx
push esi
call fcn.0042e79d
push ebx
mov dword [ebp - 0x34], ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
mov dword [ebp - 0x30], eax
push esi
push 1
lea eax, [ebp - 0x3c]
push 0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test ebx, ebx
mov dword [ebp - 8], eax
je 0x42e6c6
push ebx
call fcn.00432272
pop ecx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x42ed5e
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 8], edi
jne 0x42eec9
lea ebx, [esi + 0x5d128]
mov dword [ebp - 0x18], edi
push ebx
mov dword [ebp - 0x14], edi
call dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
add eax, 0x41
push edi
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [ebp - 0x10]
mov word [ebp - 0xe], 0x3a
push eax
mov word [ebp - 0xc], 0x5c
mov word [ebp - 0xa], di
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x42eee4
mov ecx, dword [esi + 0x5d108]
mov eax, dword [esi + 0x5d10c]
cmp ecx, 0xffffffff
jne 0x42edcb
cmp eax, ecx
je 0x42edea
mov edx, dword [ebp - 0x14]
cmp edx, eax
ja 0x42edea
jb 0x42eddb
mov eax, dword [ebp - 0x18]
cmp eax, ecx
ja 0x42edea
mov dword [esi + 0x2470], 2
jmp 0x42eee4
push edi
push 0x20
push 4
push edi
push 1
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esi + 8], eax
je 0x42eece
cmp dword [esi + 0x26fc], edi
je 0x42eec9
push dword [esi + 0x26f4]
lea ebx, [esi + 0x26ec]
mov ecx, ebx
push dword [ebx + 4]
call fcn.00430397
mov ecx, esi
call fcn.0042f15a
test eax, eax
jne 0x42eec9
cmp dword [esi + 0x2468], edi
lea eax, [esi + 0x2468]
ja 0x42ee4f
mov dword [eax], 5
push 0xa
pop ecx
cmp dword [eax], ecx
jbe 0x42ee58
mov dword [eax], ecx
mov eax, dword [esi + 0x5d108]
mov ecx, dword [esi + 0x5d10c]
sub eax, 1
mov dword [esi + 0x5cfc8], edi
mov dword [esi + 0x5cfd0], eax
lea eax, [esi + 0x5cfc0]
sbb ecx, edi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
mov dword [esi + 0x5cfd4], ecx
push eax
mov ecx, ebx
mov dword [esi + 0x5cfcc], edi
call fcn.00430247
mov eax, dword [esi + 0x5d108]
mov edx, dword [esi + 0x5d10c]
push 0x20
pop ecx
call fcn.00432860
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push edi
push eax
push dword [esi + 0x5d108]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push 1
pop eax
jmp 0x42eee6
mov dword [esi + 0x2470], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x2474], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42efb1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov ax, word [0x466094]
push ebx
push esi
mov esi, ecx
push edi
mov word [ebp - 0x210], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20e]
and dword [ebp - 4], 0
and dword [ebp - 8], 0
push str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ebx, eax
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
shl ebx, 1
pop ecx
mov eax, ebx
push 2
push 0
neg eax
push eax
push dword [esi + 8]
call edi
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp ebx, dword [ebp - 4]
jne 0x42f07e
lea eax, [ebp - 0x210]
push str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
jne 0x42f07e
xor ebx, ebx
push 1
push ebx
push 0xfffffffffffffffc
pop eax
sub eax, dword [ebp - 4]
push eax
push dword [esi + 8]
call edi
lea eax, [ebp - 4]
push ebx
push eax
lea eax, [ebp - 8]
push 4
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add eax, ecx
push 1
neg eax
push ebx
push eax
push dword [esi + 8]
call edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42f083
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 8], ebx
mov eax, dword [esi + 0x26f0]
cmp eax, ebx
jne 0x42f0a1
mov dword [ebp - 4], ebx
jmp 0x42f0af
mov ecx, dword [esi + 0x26f4]
sub ecx, eax
sar ecx, 2
mov dword [ebp - 4], ecx
push 2
push ebx
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 4], ebx
je 0x42f14d
push edi
lea eax, [ebp - 8]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
push eax
lea eax, [ebp - 4]
push 4
push eax
push dword [esi + 8]
call edi
mov dword [ebp - 0xc], 4
mov eax, dword [esi + 0x26f0]
test eax, eax
je 0x42f119
mov ecx, dword [esi + 0x26f4]
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jae 0x42f119
lea eax, [ebp - 8]
push 0
push eax
mov eax, dword [esi + 0x26f0]
push 0x20
push dword [eax + ebx*4]
push dword [esi + 8]
call edi
add dword [ebp - 0xc], 0x20
inc ebx
jmp 0x42f0e3
mov eax, dword [ebp - 0xc]
push 0
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push 4
push eax
push dword [esi + 8]
call edi
mov ebx, str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
push ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
lea ecx, [ebp - 8]
push 0
shl eax, 1
push ecx
push eax
push ebx
push dword [esi + 8]
call edi
pop edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
pop esi
pop ebx
leave
ret
Function at 0x42f15a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov ax, word [0x466094]
push ebx
push esi
mov ebx, ecx
push edi
mov word [ebp - 0x224], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x222]
xor esi, esi
rep stosd dword es:[edi], eax
push str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0xc], esi
stosw word es:[edi], ax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edi, eax
pop ecx
shl edi, 1
mov eax, edi
push 2
neg eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push eax
mov dword [ebp - 8], edi
push dword [ebx + 8]
call esi
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x224]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push eax
push dword [ebx + 8]
call edi
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jne 0x42f2e7
lea eax, [ebp - 0x224]
push str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
jne 0x42f2e7
push 1
push eax
push 0xfffffffffffffffc
pop eax
sub eax, dword [ebp - 4]
push eax
push dword [ebx + 8]
call esi
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x18]
push 4
push eax
push dword [ebx + 8]
call edi
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
add ecx, eax
push 1
neg ecx
push 0
push ecx
push dword [ebx + 8]
call esi
xor esi, esi
lea eax, [ebp - 4]
push esi
push eax
lea eax, [ebp - 0xc]
push 4
push eax
push dword [ebx + 8]
call edi
cmp dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
jbe 0x42f2b5
lea esi, [ebx + 0x5cfd8]
lea ecx, [ebp - 4]
push 0
lea eax, [esi - 0x18]
push ecx
push 0x20
push eax
push dword [ebx + 8]
call edi
xor eax, eax
mov dword [esi - 0x18], eax
mov dword [esi - 0x14], eax
mov ecx, dword [esi]
mov edx, dword [esi + 4]
add dword [esi - 0x10], ecx
adc dword [esi - 0xc], edx
mov dword [esi], eax
mov dword [esi + 4], eax
mov ecx, dword [esi - 8]
sub ecx, dword [esi - 0x10]
mov edx, dword [esi - 4]
sbb edx, dword [esi - 0xc]
add ecx, 1
adc edx, eax
add dword [ebp - 0x14], ecx
lea eax, [esi - 0x18]
lea ecx, [ebx + 0x26ec]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
adc dword [ebp - 0x10], edx
push eax
call fcn.00430247
inc dword [ebp - 8]
add esi, 0x20
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jb 0x42f252
mov ecx, dword [ebx + 0x5d108]
mov edx, dword [ebx + 0x5d10c]
sub ecx, dword [ebp - 0x14]
lea eax, [ebx + 0x5d120]
push 1
sbb edx, dword [ebp - 0x10]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [eax]
mov eax, edx
mov dword [ebx + 0x5d118], ecx
mov dword [ebx + 0x5d11c], eax
pop eax
jmp 0x42f2e9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42f2ee
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov eax, dword [ebx + 0x805c]
mov edi, ecx
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x20]
cmp dword [eax + 4], 1
jne 0x42f312
mov eax, dword [ebx]
mov dword [ebp + 8], eax
xor esi, esi
cmp dword [edi + 0x26fc], esi
je 0x42f3b2
mov ecx, edi
call fcn.0042efb1
mov esi, dword [ebx + 0x8040]
push 0
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
add ecx, dword [esi + 0x18]
adc eax, dword [esi + 0x1c]
mov edx, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push ecx
push dword [edi + 8]
sar edx, 0x1f
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x42f364
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x42f3f3
lea eax, [ebp - 4]
push 0
push eax
and dword [ebp - 4], 0
push dword [ebp + 8]
lea eax, [ebx + 0x40]
push eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42f3f3
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jne 0x42f3f3
add dword [esi + 0x18], eax
lea eax, [edi + 0x5d118]
adc dword [esi + 0x1c], 0
mov ecx, dword [ebp - 4]
add dword [eax], ecx
push ecx
push ebx
mov ecx, edi
adc dword [eax + 4], 0
call fcn.0042f3fc
mov ecx, edi
call fcn.0042f083
jmp 0x42f3ee
lea eax, [ebp - 4]
push esi
push eax
lea eax, [ebx + 0x40]
push dword [ebp + 8]
mov dword [ebp - 4], esi
push eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42f3f3
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x42f3f3
add dword [edi + 0x5d118], ecx
lea eax, [edi + 0x5d118]
push ecx
push ebx
mov ecx, edi
adc dword [eax + 4], esi
call fcn.0042f3fc
push 1
pop eax
jmp 0x42f3f5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x43111a
Capabilities:
Hash data with md5

Disassembly:
push esi
xor eax, eax
lea esi, [ecx + 0x5c]
push 0x40
push eax
push esi
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
call fcn.00431bc1
mov byte [esi], 0x80
pop esi
ret
Function at 0x1172510
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x119f094]
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.01184250
add esp, 0xc
mov dword [esp + 4], edi
cmp esi, edi
je 0x11725df
mov eax, 0x119c640
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1172555
sub eax, edx
sar eax, 1
je 0x11725df
lea edx, [esp + 0xc]
push edx
push 0x104
call dword [fcn.01195124]
push 0x119c640
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.011826bd
push 0x119c638
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.01182164
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, edi
je 0x11725df
push eax
push 1
push 0x200
push esi
call fcn.011829da
mov eax, dword [esp + 0x14]
push eax
call fcn.01182412
add esp, 0x14
mov eax, 1
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.01181ee8
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, edi
pop edi
xor ecx, esp
call fcn.01181ee8
add esp, 0x214
ret

Function at 0x11727c0
Capabilities:
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 [0x1195140]
push 0x119c6dc
lea eax, [esp + 0x10]
push 0x11a1de8
push eax
call fcn.01182164
mov eax, dword [esp + 0x18]
add esp, 0xc
test eax, eax
je 0x11728f1
push 2
push 0
push eax
call fcn.01182e4f
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ecx
call fcn.01183071
mov esi, eax
add esp, 4
push esi
call fcn.011830df
mov edx, dword [esp + 0x10]
add esp, 4
push 0
push 0
push edx
mov edi, eax
call fcn.01182e4f
mov eax, dword [esp + 0x18]
add esp, 0xc
push eax
push esi
push 1
push edi
call fcn.011829da
add esp, 0x10
cmp esi, eax
jne 0x11728d3
call dword [0x119512c]
push eax
call fcn.01182d91
add esp, 4
call fcn.01182da3
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul qword [0x119d138]
fmul qword [0x119d130]
fadd qword [0x119d128]
call fcn.01184af0
cmp esi, eax
jl 0x11728d3
mov ebx, edi
sub ebx, eax
add ebx, esi
call fcn.01172770
mov ecx, dword [esp + 0xc]
push ecx
call fcn.01182412
add esp, 4
push 0x11a1de8
call dword [0x119511c]
push 0x119c774
lea edx, [esp + 0x10]
push 0x11a1de8
push edx
call fcn.01182164
mov eax, dword [esp + 0x18]
add esp, 0xc
test eax, eax
je 0x11728f1
push eax
push esi
push 1
push edi
call fcn.01182319
add esp, 0x10
mov eax, dword [esp + 0xc]
test eax, eax
je 0x11728e4
push eax
call fcn.01182412
add esp, 4
test edi, edi
je 0x11728f1
push edi
call fcn.01181edd
add esp, 4
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x11747b0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
xor ebp, ebp
push esi
mov ebx, ecx
push edi
mov edi, eax
mov dword [esp + 0x10], ebp
cmp ebx, ebp
je 0x11748a1
cmp edi, 0xa
jb 0x11748a1
lea eax, [edi*4]
mov dword [esp + 0x14], eax
inc eax
push eax
call fcn.01181f46
add esp, 4
mov esi, eax
push esi
push ebx
lea edx, [esp + 0x1c]
mov ecx, edi
call fcn.01174630
add esp, 8
test eax, eax
je 0x117489a
mov eax, dword [esp + 0x1c]
push 0x119b804
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.01182164
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x1174825
lea ebp, [eax - 2]
jmp 0x1174850
mov edi, dword [esp + 0x14]
push eax
push edi
push 1
push esi
call fcn.01182319
add esp, 0x10
cmp eax, edi
je 0x1174867
mov ebp, 0xfffffffe
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1174850
push eax
call fcn.01182412
add esp, 4
test esi, esi
je 0x117485d
push esi
call fcn.01182010
add esp, 4
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov edi, dword [0x119512c]
call edi
xor edx, edx
mov ecx, 0x1f4
div ecx
mov ebx, edx
call edi
xor edx, edx
mov ecx, 0x3e8
div ecx
mov eax, dword [esp + 0x10]
push eax
push ebx
push 1
add edx, esi
push edx
call fcn.01182319
add esp, 0x10
jmp 0x117483f
mov ebp, 0xfffffffd
jmp 0x117483f
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 8
ret