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

Disassembly:
mov eax, dword [esp + 8]
sub esp, 8
test eax, eax
push esi
push edi
je 0x405168
mov edi, dword [esp + 0x20]
test edi, edi
je 0x405168
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x405168
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push 0x20019
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405152
mov edx, dword [esp + 0x18]
lea eax, [esp + 8]
push eax
push edi
lea ecx, [esp + 0x14]
push ecx
push 0
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
add esp, 8
ret
pop edi
xor eax, eax
pop esi
add esp, 8
ret

Function at 0x405720
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
sub esp, 0x220
mov eax, dword [0x4844f0]
xor eax, esp
mov dword [esp + 0x21c], eax
mov ecx, dword [0x47009c]
mov eax, dword [str.vm331Rmv.ini]
mov edx, dword [0x4700a0]
mov dword [esp + 0x10], ecx
lea ecx, [esp]
push ecx
mov dword [esp + 0x10], eax
mov al, byte [0x4700a4]
push 0x486368
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], edx
mov byte [esp + 0x24], al
mov dword [esp + 0x14], 0x24
mov dword [esp + 0x10], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4057af
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 4]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0
push str.RemoveSettingFile
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4057c0
xor eax, eax
mov cl, byte [esp + eax + 0xc]
mov byte [esp + eax + 0x1c], cl
add eax, 1
test cl, cl
jne 0x4057b1
push ebx
push esi
push edi
lea ecx, [esp + 0x28]
push ecx
push str.szFileName___s_n
call fcn.00404b50
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 8
xor edi, edi
mov dword [0x4867c0], edi
mov esi, 0x4867c8
jmp 0x4057f0
push pe_nt_image_headers32
lea edx, [esp + 0x12c]
push 0
push edx
call fcn.00440bc0
push edi
lea eax, [esp + 0x138]
push str.MetroAP__d
push eax
call fcn.0043ecbd
add esp, 0x18
lea ecx, [esp + 0x28]
push ecx
push 0x104
push esi
push 0x470063
lea edx, [esp + 0x138]
push edx
push str.StiMonitor
call ebx
test eax, eax
je 0x405865
push eax
push esi
push edi
push str.m_MSMetroAPName__d____s____d__n
call fcn.00404b50
add dword [0x4867c0], 1
add esi, 0x104
add esp, 0x10
add edi, 1
cmp esi, 0x489a90
jl 0x4057f0
mov ecx, dword [esp + 0x228]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.0043e789
add esp, 0x220
ret
Function at 0x405c30
Capabilities:
Get common file path

Disassembly:
sub esp, 0x84
mov eax, dword [0x4844f0]
xor eax, esp
mov dword [esp + 0x80], eax
push 0x80
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp]
add eax, 0xffffffff
lea ebx, [ebx]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x405c60
mov ecx, dword [str.mediakaka.wav]
mov edx, dword [0x470140]
mov dword [eax], ecx
mov ecx, dword [0x470144]
mov dword [eax + 4], edx
mov edx, dword [0x470148]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
push 1
lea eax, [esp + 4]
push eax
call dword [sym.imp.WINMM.dll_sndPlaySoundA]
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0043e789
add esp, 0x84
ret
Function at 0x407460
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x38
push ebp
mov ebp, dword [esp + 0x44]
push edi
xor edi, edi
cmp ebp, edi
jne 0x407477
pop edi
xor eax, eax
pop ebp
add esp, 0x38
ret
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x44]
push ebx
mov ebx, dword [esp + 0x50]
lea eax, [ebx + 0x36]
mov dword [esp + 0xe], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x20], eax
imul eax, ecx
push esi
mov dword [esp + 0x28], ecx
lea ecx, [eax + eax*2]
push 0x46fa10
push edx
mov word [esp + 0x18], 0x4d42
mov word [esp + 0x1e], di
mov word [esp + 0x20], di
mov dword [esp + 0x22], 0x36
mov dword [esp + 0x28], 0x28
mov word [esp + 0x34], 1
mov word [esp + 0x36], 0x18
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
call fcn.0043eb18
mov esi, eax
add esp, 8
cmp esi, edi
jne 0x40750d
push 0x46fa10
push str.C:CapImage.bmp
call fcn.0043eb18
add esp, 8
mov esi, eax
push esi
push 1
lea eax, [esp + 0x18]
push 0xe
push eax
call fcn.0043fbed
push esi
push 1
lea ecx, [esp + 0x38]
push 0x28
push ecx
call fcn.0043fbed
push esi
push ebx
push 1
push ebp
call fcn.0043fbed
push esi
call fcn.0043e80b
add esp, 0x34
pop esi
pop ebx
pop edi
mov eax, 1
pop ebp
add esp, 0x38
ret

Function at 0x4077e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 8
push esi
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x18]
push eax
push 0x20019
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esi], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x407815
xor eax, eax
pop esi
add esp, 8
ret
mov ecx, dword [esp + 0x14]
mov eax, 4
lea edx, [esp + 4]
push edx
mov edx, dword [esp + 0x1c]
push esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 0x10]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40780e
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x409490
Capabilities:
Get common file path

Disassembly:
sub esp, 0x264
mov eax, dword [0x4844f0]
xor eax, esp
mov dword [esp + 0x260], eax
push esi
mov esi, dword [esp + 0x26c]
push edi
mov edi, dword [esp + 0x274]
push 0x46fd10
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x164]
push ecx
push 0
push 0
push 0x8027
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push 0x58
lea edx, [esp + 0xc]
push 0
push edx
call fcn.00440bc0
add esp, 0xc
lea edx, [esp + 8]
lea eax, [esp + 0x60]
lea ecx, [esp + 0x164]
push edx
mov dword [esp + 0xc], 0x58
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], str.JPEG__.jpg_
mov dword [esp + 0x48], 0x470518
mov dword [esp + 0x24], 2
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0x104
mov dword [esp + 0x30], 0
mov dword [esp + 0x3c], str.Save_Picture_As
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], 0x806
call dword [sym.imp.comdlg32.dll_GetSaveFileNameA]
test eax, eax
jne 0x409573
pop edi
pop esi
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.0043e789
add esp, 0x264
ret
mov eax, dword [esp + 0x20]
cmp eax, 1
jne 0x4095a1
mov eax, dword [esp + 0x280]
mov ecx, dword [esp + 0x27c]
mov edx, dword [esp + 0x278]
push eax
push ecx
push edx
lea eax, [esp + 0x6c]
push edi
push eax
call fcn.00407550
jmp 0x4095c9
cmp eax, 2
jne 0x4095cc
mov ecx, dword [esp + 0x280]
mov edx, dword [esp + 0x27c]
mov eax, dword [esp + 0x278]
push ecx
push edx
push eax
lea ecx, [esp + 0x6c]
push edi
push ecx
call fcn.00407460
add esp, 0x14
mov ecx, dword [esp + 0x268]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.0043e789
add esp, 0x264
ret
Function at 0x40b5b0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [0x48cd98], 0
jne 0x40b68c
call fcn.00405670
test eax, eax
je 0x40b5db
push str.WaitForDeviceEvent_Done_.....
push 0x48d1c0
call fcn.00404890
add esp, 8
jmp 0x40b5f7
push str.CreateKsSynchronousDeviceControl_fail
call fcn.00404b50
push str.CreateKsSynchronousDeviceControl_fail
push 0x48d1c0
call fcn.00404890
add esp, 0xc
push str.CreatePollingThread
mov dword [0x486258], 0x3e7
call fcn.00404b50
push str.CreatePollingThread
push 0x48d1c0
call fcn.00404890
add esp, 0xc
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
mov dword [0x48cd9c], eax
jne 0x40b650
push str.Create_event_fail
call fcn.00404b50
push str.Create_event_fail
push 0x48d1c0
call fcn.00404890
add esp, 0xc
lea eax, [esp]
push eax
push 0
push 0
push 0x40b550
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [0x48cd98], eax
jne 0x40b68c
push str.Create_thread_fail
call fcn.00404b50
push str.Create_thread_fail
push 0x48d1c0
call fcn.00404890
add esp, 0xc
pop ecx
ret
Function at 0x428300
Capabilities:
Inspect section memory permissions

Disassembly:
call fcn.00427cb8
xor eax, dword [ebx]
ficomp dword [ecx + 0xa0878b]
add byte [eax], al
cmp eax, ebx
je 0x42836c
add eax, esi
cmp dword [eax], ebx
je 0x42836c
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x428367
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x428351
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x428359
cmp edx, ebx
jne 0x4284a7
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x428328
add eax, dword [eax + 4]
jmp 0x428315
mov dword [ebp + 0xc], ebx
jmp 0x428377
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x42838f
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
add byte [eax - 0x15], ah
push ds
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x42840b
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4283f2
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4283fb
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x428405
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4283e7
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x428371
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x428458
dec eax
je 0x42844f
sub eax, 3
je 0x428446
mov dword [ebp - 4], 0x40
jmp 0x428475
mov dword [ebp - 4], 4
jmp 0x42845b
mov dword [ebp - 4], 0x20
jmp 0x42845b
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x4284a7
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x428427
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00427cb8
mov ch, bh
xchg ebp, eax
call 0x6a56fa9e
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x4284b3
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x428c36
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [eax + 0x38fffffc], esp
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.00427cc8
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00427c7d
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.00427cb8
retf

Function at 0x429425
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
mov eax, dword [ebp - 0x700]
cmp eax, dword [ebp - 0x38c]
jae 0x42945a
mov eax, dword [ebp - 0x748]
add eax, dword [ebp - 0x700]
movsx eax, byte [eax]
movsx ecx, byte [ebp - 8]
xor eax, ecx
mov ecx, dword [ebp - 0x748]
add ecx, dword [ebp - 0x700]
mov byte [ecx], al
mov eax, dword [ebp - 0x748]
add eax, dword [ebp - 0x700]
movsx eax, byte [eax]
not eax
mov ecx, dword [ebp - 0x748]
add ecx, dword [ebp - 0x700]
mov byte [ecx], al
jmp 0x4293fb
and dword [ebp - 0x700], 0
jmp 0x429470
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
mov eax, dword [ebp - 0x700]
cmp eax, dword [ebp - 0x688]
jae 0x4294c2
mov eax, dword [ebp - 0x6f8]
add eax, dword [ebp - 0x700]
movsx eax, byte [eax]
movsx ecx, byte [ebp - 8]
xor eax, ecx
mov ecx, dword [ebp - 0x6f8]
add ecx, dword [ebp - 0x700]
mov byte [ecx], al
mov eax, dword [ebp - 0x6f8]
add eax, dword [ebp - 0x700]
movsx eax, byte [eax]
not eax
mov ecx, dword [ebp - 0x6f8]
add ecx, dword [ebp - 0x700]
mov byte [ecx], al
jmp 0x429463
and byte [ebp - 0x714], 0
and byte [ebp - 0x713], 0
mov byte [ebp - 0x712], 0x71
and byte [ebp - 0x711], 0
mov byte [ebp - 0x710], 0xc8
mov byte [ebp - 0x70f], 0xe2
mov byte [ebp - 0x70e], 0xe1
mov byte [ebp - 0x70d], 0xe1
mov byte [ebp - 0x70c], 0xea
mov byte [ebp - 0x70b], 0xc8
mov byte [ebp - 0x70a], 0xe7
mov byte [ebp - 0x709], 0xf6
mov byte [ebp - 0x708], 0xbc
mov byte [ebp - 0x707], 0x8e
call fcn.00427cb8
or dword [ecx - 0x5a7f8212], ebx
mov esp, 0xfffff8
and byte [ebp - 0x743], 0
mov byte [ebp - 0x742], 2
and byte [ebp - 0x741], 0
mov byte [ebp - 0x740], 0xb1
mov byte [ebp - 0x73f], 0x92
mov byte [ebp - 0x73e], 0x9c
mov byte [ebp - 0x73d], 0x99
mov byte [ebp - 0x73c], 0xb1
mov byte [ebp - 0x73b], 0x94
invalid
invalid

Function at 0x42a058
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x42a091
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00422a5a
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00422a35
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]
Function at 0x42bff4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x42c037
call fcn.00421cd8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42c037
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42c052
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0042bbab
test ebx, ebx
mov esi, eax
je 0x42c050
test edi, edi
je 0x42c050
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x43e789
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4844f0]
jne 0x43e793
repz ret
jmp fcn.00447153
Function at 0x459bb0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0044ae1e
xor ebx, ebx
cmp dword [0x48fb5c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x459c85
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x459bf0
xor eax, eax
jmp 0x459d49
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x474ce0
push edi
call esi
cmp eax, ebx
je 0x459be9
push eax
call fcn.0044adbb
mov dword [esp], 0x474cd0
push edi
mov dword [0x48fb5c], eax
call esi
push eax
call fcn.0044adbb
mov dword [esp], 0x474cbc
push edi
mov dword [0x48fb60], eax
call esi
push eax
call fcn.0044adbb
mov dword [0x48fb64], eax
lea eax, [ebp - 8]
push eax
call fcn.00445e87
test eax, eax
pop ecx
pop ecx
je 0x459c53
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0044741b
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x459c85
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0044adbb
cmp eax, ebx
pop ecx
mov dword [0x48fb6c], eax
je 0x459c85
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044adbb
pop ecx
mov dword [0x48fb68], eax
mov eax, dword [0x48fb68]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x459cfe
cmp dword [0x48fb6c], esi
je 0x459cfe
push eax
call fcn.0044ae27
pop ecx
call eax
cmp eax, ebx
je 0x459ccb
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x48fb6c]
call fcn.0044ae27
pop ecx
call eax
test eax, eax
je 0x459ccb
test byte [ebp - 0x18], 1
jne 0x459cfe
lea eax, [ebp - 0xc]
push eax
call fcn.00445f36
test eax, eax
pop ecx
je 0x459ce6
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0044741b
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x459cf5
or dword [ebp + 0x10], 0x200000
jmp 0x459d2f
or dword [ebp + 0x10], 0x40000
jmp 0x459d2f
mov eax, dword [0x48fb60]
cmp eax, esi
je 0x459d2f
push eax
call fcn.0044ae27
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x459d2f
mov eax, dword [0x48fb64]
cmp eax, esi
je 0x459d2f
push dword [ebp - 4]
push eax
call fcn.0044ae27
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x48fb5c]
call fcn.0044ae27
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46ae91
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4844f0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0046ad09
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00440bc0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x46aee0
cmp dword [ebp - 0x1c], 5
jb 0x46aef8
jmp 0x46aef4
cmp dword [ebp - 0x10], 1
jne 0x46aef8
cmp dword [ebp - 0x1c], 4
ja 0x46aef4
jne 0x46aef8
cmp dword [ebp - 0x18], 0
jbe 0x46aef8
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x476950
call fcn.0046aac6
test eax, eax
jge 0x46af19
mov byte [0x486222], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043e789
add ebp, 0x78
leave
ret
Function at 0x1092510
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x10bf094]
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.010a4250
add esp, 0xc
mov dword [esp + 4], edi
cmp esi, edi
je 0x10925df
mov eax, 0x10bc640
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1092555
sub eax, edx
sar eax, 1
je 0x10925df
lea edx, [esp + 0xc]
push edx
push 0x104
call dword [fcn.010b5124]
push 0x10bc640
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.010a26bd
push 0x10bc638
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.010a2164
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, edi
je 0x10925df
push eax
push 1
push 0x200
push esi
call fcn.010a29da
mov eax, dword [esp + 0x14]
push eax
call fcn.010a2412
add esp, 0x14
mov eax, 1
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.010a1ee8
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, edi
pop edi
xor ecx, esp
call fcn.010a1ee8
add esp, 0x214
ret

Function at 0x10927c0
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 [0x10b5140]
push 0x10bc6dc
lea eax, [esp + 0x10]
push 0x10c1de8
push eax
call fcn.010a2164
mov eax, dword [esp + 0x18]
add esp, 0xc
test eax, eax
je 0x10928f1
push 2
push 0
push eax
call fcn.010a2e4f
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ecx
call fcn.010a3071
mov esi, eax
add esp, 4
push esi
call fcn.010a30df
mov edx, dword [esp + 0x10]
add esp, 4
push 0
push 0
push edx
mov edi, eax
call fcn.010a2e4f
mov eax, dword [esp + 0x18]
add esp, 0xc
push eax
push esi
push 1
push edi
call fcn.010a29da
add esp, 0x10
cmp esi, eax
jne 0x10928d3
call dword [0x10b512c]
push eax
call fcn.010a2d91
add esp, 4
call fcn.010a2da3
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul qword [0x10bd138]
fmul qword [0x10bd130]
fadd qword [0x10bd128]
call fcn.010a4af0
cmp esi, eax
jl 0x10928d3
mov ebx, edi
sub ebx, eax
add ebx, esi
call fcn.01092770
mov ecx, dword [esp + 0xc]
push ecx
call fcn.010a2412
add esp, 4
push 0x10c1de8
call dword [0x10b511c]
push 0x10bc774
lea edx, [esp + 0x10]
push 0x10c1de8
push edx
call fcn.010a2164
mov eax, dword [esp + 0x18]
add esp, 0xc
test eax, eax
je 0x10928f1
push eax
push esi
push 1
push edi
call fcn.010a2319
add esp, 0x10
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10928e4
push eax
call fcn.010a2412
add esp, 4
test edi, edi
je 0x10928f1
push edi
call fcn.010a1edd
add esp, 4
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x10947b0
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 0x10948a1
cmp edi, 0xa
jb 0x10948a1
lea eax, [edi*4]
mov dword [esp + 0x14], eax
inc eax
push eax
call fcn.010a1f46
add esp, 4
mov esi, eax
push esi
push ebx
lea edx, [esp + 0x1c]
mov ecx, edi
call fcn.01094630
add esp, 8
test eax, eax
je 0x109489a
mov eax, dword [esp + 0x1c]
push 0x10bb804
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.010a2164
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x1094825
lea ebp, [eax - 2]
jmp 0x1094850
mov edi, dword [esp + 0x14]
push eax
push edi
push 1
push esi
call fcn.010a2319
add esp, 0x10
cmp eax, edi
je 0x1094867
mov ebp, 0xfffffffe
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1094850
push eax
call fcn.010a2412
add esp, 4
test esi, esi
je 0x109485d
push esi
call fcn.010a2010
add esp, 4
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov edi, dword [0x10b512c]
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.010a2319
add esp, 0x10
jmp 0x109483f
mov ebp, 0xfffffffd
jmp 0x109483f
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 8
ret