joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4492d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp byte [esi], 0
je 0x449317
cmp byte [esi + 1], 0
je 0x44931f
mov eax, dword [esi + 4]
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [esi], 0
push ebx
je 0x449332
cmp byte [esi + 1], 0
je 0x449326
mov edx, dword [esi + 4]
push 1
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, eax
sub ebx, dword [esi + 0xc]
mov dword [ebp - 4], ebx
jmp 0x44933a
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x1c], ecx
jmp 0x4492f1
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 4]
jmp 0x44933a
mov eax, dword [esi + 0x1c]
mov dword [ebp - 4], eax
mov ebx, eax
push edi
mov edi, 0xffff
mov dword [ebp - 8], edi
cmp ebx, edi
jae 0x44934c
mov dword [ebp - 8], ebx
mov edi, ebx
push 0x404
call fcn.00484b34
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x449369
pop edi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 4
mov dword [ebp - 0x14], 0xffffffff
cmp edi, eax
jbe 0x44947d
jmp 0x449389
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
add eax, 0x400
mov dword [ebp - 0xc], edi
cmp eax, edi
ja 0x449398
mov dword [ebp - 0xc], eax
mov eax, ebx
sub eax, dword [ebp - 0xc]
sub ebx, eax
mov dword [ebp - 0x1c], eax
cmp ebx, 0x404
jbe 0x4493af
mov ebx, 0x404
cmp byte [esi], 0
je 0x4493d4
cmp byte [esi + 1], 0
je 0x44947d
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push 0
push 0
add ecx, eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x4493d7
mov dword [esi + 0x1c], eax
cmp byte [esi], 0
mov edi, ebx
je 0x449400
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi + 4]
push 0
lea eax, [ebp - 0x18]
push eax
push ebx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4493fb
mov byte [esi + 8], 1
mov eax, dword [ebp - 0x18]
jmp 0x449429
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea edx, [eax + ebx]
cmp edx, ecx
jbe 0x449411
sub ecx, eax
mov edi, ecx
mov ecx, dword [esi + 0x14]
mov edx, dword [ebp - 0x10]
push edi
add ecx, eax
push ecx
push edx
call fcn.004868f0
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div ebx
cmp eax, 1
jne 0x44947d
lea eax, [ebx - 3]
test eax, eax
js 0x44946b
lea esp, [esp]
mov ecx, dword [ebp - 0x10]
dec eax
cmp byte [eax + ecx], 0x50
jne 0x44945f
cmp byte [eax + ecx + 1], 0x4b
jne 0x44945f
cmp byte [eax + ecx + 2], 5
jne 0x44945f
cmp byte [eax + ecx + 3], 6
je 0x449465
test eax, eax
jns 0x449440
jmp 0x44946b
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x44947d
mov edx, dword [ebp - 8]
cmp dword [ebp - 0xc], edx
jb 0x449380
mov eax, dword [ebp - 0x10]
push eax
call fcn.00484aba
mov eax, dword [ebp - 0x14]
add esp, 4
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a300
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [esi], 0
push edi
jne 0x44a3bf
cmp dword [esi + 4], 0xffffffff
jne 0x44a3bf
lea edi, [esi + 0x140]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, edi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44a330
sub eax, edx
mov al, byte [eax + esi + 0x13f]
cmp al, 0x5c
je 0x44a361
cmp al, 0x2f
je 0x44a361
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x44a350
mov ax, word [0x50e3c0]
mov word [edi], ax
mov edi, dword [ebp + 0xc]
cmp edi, 1
jne 0x44a385
push edi
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x44a385
mov eax, 0x2000000
pop edi
pop ecx
pop ebp
ret 8
mov edx, dword [ebp + 8]
lea ecx, [ebp + 0xc]
push ecx
push edi
push edx
push ebx
call fcn.00449040
add esp, 0x10
test eax, eax
jne 0x44a3a4
mov eax, dword [ebp + 0xc]
pop edi
pop ecx
pop ebp
ret 8
call fcn.004494a0
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0x200
pop edi
pop ecx
pop ebp
ret 8
mov eax, 0x1000000
pop edi
pop ecx
pop ebp
ret 8

Function at 0x44aa60
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x51f584]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x44aa94
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x44aa94
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov al, byte [ebx]
test al, al
je 0x44ab4e
push esi
mov esi, ebx
mov ecx, ebx
cmp al, 0x2f
je 0x44aaab
cmp al, 0x5c
jne 0x44aaad
mov esi, ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x44aaa3
cmp esi, ebx
je 0x44aae1
sub esi, ebx
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004868f0
lea ecx, [ebp - 0x20c]
push ecx
push edi
mov byte [ebp + esi - 0x20c], 0
call fcn.0044aa60
add esp, 0x14
mov byte [ebp - 0x108], 0
test edi, edi
je 0x44ab00
lea edx, [ebp - 0x108]
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x44aaf6
mov eax, ebx
mov edx, ebx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44ab04
lea edi, [ebp - 0x108]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x44ab14
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [ebp - 0x108]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
pop esi
cmp eax, 0xffffffff
jne 0x44ab4e
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00482279
mov esp, ebp
pop ebp
ret
Function at 0x44b800
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed3ae
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x51f584]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, 1
test byte [0x527408], al
jne 0x44b86e
or dword [0x527408], eax
push 0x4f9920
mov dword [0x527400], 0xf
mov dword [0x5273fc], 0
mov byte [0x5273ec], 0
call fcn.00482de7
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [0x5273fc], 0
je 0x44b887
push 0xffffffffffffffff
push 0
push 0x5273ec
mov ecx, esi
call fcn.00402c40
push 0x103
lea eax, [ebp - 0x113]
push 0
push eax
mov byte [ebp - 0x114], 0
call fcn.00486870
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesEyooClientSVC
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44b996
mov ecx, dword [ebp - 0x118]
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x114]
push eax
push 0
push 0
push str.ImagePath
push ecx
mov dword [ebp - 0x11c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x118]
push edx
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x44b912
mov eax, edi
jmp 0x44b996
lea eax, [ebp - 0x114]
push 0x5c
push eax
call fcn.00485adf
add esp, 8
test eax, eax
je 0x44b92a
mov byte [eax], 0
cmp byte [ebp - 0x114], 0x22
jne 0x44b953
lea eax, [ebp - 0x113]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44b940
sub eax, edx
push eax
lea ecx, [ebp - 0x113]
push ecx
jmp 0x44b971
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44b960
sub eax, edx
push eax
lea edx, [ebp - 0x114]
push edx
mov ecx, esi
call fcn.00402a50
cmp dword [esi + 0x10], 0
jne 0x44b985
mov eax, 3
jmp 0x44b996
push 0xffffffffffffffff
push 0
push esi
mov ecx, 0x5273ec
call fcn.00402c40
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00482279
mov esp, ebp
pop ebp
ret
Function at 0x44b9b0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x51f584]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x525bc4]
cmp eax, 0xfffffc19
jne 0x44bb2f
push ebx
push esi
xor ebx, ebx
push str.kernel32
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
jne 0x44b9ea
xor eax, eax
jmp 0x44ba0c
push str.IsWow64Process
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x44ba09
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov eax, dword [ebp - 0x24]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x28]
push ecx
and eax, 0x100
add eax, 0x20019
push eax
push ebx
push str.SOFTWAREEYOOCLIENTSTATUS
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44bada
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, 4
lea edx, [ebp - 0x24]
push edx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2c]
push ecx
push ebx
push str.BootFrom
push edx
call esi
test eax, eax
jne 0x44ba81
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x2c]
push edx
push ebx
push str.MixedMode
push eax
call esi
test eax, eax
je 0x44ba94
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482279
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x34], ebx
je 0x44bac2
cmp dword [ebp - 0x30], ebx
jne 0x44bac2
mov eax, 1
pop esi
mov dword [0x525bc4], eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482279
mov esp, ebp
pop ebp
ret
pop esi
mov dword [0x525bc4], ebx
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482279
mov esp, ebp
pop ebp
ret
push 0x1a
push str.D:_syssetmenu_setmenu.dat
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 0xf
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x20], bl
call fcn.00402a50
mov eax, dword [ebp - 0x20]
mov esi, 0x10
cmp dword [ebp - 0xc], esi
jae 0x44bb06
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
neg eax
sbb eax, eax
inc eax
mov dword [0x525bc4], eax
cmp dword [ebp - 0xc], esi
jb 0x44bb2d
mov edx, dword [ebp - 0x20]
push edx
call fcn.00482624
mov eax, dword [0x525bc4]
add esp, 4
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482279
mov esp, ebp
pop ebp
ret
Function at 0x44bb40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x51f584]
xor eax, ebp
mov dword [ebp - 4], eax
test edi, edi
jne 0x44bb67
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482279
mov esp, ebp
pop ebp
ret
push 0x1ff
lea eax, [ebp - 0x203]
push 0
push eax
mov byte [ebp - 0x204], 0
call fcn.00486870
push 0x1ff
lea ecx, [ebp - 0x403]
push 0
push ecx
mov byte [ebp - 0x404], 0
call fcn.00486870
push str.MainServer
push 0x5110ac
lea edx, [ebp - 0x404]
call fcn.0044c310
add esp, 0x20
push esi
push 0x200
lea edx, [ebp - 0x204]
push edx
push 0
lea eax, [ebp - 0x404]
push eax
push str.setup
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x204]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44bbe0
sub eax, edx
inc eax
cmp eax, 0x40
ja 0x44bb57
lea eax, [ebp - 0x204]
mov edx, edi
mov ecx, eax
sub edx, ecx
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x44bc00
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
call fcn.00482279
mov esp, ebp
pop ebp
ret
Function at 0x44c140
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x51f584]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
mov dword [ebp - 0x8c], edi
push str.kernel32
mov dword [ebp - 0x90], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, edi
je 0x44c194
push str.IsWow64Process
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, edi
je 0x44c194
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
push 0x3f
lea ecx, [ebp - 0x43]
push edi
push ecx
mov byte [ebp - 0x44], 0
call fcn.00486870
add esp, 0xc
cmp dword [ebp - 0x90], edi
je 0x44c208
push 0x3f
lea edx, [ebp - 0x83]
push edi
push edx
mov byte [ebp - 0x84], 0
call fcn.00486870
add esp, 0xc
lea edi, [ebp - 0x84]
mov esi, str.C:Program_Files__x86_E_YOOBaseSeting.ini
call fcn.0044bb40
test eax, eax
je 0x44c21d
mov eax, edi
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44c1f2
sub eax, edx
push eax
lea eax, [ebp - 0x84]
push eax
jmp 0x44c2f5
lea edi, [ebp - 0x44]
mov esi, str.C:Program_FilesE_YOOBaseSeting.ini
call fcn.0044bb40
test eax, eax
jne 0x44c2d0
push str.RE___cant_read_server_ip_from_base_seting_r_n
call fcn.00406590
add esp, 4
lea ecx, [ebp - 0x88]
push ecx
xor esi, esi
push esi
push esi
push str.SOFTWARECentury_Networkyileyoo
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x88], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44c28f
lea edx, [ebp - 0x94]
push edx
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x8c]
push ecx
push esi
push str.ServerIpAddress
push edx
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x94], 0x40
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44c29c
push str.RE___cant_read_server_ip_from_registry_r_n
jmp 0x44c294
push str.RE___cant_read_server_ip_from_registry__cant_open_root_key__r_n
call fcn.00406590
add esp, 4
mov eax, dword [ebp - 0x88]
cmp eax, esi
je 0x44c2ad
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x44]
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], esi
mov byte [ebx], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44c2c0
sub eax, edx
push eax
lea eax, [ebp - 0x44]
push eax
jmp 0x44c2f5
lea eax, [ebp - 0x44]
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44c2e7
sub eax, edx
push eax
lea ecx, [ebp - 0x44]
push ecx
mov ecx, ebx
call fcn.00402a50
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, ebx
pop esi
call fcn.00482279
mov esp, ebp
pop ebp
ret
Function at 0x44c330
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0708
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x51f584]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x44c3a4
mov ecx, esi
lea edi, [ebp - 0x2c]
call fcn.004075b0
xor edi, edi
mov edx, eax
mov dword [ebp - 4], edi
call fcn.004071c0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x44c396
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00482624
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
push 0x50e574
push esi
call fcn.004843b8
mov edi, eax
add esp, 8
test edi, edi
jne 0x44c3d8
mov edx, esi
call fcn.004079b0
push 0x50e574
push esi
call fcn.004843b8
mov edi, eax
add esp, 8
test edi, edi
jne 0x44c3d8
lea eax, [edi + 0x6e]
jmp 0x44c3fe
mov esi, dword [ebp + 8]
push edi
push esi
push 1
push ebx
call fcn.0048457e
add esp, 0x10
cmp eax, esi
je 0x44c3f3
mov eax, 0x1d
jmp 0x44c3fe
push edi
call fcn.004848a9
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00482279
mov esp, ebp
pop ebp
ret
Function at 0x44c420
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eef38
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x51f584]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov ebx, 0x10
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x14], ebx
jb 0x44c461
mov eax, dword [esi]
jmp 0x44c463
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x44c4b3
cmp dword [esi + 0x14], ebx
jb 0x44c477
mov ecx, dword [esi]
jmp 0x44c479
mov ecx, esi
lea edi, [ebp - 0x2c]
call fcn.004075b0
xor edi, edi
mov edx, eax
mov dword [ebp - 4], edi
call fcn.004071c0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], ebx
jb 0x44c4a5
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00482624
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
cmp dword [esi + 0x14], ebx
jb 0x44c4bc
mov eax, dword [esi]
jmp 0x44c4be
mov eax, esi
push 0x50e574
push eax
call fcn.004843b8
mov edi, eax
add esp, 8
test edi, edi
jne 0x44c502
cmp dword [esi + 0x14], ebx
jb 0x44c4db
mov edx, dword [esi]
jmp 0x44c4dd
mov edx, esi
call fcn.004079b0
cmp dword [esi + 0x14], ebx
jb 0x44c4e9
mov esi, dword [esi]
push 0x50e574
push esi
call fcn.004843b8
mov edi, eax
add esp, 8
test edi, edi
jne 0x44c502
lea eax, [edi + 0x6e]
jmp 0x44c532
mov eax, dword [ebp - 0x30]
mov esi, dword [eax + 0x10]
cmp dword [eax + 0x14], ebx
jb 0x44c50f
mov eax, dword [eax]
push edi
push esi
push 1
push eax
call fcn.0048457e
add esp, 0x10
cmp eax, esi
je 0x44c527
mov eax, 0x1d
jmp 0x44c532
push edi
call fcn.004848a9
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00482279
mov esp, ebp
pop ebp
ret
Function at 0x44c550
Capabilities:
Check if file exists
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ec898
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x51f584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov esi, 0x10
cmp dword [ebp + 0x1c], esi
jae 0x44c591
lea eax, [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x44c5c8
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], esi
jb 0x44c5b4
mov edx, dword [ebp + 8]
push edx
call fcn.00482624
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
xor ebx, ebx
jmp 0x44c5d7
mov esi, 0x10
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], esi
jae 0x44c5e2
lea eax, [ebp + 8]
push 0
push pe_nt_image_headers32
push 3
push 0
push 3
push 0xc0000000
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x44c643
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x44c66f
push 0xfa
inc ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp ebx, 5
jl 0x44c5d2
mov dword [ebp - 4], esi
cmp dword [ebp + 0x1c], 0x10
jb 0x44c5b4
mov ecx, dword [ebp + 8]
push ecx
call fcn.00482624
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp - 0x10]
push 0
push 0
push 0
push 4
push 0
push esi
mov dword [edx], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
push esi
test edi, edi
jne 0x44c6a0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 0x10
jb 0x44c5b4
mov eax, dword [ebp + 8]
push eax
call fcn.00482624
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push 0
push 0
push 0
push 2
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
push edi
test eax, eax
jne 0x44c6e6
call esi
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.00402fb0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call esi
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.00402fb0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44c710
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x51f584]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 0x10
mov dword [ebp - 0x40], eax
cmp dword [edi + 0x14], ebx
jb 0x44c739
mov eax, dword [edi]
jmp 0x44c73b
mov eax, edi
push 0x50e464
push eax
call fcn.004843b8
mov esi, eax
add esp, 8
test esi, esi
jne 0x44c78e
cmp dword [edi + 0x14], ebx
jb 0x44c758
mov edx, dword [edi]
jmp 0x44c75a
mov edx, edi
call fcn.004079b0
cmp dword [edi + 0x14], ebx
jb 0x44c766
mov edi, dword [edi]
push 0x50e464
push edi
call fcn.004843b8
mov esi, eax
add esp, 8
test esi, esi
jne 0x44c78e
lea eax, [esi + 0x6e]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00482279
mov esp, ebp
pop ebp
ret
push esi
call fcn.00484401
lea ecx, [ebp - 0x3c]
push ecx
push eax
call fcn.00483735
add esp, 0xc
test eax, eax
js 0x44c834
push 0x400000
call fcn.004830f5
push esi
mov edi, eax
call fcn.00485af6
add esp, 8
test eax, eax
jne 0x44c812
push 0x400000
push 0
push edi
call fcn.00486870
push esi
push 0x400000
push 1
push edi
call fcn.00485e46
push esi
mov ebx, eax
call fcn.00485b1e
add esp, 0x20
test eax, eax
jne 0x44c805
mov ecx, dword [ebp - 0x40]
push ebx
push edi
call fcn.00404050
push esi
call fcn.00485af6
add esp, 4
test eax, eax
je 0x44c7c2
jmp 0x44c812
push str.Read_error
call fcn.00485b6e
add esp, 4
push edi
call fcn.004834d8
push esi
call fcn.004848a9
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00482279
mov esp, ebp
pop ebp
ret
push esi
call fcn.004848a9
mov ecx, dword [ebp - 8]
add esp, 4
pop edi
pop esi
xor ecx, ebp
mov eax, 0x3ee
pop ebx
call fcn.00482279
mov esp, ebp
pop ebp
ret
Function at 0x44ca80
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [0x51f584]
xor eax, esp
mov dword [esp + 0xa8], eax
xor eax, eax
push ebx
push esi
push edi
mov edi, edx
mov byte [esp + 0x90], al
mov dword [esp + 0x91], eax
mov dword [esp + 0x95], eax
mov dword [esp + 0x99], eax
mov dword [esp + 0x9d], eax
mov dword [esp + 0xa1], eax
mov dword [esp + 0xa5], eax
mov dword [esp + 0xa9], eax
mov dword [esp + 0xad], eax
mov byte [esp + 0x6c], al
mov dword [esp + 0x6d], eax
mov dword [esp + 0x71], eax
mov dword [esp + 0x75], eax
mov dword [esp + 0x79], eax
mov dword [esp + 0x7d], eax
mov dword [esp + 0x81], eax
mov dword [esp + 0x85], eax
mov dword [esp + 0x89], eax
cmp dword [edi + 0x10], eax
jne 0x44cb2c
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.00482279
mov esp, ebp
pop ebp
ret
cmp dword [ecx + 0x14], 0x10
mov edx, dword [ecx + 0x10]
jb 0x44cb37
mov ecx, dword [ecx]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
push ecx
mov eax, edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.00423480
lea esi, [esp + 0x14]
lea ebx, [esp + 0x94]
call fcn.00423540
lea eax, [esp + 0x70]
push eax
mov ecx, ebx
push ecx
call fcn.004026b0
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x44cb93
mov edi, dword [edi]
lea edx, [esp + 0x6c]
push edx
push edi
call fcn.004836bb
mov ecx, dword [esp + 0xbc]
add esp, 8
pop edi
neg eax
pop esi
sbb eax, eax
pop ebx
xor ecx, esp
inc eax
call fcn.00482279
mov esp, ebp
pop ebp
ret