joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100023a0
Capabilities:
Check for time delay via gettickcount
Connect to http server
Create http request
Delete file
Send file using ftp

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x1001b018]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1012aecc], 0
push ebx
push esi
push edi
je 0x100024d1
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10120fd0]
cmp eax, 0x927c0
jb 0x100023df
call esi
mov dword [0x10120fd0], eax
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0
push 0
push 1
push 0x1012af14
mov ebx, eax
movzx eax, word [0x1012aef0]
push 0x1012aef4
push eax
push 0x1012aed0
push ebx
call dword [sym.imp.WININET.dll_InternetConnectA]
lea ecx, [ebp - 0x120]
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [ebp - 0x11a]
movzx eax, word [ebp - 0x11e]
movzx ecx, word [ebp - 0x120]
push edx
push eax
push ecx
lea edx, [ebp - 0x110]
push str._04d__02d__02d
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x110]
push eax
push esi
call dword [sym.imp.WININET.dll_FtpCreateDirectoryA]
lea ecx, [ebp - 0x110]
push ecx
lea edi, [ebp - 0x13c]
call fcn.10002670
mov eax, dword [ebp - 0x13c]
mov edi, 0x10
cmp dword [ebp - 0x128], edi
jae 0x1000248a
lea eax, [ebp - 0x13c]
push 0
push 2
push eax
push str.image.jpeg
push esi
call dword [sym.imp.WININET.dll_FtpPutFileA]
test eax, eax
je 0x100024ab
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
push str.image.jpeg
call dword [sym.imp.MSVCR100.dll_remove]
add esp, 4
cmp dword [ebp - 0x128], edi
jb 0x100024d1
mov edx, dword [ebp - 0x13c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10013454
mov esp, ebp
pop ebp
ret
Function at 0x100024f0
Capabilities:
Check for time delay via gettickcount
Connect to http server
Create http request
Send file using ftp

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1001b018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov dword [ebp - 0x210], eax
call esi
sub eax, dword [0x10120fd0]
cmp eax, 0x927c0
jb 0x1000252a
call esi
mov dword [0x10120fd0], eax
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
movzx ecx, word [0x1012aef0]
push 0
push 0
push 1
push 0x1012af14
push 0x1012aef4
push ecx
mov edi, eax
push 0x1012aed0
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edx, dword [str.Tools]
push 0xfe
mov esi, eax
mov ax, word [0x100166e4]
lea ecx, [ebp - 0x102]
push 0
push ecx
mov dword [ebp - 0x108], edx
mov word [ebp - 0x104], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x108]
push edx
push esi
call dword [sym.imp.WININET.dll_FtpCreateDirectoryA]
mov eax, dword [ebp - 0x210]
push eax
lea ecx, [ebp - 0x108]
push ecx
push str._s__s
lea edx, [ebp - 0x20c]
push 0x104
push edx
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0x14
push 0
push 2
lea eax, [ebp - 0x20c]
push eax
push ebx
push esi
call dword [sym.imp.WININET.dll_FtpPutFileA]
test eax, eax
je 0x100025ea
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10013454
mov esp, ebp
pop ebp
ret 4

Function at 0x10002f00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1001b018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10120ff8]
cmp eax, 0x64
jle 0x10002f21
mov eax, 1
jmp 0x10002f22
inc eax
push eax
mov dword [0x10120ff8], eax
lea eax, [ebp - 0x28]
push 0x1001677c
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
lea ecx, [ebp - 0x2c]
push ecx
push 0xf003f
push 0
push str.SOFTWAREWebzenMuConfig
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10002f7b
push 0x24
lea edx, [ebp - 0x28]
push edx
push 1
push eax
mov eax, dword [ebp - 0x2c]
push str.VolumeEffect
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
call fcn.10013454
mov esp, ebp
pop ebp
ret
Function at 0x10003d20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
movzx eax, byte [esi + 4]
push edi
push eax
push str.r_jj
call fcn.10010270
add esp, 4
push eax
xor ebx, ebx
push ebx
mov ecx, 0x10121028
call fcn.10007950
movzx eax, byte [esi + 4]
add esp, 0xc
cmp eax, 0xc
ja case.default.0x10003d55
jmp dword [eax*4 + 0x10003f00]
mov ecx, 0xe
push 0x1388
call fcn.100080a0
push eax
push 2
mov ebx, 0x1012b1c8
call fcn.100100c0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0xf
jmp 0x10003d61
mov ecx, 0x10
jmp 0x10003d61
mov ecx, 0x11
jmp 0x10003d61
mov ecx, 0x12
jmp 0x10003d61
mov ecx, 0x13
jmp 0x10003d61
mov ecx, 0x14
jmp 0x10003d61
mov ecx, 0x16
jmp 0x10003d61
mov ecx, 0x18
jmp 0x10003d61
mov ecx, 0x19
jmp 0x10003d61
mov ecx, 0x15
call fcn.100080a0
mov esi, eax
push esi
push 1
push 2
push 0x1001b060
mov dword [ebp - 4], esi
call fcn.10010270
add esp, 4
push eax
push ebx
mov ecx, 0x10121028
call fcn.10007950
add esp, 0x14
cmp byte [0x10126144], 1
jne 0x10003e2d
cmp dword [0xe609e8], 2
push esi
jle 0x10003e0b
call fcn.10010030
jmp 0x10003e10
call fcn.1000d360
add esp, 4
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0x1012b1c8
call fcn.1000fac0
call fcn.1000fc20
mov eax, dword [0x1012af7c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [sym.imp.USER32.dll_UnregisterClassA]
cmp eax, ebx
je 0x10003e5f
push ebx
push ebx
push 0x10
push eax
call esi
mov ecx, dword [0x1012bc1c]
mov edx, dword [str.SPLASH]
push ecx
push edx
mov dword [0x1012af7c], ebx
call edi
mov eax, dword [0x1012b0a4]
cmp eax, ebx
je 0x10003e84
push ebx
push ebx
push 0x10
push eax
call esi
mov eax, dword [0x1012bc1c]
mov ecx, dword [str.SPLASH]
push eax
push ecx
mov dword [0x1012b0a4], ebx
call edi
mov eax, dword [0x1012b1cc]
cmp eax, ebx
je 0x10003ea9
push ebx
push ebx
push 0x10
push eax
call esi
mov edx, dword [0x1012bc1c]
mov eax, dword [str.SPLASH]
push edx
push eax
mov dword [0x1012b1cc], ebx
call edi
mov eax, dword [ebp - 4]
push 0x2b39c0
push 0x6a
mov esi, 0x1012b1c8
call fcn.1000f8c0
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push ebx
push esi
push 0x1000ff90
push ebx
push ebx
mov dword [0x1012b1d0], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [0x1012b1d0]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [0x1012b1d0]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10003e13
Function at 0x100043b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov ecx, 0x15
call fcn.100080a0
mov esi, eax
push esi
push 1
push 2
push 0x1001b060
mov dword [ebp - 4], esi
call fcn.10010270
add esp, 4
push eax
push 0
mov ecx, 0x10121028
call fcn.10007950
add esp, 0x14
cmp byte [0x10126144], 1
jne 0x10004425
cmp dword [0xe609e8], 2
push esi
jle 0x10004403
call fcn.10010030
jmp 0x10004408
call fcn.1000d360
add esp, 4
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0x1012b1c8
call fcn.1000fac0
call fcn.1000fc20
mov eax, dword [0x1012af7c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [sym.imp.USER32.dll_UnregisterClassA]
test eax, eax
je 0x1000445c
push 0
push 0
push 0x10
push eax
call esi
mov eax, dword [0x1012bc1c]
mov ecx, dword [str.SPLASH]
push eax
push ecx
mov dword [0x1012af7c], 0
call edi
mov eax, dword [0x1012b0a4]
test eax, eax
je 0x10004487
push 0
push 0
push 0x10
push eax
call esi
mov edx, dword [0x1012bc1c]
mov eax, dword [str.SPLASH]
push edx
push eax
mov dword [0x1012b0a4], 0
call edi
mov eax, dword [0x1012b1cc]
test eax, eax
je 0x100044b3
push 0
push 0
push 0x10
push eax
call esi
mov ecx, dword [0x1012bc1c]
mov edx, dword [str.SPLASH]
push ecx
push edx
mov dword [0x1012b1cc], 0
call edi
mov eax, dword [ebp - 4]
push 0x2b39c0
push 0x6a
mov esi, 0x1012b1c8
call fcn.1000f8c0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push esi
push 0x1000ff90
push 0
push 0
mov dword [0x1012b1d0], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [0x1012b1d0]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x1012b1d0]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000440b
Function at 0x10005c10
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [0x1001b018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x10005d03
lea ecx, [ebp - 0x438]
push ecx
lea ecx, [ebp - 0x230]
call fcn.1000fca0
add esp, 4
test al, al
je 0x10005d03
mov esi, dword [0x1012c074]
mov eax, dword [0x1012c078]
cmp esi, eax
je 0x10005d03
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
mov edi, esi
lea edx, [ebp - 0x24]
sub edi, edx
add edi, 4
cmp esi, eax
je 0x10005d03
mov edx, dword [esi]
lea eax, [ebp - 0x43c]
push eax
push 0x20
lea ecx, [ebp - 0x24]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x10005cf4
mov ecx, 0x20
cmp dword [ebp - 0x43c], ecx
jne 0x10005cf4
lea eax, [ebp - 0x24]
lea esp, [esp]
mov edx, dword [edi + eax]
cmp edx, dword [eax]
jne 0x10005cd4
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x10005cc0
jmp 0x10005cf4
mov eax, dword [esi]
push eax
push str._MemoryProtect__Detect_OffSet_____0x_08X_
push 0x1012c6a4
call ebx
push 0
push 0xd
mov ecx, 0x1012c6a4
call fcn.10004170
add esp, 0x14
mov eax, dword [0x1012c078]
add esi, 0x24
add edi, 0x24
cmp esi, eax
jne 0x10005c8b
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10013454
mov esp, ebp
pop ebp
ret
Function at 0x10006a40
Capabilities:
Check mutex on windows

Disassembly:
push edi
xor edi, edi
mov eax, 1
cmp dword [0x10121004], edi
jle 0x10006aaa
push ebx
xor ebx, ebx
push esi
mov eax, dword [0x10121008]
add eax, ebx
cmp dword [eax + 0x14], 0x10
jb 0x10006a63
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10006a99
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
add ebx, 0x1c
cmp edi, dword [0x10121004]
jl 0x10006a54
pop esi
pop ebx
mov eax, 1
pop edi
ret
inc edi
mov dword [0x1012101c], esi
pop esi
mov dword [0x10121018], edi
xor eax, eax
pop ebx
pop edi
ret

Function at 0x10007150
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1184
call fcn.10013e60
mov eax, dword [0x1001b018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x180], esi
test esi, esi
je 0x10007260
lea eax, [ebp - 0x17c]
push eax
push 0x1000
lea ecx, [ebp - 0x1180]
push ecx
push esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x10007260
xor ebx, ebx
test dword [ebp - 0x17c], 0xfffffffc
jbe 0x10007260
push 0x63
lea edx, [ebp - 0x6f]
push 0
push edx
mov byte [ebp - 0x70], 0
call sub.MSVCR100.dll_memset
mov ecx, dword [ebp + ebx*4 - 0x1180]
add esp, 0xc
push 0x104
lea eax, [ebp - 0x178]
push eax
push ecx
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
test eax, eax
je 0x1000724e
lea eax, [ebp - 0x178]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10007200
sub eax, edx
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100133a0
add esp, 4
mov edi, eax
push esi
lea eax, [ebp - 0x178]
push eax
push edi
call dword [sym.imp.MSVCR100.dll_mbstowcs]
add esp, 0xc
lea ecx, [ebp - 0x70]
push ecx
call fcn.10007000
test al, al
je 0x10007273
mov esi, dword [ebp - 0x180]
mov edx, dword [ebp - 0x17c]
inc ebx
shr edx, 2
cmp ebx, edx
jb 0x100071c2
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10013454
mov esp, ebp
pop ebp
ret
push 0
push 1
lea ecx, [ebp - 0x70]
call fcn.10004170
mov ecx, dword [ebp - 4]
add esp, 8
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.10013454
mov esp, ebp
pop ebp
ret
Function at 0x100072a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1001b018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [0x1012c024]
mov dword [ebp - 0x48], eax
xor al, al
mov dword [ebp - 0x40], ecx
mov byte [ebp - 0x25], al
cmp edi, dword [0x1012c028]
je 0x100073be
mov ebx, dword [ebp - 0x38]
mov ecx, 4
lea edx, [ebp - 0x24]
sub ecx, edx
mov dword [ebp - 0x44], ecx
cmp byte [edi], 0
jne 0x1000738f
test al, al
jne 0x10007315
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x38]
push eax
push ecx
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x30]
lea ebx, [ebp - 0x2c]
call fcn.100075a0
test al, al
je 0x100073be
mov ebx, dword [ebp - 0x38]
mov byte [ebp - 0x25], 1
mov esi, dword [edi + 4]
mov eax, dword [ebx + 0x34]
mov edx, esi
sub edx, eax
push edx
push eax
push ebx
call dword [sym.imp.dbghelp.dll_ImageRvaToSection]
test eax, eax
je 0x1000738c
mov ecx, dword [eax + 0x14]
sub ecx, dword [eax + 0xc]
push 0
sub ecx, dword [ebx + 0x34]
push 0
add ecx, esi
mov esi, dword [ebp - 0x2c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x1000738c
push 0
lea edx, [ebp - 0x3c]
push edx
push 0x20
lea eax, [ebp - 0x24]
push eax
push esi
mov dword [ebp - 0x3c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000738c
mov edx, dword [ebp - 0x44]
mov ecx, 0x20
lea eax, [ebp - 0x24]
lea edx, [edx + edi + 4]
cmp ecx, 4
jb 0x100073d3
mov esi, dword [edx + eax]
cmp esi, dword [eax]
jne 0x1000738c
sub ecx, 4
add eax, 4
jmp 0x10007378
mov al, byte [ebp - 0x25]
add edi, 0x48
cmp edi, dword [0x1012c028]
jne 0x100072e3
test al, al
je 0x100073be
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x2c]
push edx
call esi
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10013454
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x34]
lea esi, [edi + 0x28]
mov edi, dword [ebp - 0x40]
mov ecx, 8
push eax
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x2c]
push edx
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.10013454
mov esp, ebp
pop ebp
ret 4
Function at 0x10007420
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1001b018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [0x1012c014]
mov dword [ebp - 0x48], eax
xor al, al
mov dword [ebp - 0x40], ecx
mov byte [ebp - 0x25], al
cmp edi, dword [0x1012c018]
je 0x1000753e
mov ebx, dword [ebp - 0x38]
mov ecx, 4
lea edx, [ebp - 0x24]
sub ecx, edx
mov dword [ebp - 0x44], ecx
cmp byte [edi], 0
jne 0x1000750f
test al, al
jne 0x10007495
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x38]
push eax
push ecx
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x30]
lea ebx, [ebp - 0x2c]
call fcn.100075a0
test al, al
je 0x1000753e
mov ebx, dword [ebp - 0x38]
mov byte [ebp - 0x25], 1
mov esi, dword [edi + 4]
mov eax, dword [ebx + 0x34]
mov edx, esi
sub edx, eax
push edx
push eax
push ebx
call dword [sym.imp.dbghelp.dll_ImageRvaToSection]
test eax, eax
je 0x1000750c
mov ecx, dword [eax + 0x14]
sub ecx, dword [eax + 0xc]
push 0
sub ecx, dword [ebx + 0x34]
push 0
add ecx, esi
mov esi, dword [ebp - 0x2c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x1000750c
push 0
lea edx, [ebp - 0x3c]
push edx
push 0x20
lea eax, [ebp - 0x24]
push eax
push esi
mov dword [ebp - 0x3c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000750c
mov edx, dword [ebp - 0x44]
mov ecx, 0x20
lea eax, [ebp - 0x24]
lea edx, [edx + edi + 4]
cmp ecx, 4
jb 0x10007553
mov esi, dword [edx + eax]
cmp esi, dword [eax]
jne 0x1000750c
sub ecx, 4
add eax, 4
jmp 0x100074f8
mov al, byte [ebp - 0x25]
add edi, 0x48
cmp edi, dword [0x1012c018]
jne 0x10007463
test al, al
je 0x1000753e
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x2c]
push edx
call esi
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10013454
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x34]
lea esi, [edi + 0x28]
mov edi, dword [ebp - 0x40]
mov ecx, 8
push eax
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x2c]
push edx
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.10013454
mov esp, ebp
pop ebp
ret 4
Function at 0x100075a0
Capabilities:
Parse pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x1001b018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 0
push 0
push 3
push 0
push 1
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp + 0xc]
push closesocket
push eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100075f3
lea edx, [ebp - 0x38]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x10007606
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10013454
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push edi
push 0
push eax
push ecx
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
test edi, edi
jne 0x1000763d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10013454
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 0x14]
push edx
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x1000767b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10007674
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10007674
mov edx, 0x14c
cmp word [ecx + 4], dx
je 0x1000769b
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10013454
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 0x44]
mov dword [ebx], esi
mov dword [edx], edi
mov edx, dword [ebp - 0x3c]
mov dword [edx], eax
mov eax, dword [ebp - 0x40]
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.10013454
mov esp, ebp
pop ebp
ret 8
Function at 0x10007830
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1001b018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10121240]
push ebx
push esi
push edi
test eax, eax
js 0x1000793d
cmp eax, 1
jge 0x1000793d
mov esi, eax
imul esi, esi, 0x214
add esi, 0x1012102c
push str.DataLogs
inc eax
lea ebx, [esi + 4]
push 0x100
mov dword [0x10121240], eax
push ebx
mov dword [esi], 1
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
cmp dword [esi], 0
je 0x1000793d
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0xe]
movzx ecx, word [ebp - 0x12]
movzx edx, word [ebp - 0x14]
push eax
push ecx
push edx
push ebx
lea edi, [esi + 0x110]
push str.._s_04d__02d__02d.log
push edi
mov dword [esi + 0x104], eax
mov dword [esi + 0x108], ecx
mov dword [esi + 0x10c], edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 0x210], eax
cmp eax, 0xffffffff
jne 0x10007918
mov dword [esi], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10013454
mov esp, ebp
pop ebp
ret
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x1000793d
mov ecx, dword [esi + 0x210]
push ecx
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10013454
mov esp, ebp
pop ebp
ret