joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413950
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5aec07
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], 1
mov eax, dword [0x633828]
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 0x2c]
lea ecx, [esp + 8]
push eax
mov byte [esp + 0x24], 5
call fcn.00598998
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 8]
call fcn.00598998
lea ecx, [esp + 4]
call fcn.00598d81
lea edx, [esp + 0x30]
lea ecx, [esp + 0xc]
push edx
call fcn.00598998
lea ecx, [esp + 0xc]
call fcn.00598d81
mov eax, dword [esp + 4]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x413a3f
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x413a3f
push eax
lea ecx, [esp + 8]
call fcn.005954c8
test eax, eax
jne 0x413a3f
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx - 8]
mov esi, dword [eax - 8]
cmp edx, esi
jg 0x413a3f
mov eax, esi
lea ecx, [esp + 0x10]
sub eax, edx
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.005953b2
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 6
call fcn.00598998
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 5
call fcn.0059885f
push 0x60b360
lea ecx, [esp + 0xc]
call fcn.00595942
mov esi, dword [esp + 0x28]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.005985d4
mov dword [esp + 0x14], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 4
call fcn.0059885f
lea ecx, [esp + 4]
mov byte [esp + 0x20], 3
call fcn.0059885f
lea ecx, [esp + 8]
mov byte [esp + 0x20], 2
call fcn.0059885f
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 1
call fcn.0059885f
lea ecx, [esp + 0x30]
mov byte [esp + 0x20], 0
call fcn.0059885f
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc

Function at 0x413f90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5aed38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x50]
push eax
mov eax, dword [esi + 0x54]
push ecx
push edx
push eax
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov dword [esp + 0x2c], 1
call fcn.005985d4
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x30], 2
call fcn.005985d4
mov edx, dword [esi]
mov ecx, esi
mov byte [esp + 0x2c], 1
call dword [edx + 8]
lea ecx, [esp + 0x1c]
mov esi, eax
mov byte [esp + 0x14], 0
call fcn.0059885f
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], 0xffffffff
call fcn.0059885f
mov ecx, dword [esp + 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret 8
Function at 0x414110
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x5aed98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov eax, dword [0x633828]
mov dword [esp + 0x18], 0
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea esi, [ecx + 4]
push 0x5c
mov ecx, esi
mov byte [esp + 0x1c], 2
call fcn.005954a6
cmp eax, 0xffffffff
je 0x41418c
push eax
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.0059542e
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 3
call fcn.00598998
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 2
call fcn.0059885f
push 0x60b360
lea ecx, [esp + 0xc]
call fcn.00595861
push 0x5c
lea ecx, [esp + 0x24]
call fcn.005954a6
cmp eax, 0xffffffff
pop esi
je 0x4141fd
lea ecx, [esp + 8]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.0059542e
push eax
lea ecx, [esp + 4]
mov byte [esp + 0x18], 4
call fcn.00598998
lea ecx, [esp + 8]
mov byte [esp + 0x14], 2
call fcn.0059885f
mov edx, dword [esp]
push 0
push edx
call fcn.0057cbd2
add esp, 8
test eax, eax
jne 0x4141fd
mov eax, dword [esp]
mov ecx, dword [esp + 4]
push eax
push ecx
call fcn.0057cfee
add esp, 8
test eax, eax
je 0x4141fd
mov edx, dword [esp]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp + 4]
mov byte [esp + 0x14], 1
call fcn.0059885f
lea ecx, [esp]
mov byte [esp + 0x14], 0
call fcn.0059885f
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.0059885f
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x415300
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x5af068
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov eax, dword [0x633828]
mov dword [esp + 0x18], 0
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea esi, [ecx + 4]
push 0x5c
mov ecx, esi
mov byte [esp + 0x1c], 2
call fcn.005954a6
cmp eax, 0xffffffff
je 0x41537c
push eax
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.0059542e
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 3
call fcn.00598998
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 2
call fcn.0059885f
push 0x60b360
lea ecx, [esp + 0xc]
call fcn.00595861
push 0x5c
lea ecx, [esp + 0x24]
call fcn.005954a6
cmp eax, 0xffffffff
pop esi
je 0x4153ed
lea ecx, [esp + 8]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.0059542e
push eax
lea ecx, [esp + 4]
mov byte [esp + 0x18], 4
call fcn.00598998
lea ecx, [esp + 8]
mov byte [esp + 0x14], 2
call fcn.0059885f
mov edx, dword [esp]
push 0
push edx
call fcn.0057cbd2
add esp, 8
test eax, eax
jne 0x4153ed
mov eax, dword [esp]
mov ecx, dword [esp + 4]
push eax
push ecx
call fcn.0057cfee
add esp, 8
test eax, eax
je 0x4153ed
mov edx, dword [esp]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp + 4]
mov byte [esp + 0x14], 1
call fcn.0059885f
lea ecx, [esp]
mov byte [esp + 0x14], 0
call fcn.0059885f
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.0059885f
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 4

Function at 0x415430
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x5af0a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x633828]
mov dword [esp + 0x1c], 0
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea esi, [ecx + 4]
mov bl, 2
push 0x5c
mov ecx, esi
mov byte [esp + 0x20], bl
call fcn.005954a6
cmp eax, 0xffffffff
je 0x41549f
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.0059542e
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 3
call fcn.00598998
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], bl
call fcn.0059885f
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0xc]
call fcn.00598998
mov edx, dword [esp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push edx
call esi
push 0x5c
lea ecx, [esp + 0xc]
call fcn.005954a6
cmp eax, 0xffffffff
je 0x415522
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
call fcn.0059542e
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 4
call fcn.00598998
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], bl
call fcn.0059885f
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push ecx
push edx
call fcn.0057d2d3
add esp, 8
test eax, eax
je 0x415512
mov eax, dword [esp + 8]
push eax
call esi
push 0x5c
lea ecx, [esp + 0xc]
call fcn.005954a6
cmp eax, 0xffffffff
jne 0x4154ca
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 1
call fcn.0059885f
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 0
call fcn.0059885f
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0059885f
mov ecx, dword [esp + 0x14]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x415b00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5af1db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x633828]
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 4]
mov dword [ecx], eax
xor edi, edi
push 0x638420
mov dword [esp + 0x1c], edi
call fcn.005989e8
lea ecx, [esp + 0xc]
or eax, 0xffffffff
mov dword [esi + 0x10], edi
push ecx
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], eax
mov dword [esi + 8], eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x14], edi
mov dword [esi], edi
call fcn.00595b8f
lea edx, [esp + 0xc]
push edx
call fcn.00595b8f
lea eax, [esp + 0xc]
push eax
call fcn.00595b8f
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x415b90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5af200
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x20]
xor ebx, ebx
lea eax, [edi + 0x2c]
mov dword [esp + 0x18], ebx
push eax
push ecx
push edx
call fcn.00598af4
push eax
lea ecx, [esi + 4]
mov byte [esp + 0x1c], 1
call fcn.00598998
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], bl
call fcn.0059885f
mov eax, dword [edi]
push 1
mov dword [esi + 8], eax
mov ecx, dword [edi + 0x1c]
push ebx
push ebx
push ecx
call fcn.0057d500
mov ecx, dword [edi + 0x20]
xor ebp, ebp
add eax, ecx
push 0xffffffffffffffff
adc edx, ebp
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
lea edx, [edi + 4]
push edx
lea ecx, [esp + 0x28]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
call fcn.00595b43
mov eax, dword [esp + 0x20]
lea ecx, [edi + 0xc]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x28]
mov dword [esi + 0x18], eax
call fcn.00595b43
mov edx, dword [esp + 0x20]
add edi, 0x14
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x28]
mov dword [esi + 0x1c], edx
call fcn.00595b43
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x20], eax
mov dword [esi], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
call fcn.0059885f
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0xc
Function at 0x4185f0
Capabilities:
Access peb ldr_data
Check os version
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5af799
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
mov eax, dword [0x633828]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
lea edi, [esi + 0x38]
mov dword [edi], eax
xor ebp, ebp
mov ebx, 1
push str.Unknown_OS
mov ecx, edi
mov dword [esp + 0xb8], ebp
mov dword [esi], vtable.CIROSVersionInfo.0
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], ebp
mov dword [esi + 0x24], ebp
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebp
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], ebp
call fcn.005989e8
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0x94
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4187cd
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x28], eax
dec eax
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], edx
je 0x418741
dec eax
jne 0x418780
mov edx, dword [esp + 0x24]
cmp ecx, 3
mov dword [esi + 0x34], edx
jne 0x4186bf
push str.Windows_NT_3
mov ecx, edi
call fcn.005989e8
mov dword [esi + 0x10], ebx
cmp dword [esi + 0x2c], 4
jne 0x4186d4
push str.Windows_NT_4
mov ecx, edi
call fcn.005989e8
mov dword [esi + 0x14], ebx
cmp dword [esi + 0x2c], 5
jne 0x41872a
cmp dword [esi + 0x30], ebp
jne 0x4186ee
push str.Windows_2000
mov ecx, edi
call fcn.005989e8
mov dword [esi + 0x18], ebx
cmp dword [esi + 0x2c], 5
jne 0x41872a
cmp dword [esi + 0x30], 2
jne 0x418709
push str.Windows_Server_XP_x64
mov ecx, edi
call fcn.005989e8
mov dword [esi + 0x20], ebx
cmp dword [esi + 0x2c], 5
jne 0x41872a
mov eax, dword [esi + 0x30]
cmp eax, ebp
je 0x41872a
cmp eax, 2
je 0x41872a
push str.Windows_XP
mov ecx, edi
call fcn.005989e8
mov dword [esi + 0x1c], ebx
cmp dword [esi + 0x2c], 6
jne 0x418780
push str.Windows_Vista
mov ecx, edi
call fcn.005989e8
mov dword [esi + 0x24], ebx
jmp 0x418780
mov eax, dword [esp + 0x24]
and eax, 0xffff
cmp ecx, 4
mov dword [esi + 0x34], eax
ja 0x418762
jne 0x418758
cmp edx, ebp
ja 0x418762
mov dword [esi + 4], ebx
push str.Windows_95
jmp 0x418779
cmp edx, 0xa
ja 0x418771
mov dword [esi + 8], ebx
push str.Windows_98
jmp 0x418779
mov dword [esi + 0xc], ebx
push str.Windows_ME
mov ecx, edi
call fcn.005989e8
mov ecx, dword [0x633828]
mov dword [esp + 0x10], ecx
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x2c]
mov ecx, dword [edi]
push edx
push eax
push ecx
lea edx, [esp + 0x1c]
push str._s_v_d._d
push edx
mov byte [esp + 0xc8], bl
call fcn.0059584e
add esp, 0x14
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.00598998
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 0
call fcn.0059885f
jmp 0x4187d0
mov dword [esi + 4], ebx
mov ecx, dword [esp + 0xac]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret
Function at 0x4193b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5af975
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov eax, dword [0x633828]
push esi
mov dword [esp + 8], 0
mov dword [esp + 4], eax
lea ecx, [esp + 0xc]
push 0x104
push ecx
mov dword [esp + 0x120], 1
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 0xc]
lea ecx, [esp + 4]
push edx
call fcn.005989e8
mov esi, dword [esp + 0x120]
lea eax, [esp + 4]
push eax
mov ecx, esi
call fcn.005985d4
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x118], 0
call fcn.0059885f
mov ecx, dword [esp + 0x110]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x118
ret 4

Function at 0x41b3c0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x5afe88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov dword [esp + 0x10], 0
mov eax, dword [0x633828]
xor esi, esi
mov dword [esp + 4], eax
push 0x60b360
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], 2
call fcn.00595861
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0xc]
push str._s_s.lnk
push eax
call fcn.0059584e
mov ecx, dword [esp + 0x14]
push esi
push ecx
call fcn.0057cbd2
add esp, 0x18
test eax, eax
jne 0x41b439
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x41b4b6
jmp 0x41b4b1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0xc]
push str._s_s.pif
push edx
call fcn.0059584e
mov eax, dword [esp + 0x14]
push 0
push eax
call fcn.0057cbd2
add esp, 0x18
test eax, eax
jne 0x41b476
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x41b4b6
jmp 0x41b4b1
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0xc]
push str._s_s.url
push ecx
call fcn.0059584e
mov edx, dword [esp + 0x14]
push 0
push edx
call fcn.0057cbd2
add esp, 0x18
test eax, eax
jne 0x41b4b6
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x41b4b6
mov esi, 1
lea ecx, [esp + 4]
mov byte [esp + 0x10], 1
call fcn.0059885f
lea ecx, [esp + 0x18]
mov byte [esp + 0x10], 0
call fcn.0059885f
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], 0xffffffff
call fcn.0059885f
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x41b500
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x5afeab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x318
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 4]
push eax
push 0x5e9528
push 1
push 0
push 0x5e9518
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x41b686
push esi
mov esi, dword [esp + 0x330]
lea ecx, [esp + 0x14]
mov eax, dword [esi + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 8]
mov eax, dword [esi]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x50]
mov ecx, dword [esp + 8]
mov eax, dword [esi + 4]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov eax, dword [0x633828]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 8]
mov edx, dword [esi + 0x14]
push edx
push eax
mov ecx, dword [eax]
mov dword [esp + 0x330], 0
call dword [ecx + 0x3c]
mov ecx, dword [esp + 8]
mov edi, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
push edi
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x44]
mov ecx, dword [esp + 8]
mov eax, dword [esi + 0x18]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ecx, dword [esp + 8]
mov eax, dword [esi + 0x20]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov si, word [esi + 0x1c]
test si, si
je 0x41b5e8
mov eax, dword [esp + 8]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push 0x5e9538
mov edx, dword [eax]
push eax
call dword [edx]
mov esi, eax
test esi, esi
jl 0x41b665
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x11a]
mov word [esp + 0x118], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x118]
push 0x104
lea eax, [esp + 0x18]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x118]
push 1
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
mov esi, eax
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [esp + 0x10]
mov dword [esp + 0x328], 0xffffffff
call fcn.0059885f
mov eax, esi
pop esi
mov ecx, dword [esp + 0x31c]
pop edi
mov dword fs:[0], ecx
add esp, 0x324
ret 4
Function at 0x41b8c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5aff49
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x633828]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 4]
mov dword [edi], eax
mov ecx, dword [0x633828]
lea ebp, [esi + 8]
mov dword [esp + 0x24], 0
mov dword [ebp], ecx
lea ebx, [esi + 0xc]
mov byte [esp + 0x24], 1
mov ecx, ebx
call fcn.0040e840
mov ecx, edi
mov byte [esp + 0x24], 2
mov dword [esi], vtable.CIRTextFile.0
call fcn.005987ea
mov ecx, ebp
call fcn.005987ea
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x60cdf8
call fcn.005988cd
push ecx
mov byte [esp + 0x30], 3
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x638420
call fcn.005988cd
mov ecx, ebx
mov byte [esp + 0x30], 2
call fcn.0040e930
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret
Function at 0x41cca0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x5b0228
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor ebx, ebx
mov dword [esp + 0x48], ebx
call fcn.0040ef30
lea ecx, [esp + 0x20]
call fcn.004090a0
mov eax, dword [0x633828]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x50]
mov byte [esp + 0x48], 2
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41cd39
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 1
call fcn.0059885f
mov dword [esp + 0x20], vtable.CArray_class_CFileInfo__class_CFileInfo__.0
mov esi, dword [esp + 0x24]
mov byte [esp + 0x48], 3
cmp esi, ebx
je 0x41cea3
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x41ce9a
lea edi, [eax]
push 0
mov ecx, esi
call fcn.0040a570
add esi, 0x38
dec edi
jne 0x41cd25
jmp 0x41ce96
push 0x60b360
lea ecx, [esp + 0x54]
call fcn.00595861
push 0x60b360
lea ecx, [esp + 0x54]
call fcn.00598c3b
push ebx
push ebx
push ebx
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str..tns
call fcn.005988cd
push ecx
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x68], 4
call fcn.005985d4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x64], 2
call fcn.004094f0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], ebx
cmp eax, ebx
jle 0x41ce5c
mov eax, dword [esp + 0x24]
lea ecx, [ebx + eax + 4]
push ecx
lea ecx, [esp + 0x14]
call fcn.00598998
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.005985d4
mov ecx, ebp
call fcn.0041cf40
test eax, eax
je 0x41ce44
push 0xc
call fcn.005985a0
mov esi, eax
add esp, 4
test esi, esi
je 0x41ce44
mov eax, dword [0x633828]
lea ecx, [esi + 4]
lea edi, [esi + 8]
mov dword [ecx], eax
mov edx, dword [0x633828]
lea eax, [esp + 0x10]
mov dword [edi], edx
push eax
mov dword [esi], vtable.CIRTransitionDLLInfo.0
call fcn.00598998
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.005985d4
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
call fcn.0041d050
push eax
mov ecx, edi
mov byte [esp + 0x4c], 5
call fcn.00598998
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 2
call fcn.0059885f
push esi
lea ecx, [ebp + 4]
call fcn.00597e0e
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
inc eax
add ebx, 0x38
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x41cda0
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 1
call fcn.0059885f
mov dword [esp + 0x20], vtable.CArray_class_CFileInfo__class_CFileInfo__.0
mov esi, dword [esp + 0x24]
mov byte [esp + 0x48], 6
test esi, esi
je 0x41cea3
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41ce9a
lea edi, [eax]
mov ecx, esi
call fcn.00408980
add esi, 0x38
dec edi
jne 0x41ce89
mov esi, dword [esp + 0x24]
push esi
call fcn.005985c9
add esp, 4
lea ecx, [esp + 0x50]
mov dword [esp + 0x48], 0xffffffff
call fcn.0059885f
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x3c
ret 4
Function at 0x41de10
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5b04bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov eax, dword [0x633828]
push esi
push edi
mov esi, ecx
mov dword [esp + 8], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x11c], 0
push ecx
push 0x104
mov edi, 1
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x10]
lea ecx, [esp + 8]
push edx
call fcn.005989e8
push 0x60b360
lea ecx, [esp + 0xc]
call fcn.00595861
add esi, 0x20
mov eax, dword [esp + 8]
push edi
push eax
push str._s_ir_tmpfnt__d
push esi
call fcn.0059584e
mov eax, dword [esi]
push 0
push eax
call fcn.0057cbd2
add esp, 0x18
test eax, eax
je 0x41deb2
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push esi
call fcn.005985d4
call fcn.0040e470
add esp, 4
test eax, eax
jne 0x41deb5
inc edi
jmp 0x41de77
lea ecx, [esp + 8]
mov dword [esp + 0x11c], 0xffffffff
call fcn.0059885f
mov ecx, dword [esp + 0x114]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x118
ret