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

Disassembly:
push 0xffffffffffffffff
push 0x4426eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, ecx
call fcn.00403490
push 0x58
call fcn.00439f84
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x30], 0
je 0x4043b5
mov ecx, eax
call fcn.00428d40
jmp 0x4043b7
xor eax, eax
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
push edi
push ebx
mov ecx, eax
mov dword [esp + 0x38], 0xffffffff
mov dword [esi + 0x158], eax
call fcn.00428cc0
mov ecx, dword [esi + 0x158]
push 1
call fcn.00428d20
lea ecx, [esp + 0xc]
call fcn.00406d50
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 1
call fcn.00427c80
mov eax, dword [esi + 0x2c]
lea ecx, [esi + 0x44]
push eax
lea edx, [esi + 0x5c]
push ecx
lea eax, [esp + 0x1c]
push edx
lea ecx, [esi + 4]
push eax
push ecx
push edi
push ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x4c], 2
call fcn.00407630
mov bl, al
test bl, bl
je 0x40443a
lea edx, [esp + 0x14]
mov ecx, esi
push edx
call fcn.00404940
mov bl, al
test bl, bl
jne 0x40444a
lea ecx, [esp + 0x14]
call fcn.00427dd0
mov ecx, esi
call fcn.00403490
lea ecx, [esp + 0x14]
call fcn.00427da0
lea ecx, [esi + 0x13c]
call fcn.004161d0
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.00427ca0
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.00406d80
mov ecx, dword [esp + 0x28]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8

Function at 0x405950
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x442810
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
mov edi, dword [esp + 0x34]
mov esi, ecx
test edi, edi
jne 0x405989
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 0x14
mov ecx, dword [esi + 0x28]
push ebx
mov ebx, 1
mov eax, dword [ecx + 0x88]
cmp eax, 0xc0
jne 0x4059a6
mov ebx, 2
jmp 0x4059b2
cmp eax, 0x100
jne 0x4059b2
mov ebx, 3
call fcn.00407ca0
push eax
mov eax, dword [esi + 0x28]
mov ecx, dword [eax + 0x8c]
push ecx
mov ecx, edi
call fcn.00428e50
lea ecx, [esp + 0x38]
mov edi, eax
call fcn.00429c50
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
call fcn.00416690
mov ecx, dword [esi + 0x20]
mov byte [esp + 0x30], 1
call fcn.00403450
push eax
lea ecx, [esp + 0x10]
call fcn.00416360
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
mov ecx, dword [esi + 0x28]
push edx
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.00407ca0
push eax
push edi
lea ecx, [esp + 0x58]
call fcn.00429a30
lea ecx, [esp + 0xc]
mov bl, al
mov byte [esp + 0x30], 0
call fcn.00416820
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call fcn.00429c80
mov ecx, dword [esp + 0x28]
mov al, bl
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 0x14
Function at 0x405a60
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x442838
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
push edi
mov edi, 1
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0x88]
cmp eax, 0xc0
jne 0x405a99
mov edi, 2
jmp 0x405aa5
cmp eax, 0x100
jne 0x405aa5
mov edi, 3
lea ecx, [esp + 0xc]
call fcn.00429c50
lea ecx, [esp + 0x2c]
mov dword [esp + 0x50], 0
call fcn.00416690
mov ecx, dword [esi + 0x20]
mov byte [esp + 0x50], 1
call fcn.00403450
push eax
lea ecx, [esp + 0x30]
call fcn.00416360
lea ecx, [esp + 0x10]
call fcn.0042a110
mov ecx, dword [esi + 0x28]
mov byte [esp + 0x50], 2
call fcn.00407ca0
mov ecx, dword [esi + 0x28]
push eax
mov eax, dword [esp + 0x5c]
mov edx, dword [ecx + 0x8c]
lea ecx, [esp + 0x14]
push edx
push eax
call fcn.0042a170
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x60]
push edx
push eax
push ecx
lea edx, [esp + 0x3c]
push edi
lea eax, [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.00429710
lea ecx, [esp + 0x10]
mov bl, al
mov byte [esp + 0x50], 1
call fcn.0042a150
lea ecx, [esp + 0x2c]
mov byte [esp + 0x50], 0
call fcn.00416820
lea ecx, [esp + 0xc]
mov dword [esp + 0x50], 0xffffffff
call fcn.00429c80
mov ecx, dword [esp + 0x48]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret 0x14

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

Disassembly:
push 0xffffffffffffffff
push 0x442a48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0041cde0
xor edi, edi
lea ecx, [esi + 0x60]
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov word [esi + 0x10], di
mov word [esi + 0x12], di
mov word [esi + 0x14], di
mov word [esi + 0x16], di
mov word [esi + 0x18], di
mov dword [esi + 0x1a], edi
mov dword [esi + 0x1e], edi
mov dword [esi + 0x22], edi
mov word [esi + 0x26], di
mov word [esi + 0x28], di
mov dword [esi + 0x2c], edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x30], edi
mov word [esi + 0x34], di
mov word [esi + 0x36], di
mov word [esi + 0x38], di
mov word [esi + 0x3a], di
mov word [esi + 0x3c], di
mov word [esi + 0x3e], di
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov word [esi + 0x4c], di
mov word [esi + 0x4e], di
mov word [esi + 0x50], di
mov word [esi + 0x52], di
mov word [esi + 0x54], di
mov dword [esi + 0x56], edi
mov dword [esi + 0x5a], edi
call fcn.00416690
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi], vtable.ZipWalkEntry.0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x407ce0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x442a93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x34]
call fcn.00419470
xor ebx, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x98], ebx
call fcn.00416690
mov eax, dword [esp + 0xa4]
mov byte [esp + 0x98], 1
cmp eax, ebx
je 0x407dfd
push eax
lea ecx, [esp + 0x1c]
call fcn.00416360
cmp byte [esp + 0xa0], bl
je 0x407d4f
lea ecx, [esp + 0x18]
call fcn.00417040
lea ecx, [esp + 0x18]
call fcn.00406c10
push eax
lea ecx, [esp + 0x38]
call fcn.004196e0
mov esi, dword [esp + 0xa8]
lea eax, [esp + 0x34]
push esi
push eax
call fcn.00417d70
mov ebp, eax
add esp, 8
cmp ebp, 0xffffffff
je 0x407dfd
mov ecx, dword [edi + 0x30]
cmp ecx, ebx
je 0x407df3
mov eax, dword [edi + 0x2c]
cmp eax, ebx
je 0x407df3
lea edx, [esp + 0x14]
push ebx
push edx
push ecx
push eax
push ebp
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x30]
cmp eax, ecx
je 0x407df3
cmp esi, ebx
je 0x407df3
mov edx, dword [esi]
push str.Failed_to_write_data_to_file
mov ecx, esi
call dword [edx + 0x10]
mov ebx, dword [esi]
lea ecx, [esp + 0x18]
call fcn.00406c10
push eax
push str.filename
mov ecx, esi
call dword [ebx + 0x28]
mov ecx, dword [edi + 0x30]
mov eax, dword [esi]
push ecx
push str.data_size
mov ecx, esi
call dword [eax + 0x2c]
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
push eax
push str.bytes_written
mov ecx, esi
call dword [edx + 0x2c]
xor ebx, ebx
push esi
push ebp
call fcn.004288f0
add esp, 8
mov esi, dword [esp + 0xac]
cmp esi, ebx
je 0x407e20
lea ecx, [esp + 0x13]
mov byte [esp + 0x13], bl
push ecx
mov ecx, edi
call fcn.00407cd0
push eax
mov ecx, esi
call fcn.00428020
lea ecx, [esp + 0x18]
mov byte [esp + 0x98], bl
call fcn.00416820
lea ecx, [esp + 0x34]
mov dword [esp + 0x98], 0xffffffff
call fcn.00419530
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x8c
ret 0x10
Function at 0x408030
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x442acc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
call fcn.00427e60
xor ebx, ebx
lea ecx, [esi + 0x3c]
mov dword [esp + 0x14], ebx
mov byte [esi + 0x30], bl
mov byte [esi + 0x31], bl
mov byte [esi + 0x32], bl
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call fcn.00416690
lea ecx, [esi + 0x5c]
mov byte [esp + 0x14], 1
mov byte [esi + 0x58], bl
mov byte [esi + 0x59], bl
mov byte [esi + 0x5a], bl
mov byte [esi + 0x5b], bl
call fcn.00416690
lea ecx, [esi + 0x80]
mov byte [esp + 0x14], 2
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
call fcn.0041a9e0
lea ecx, [esi + 0xb4]
mov byte [esp + 0x14], 3
mov byte [esi + 0x94], 1
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov byte [esi + 0xa0], bl
mov dword [esi + 0xa4], 6
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb0], ebx
call fcn.00416690
mov ecx, dword [esp + 0xc]
mov dword [esi], vtable.ZipPipeline.0
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x408b50
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x442be8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x24]
call fcn.00416690
lea eax, [esp + 0x24]
mov ecx, esi
push eax
mov dword [esp + 0x80], 0
call fcn.00408600
mov ebx, dword [esp + 0x84]
lea ecx, [esp + 0xf]
push ebx
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x17], 0
call fcn.00406c10
push eax
call fcn.00428fb0
mov edi, eax
mov al, byte [esp + 0x1b]
add esp, 0xc
test al, al
jne 0x408c04
mov edx, dword [ebx]
push str.Failed_to_create_temporary_output_file
mov ecx, ebx
call dword [edx + 0x10]
mov esi, dword [ebx]
lea ecx, [esp + 0x24]
call fcn.00406c10
push eax
push str.filename
mov ecx, ebx
call dword [esi + 0x28]
lea ecx, [esp + 0x24]
mov dword [esp + 0x7c], 0xffffffff
call fcn.00416820
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret 4
push edi
lea ecx, [esp + 0x14]
call fcn.00429030
push 0
lea ecx, [esp + 0x44]
mov byte [esp + 0x80], 1
call fcn.0040bab0
push esi
lea ecx, [esp + 0x44]
mov byte [esp + 0x80], 2
call fcn.00427ef0
mov eax, dword [esi + 0xb0]
lea ecx, [esp + 0x40]
push eax
call fcn.0040baa0
mov al, byte [esi + 0x30]
mov byte [esp + 0xf], 0
test al, al
je 0x408c68
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0x5c]
call fcn.00406c10
push eax
lea ecx, [esp + 0x48]
call fcn.0040ca10
jmp 0x408c8c
lea ebx, [esi + 0x80]
lea edx, [esp + 0x10]
push edx
mov ecx, ebx
call fcn.00406c10
push eax
mov ecx, ebx
call fcn.0041a8d0
push eax
lea ecx, [esp + 0x4c]
call fcn.0040cd80
push 0
push edi
mov byte [esp + 0x17], al
call fcn.004288f0
mov al, byte [esi + 0x5b]
add esp, 8
test al, al
je 0x408cbe
lea edi, [esi + 0x5c]
mov ecx, edi
call fcn.004160c0
test eax, eax
je 0x408cbe
mov ecx, edi
call fcn.00406c10
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x24]
mov byte [esi + 0x5b], 1
call fcn.00406c10
push eax
lea ecx, [esi + 0x5c]
call fcn.00416e10
mov al, byte [esi + 0x94]
lea ecx, [esi + 0x80]
test al, al
jne 0x408cf2
call fcn.0041a980
mov byte [esi + 0x94], 1
jmp 0x408cf7
call fcn.00427da0
mov bl, byte [esp + 0xf]
lea ecx, [esp + 0x40]
mov byte [esi + 0x30], 1
mov byte [esp + 0x7c], 1
call fcn.0040baf0
lea ecx, [esp + 0x10]
mov byte [esp + 0x7c], 0
call fcn.00429080
lea ecx, [esp + 0x24]
mov dword [esp + 0x7c], 0xffffffff
call fcn.00416820
mov ecx, dword [esp + 0x74]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 4
Function at 0x409350
Capabilities:
Access peb ldr_data
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x442c90
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
mov esi, ecx
push edi
mov al, byte [esi + 0x30]
test al, al
je 0x409481
lea ecx, [esp + 0x20]
call fcn.00416690
lea eax, [esp + 0x20]
mov dword [esp + 0x44], 0
push eax
push str.ckAes.dat
call fcn.00418c80
mov ebx, dword [esp + 0x54]
add esp, 8
lea ecx, [esp + 0x20]
lea edi, [esi + 0x5c]
push ebx
call fcn.00406c10
push eax
mov ecx, edi
call fcn.00406c10
push eax
lea ecx, [esi + 0xc]
call fcn.00406c10
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call fcn.0041c1f0
add esp, 0x18
test al, al
jne 0x409418
push ebx
lea ecx, [esp + 0x24]
call fcn.00406c10
push eax
call fcn.00418a20
mov eax, dword [ebx]
add esp, 8
mov ecx, ebx
push str.Failed_to_AES_encrypt_source_file_data
call dword [eax + 0x10]
lea ecx, [esp + 0x20]
mov dword [esp + 0x44], 0xffffffff
call fcn.00416820
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
mov al, byte [esi + 0x5b]
test al, al
je 0x40942d
mov ecx, edi
call fcn.00406c10
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, 1
lea ecx, [esp + 0x20]
mov byte [esi + 0x5b], bl
call fcn.00406c10
push eax
mov ecx, edi
call fcn.00416e10
mov al, byte [esi + 0x94]
lea ecx, [esi + 0x80]
test al, al
jne 0x409463
call fcn.0041a980
mov byte [esi + 0x94], bl
jmp 0x409468
call fcn.00427da0
lea ecx, [esp + 0x20]
mov byte [esi + 0x30], bl
mov dword [esp + 0x44], 0xffffffff
call fcn.00416820
jmp 0x409553
lea ecx, [esp + 0xc]
call fcn.0041a9e0
lea ecx, [esp + 0xc]
lea edi, [esi + 0x80]
mov ebx, 1
push ecx
mov ecx, edi
mov dword [esp + 0x48], ebx
call fcn.00406c10
push eax
mov ecx, edi
call fcn.0041a8d0
push eax
lea ecx, [esi + 0xc]
call fcn.00406c10
mov edx, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push edx
push eax
call fcn.0041c250
add esp, 0x18
test al, al
jne 0x409500
mov ecx, dword [esp + 0x4c]
push str.Failed_to_AES_encrypt_source_data
mov edx, dword [ecx]
call dword [edx + 0x10]
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], 0xffffffff
call fcn.0041aff0
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
mov al, byte [esi + 0x94]
mov ecx, edi
test al, al
jne 0x409513
call fcn.0041a980
jmp 0x409518
call fcn.00427da0
lea ecx, [esp + 0xc]
call fcn.00406c10
push eax
lea ecx, [esp + 0x10]
call fcn.0041a8d0
push eax
mov ecx, edi
call fcn.0041b130
lea ecx, [esp + 0xc]
call fcn.0041a980
lea ecx, [esp + 0xc]
mov byte [esi + 0x94], bl
mov dword [esp + 0x44], 0xffffffff
call fcn.0041aff0
mov ecx, dword [esp + 0x3c]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
Function at 0x409bd0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x442d10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
call fcn.004296c0
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x30], 0
test edi, edi
jne 0x409c09
lea edi, [esp + 8]
push edi
mov ecx, esi
call fcn.00408320
test al, al
jne 0x409c3b
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call fcn.00429700
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
push edi
mov ecx, esi
call fcn.00408650
test al, al
jne 0x409c6d
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call fcn.00429700
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
mov al, byte [esi + 0x58]
push ebx
test al, al
je 0x409ca9
mov cl, byte [esi + 0x59]
test cl, cl
je 0x409c8b
mov eax, dword [esp + 0x3c]
push edi
push eax
mov ecx, esi
call fcn.004098e0
jmp 0x409cda
test al, al
je 0x409ca9
mov cl, byte [esi + 0x59]
test cl, cl
jne 0x409ca5
mov ecx, dword [esp + 0x3c]
push edi
push ecx
mov ecx, esi
call fcn.00409b20
jmp 0x409cda
test al, al
jne 0x409ccd
mov al, byte [esi + 0x59]
test al, al
je 0x409ccd
mov ecx, dword [esp + 0x3c]
lea edx, [esi + 0xac]
push edi
lea eax, [esi + 0xa8]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00409a50
jmp 0x409cda
mov edx, dword [esp + 0x3c]
push edi
push edx
mov ecx, esi
call fcn.00409b30
mov bl, al
mov al, byte [esi + 0x5b]
test al, al
je 0x409d1b
lea ecx, [esi + 0x5c]
call fcn.00406c10
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x409d1b
lea ecx, [esp + 0x10]
call fcn.00416690
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 1
call fcn.00416fa0
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 0
call fcn.00416820
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0xffffffff
call fcn.00429700
mov ecx, dword [esp + 0x2c]
mov al, bl
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 8

Function at 0x40af10
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
push eax
mov ecx, dword [esi + 4]
push ecx
call fcn.0040af60
mov edx, dword [esi + 8]
mov dword [esi + 4], eax
and eax, 0xff
add eax, edx
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 8], eax
shr eax, 0x18
mov byte [esp + 0x10], al
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x10]
push edx
push eax
call fcn.0040af60
add esp, 0x10
mov dword [esi + 0xc], eax
pop esi
ret 4
Function at 0x417260
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [ecx + 0x18]
push ebx
xor eax, eax
xor edx, edx
mov ax, word [ecx + 0x14]
mov dx, word [ecx + 6]
push esi
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test edx, edx
jbe 0x41729f
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x41728a
mov ecx, dword [eax + 0x10]
mov esi, dword [eax + 0xc]
cmp ebx, esi
jb 0x417297
add esi, ecx
cmp ebx, esi
jb 0x4172a1
inc edi
add eax, 0x28
cmp edi, edx
jb 0x417280
xor eax, eax
pop edi
pop esi
pop ebx
ret 4
Function at 0x4179a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x44329b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3ac
lea ecx, [esp]
call fcn.0042ca60
lea ecx, [esp]
mov dword [esp + 0x3b4], 0
call fcn.0042cab0
test al, al
je 0x417a05
lea eax, [esp + 0x98]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x3c0]
call fcn.00419680
jmp 0x417a59
lea edx, [esp + 0x1a0]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x417a45
lea eax, [esp + 0x98]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x3c0]
call fcn.00419680
jmp 0x417a59
mov ecx, dword [esp + 0x3bc]
lea edx, [esp + 0x1a0]
push edx
call fcn.00419740
lea ecx, [esp]
mov dword [esp + 0x3b4], 0xffffffff
call fcn.0042caa0
mov ecx, dword [esp + 0x3ac]
mov dword fs:[0], ecx
add esp, 0x3b8
ret

Function at 0x417a90
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4432bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5b8
lea ecx, [esp]
call fcn.0042ca60
lea ecx, [esp]
mov dword [esp + 0x5c0], 0
call fcn.0042cab0
test al, al
je 0x417af8
lea eax, [esp + 0x98]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x5cc]
call fcn.00419680
jmp 0x417b86
lea edx, [esp + 0x3ac]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x417b57
lea eax, [esp + 0x98]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x417b86
lea ecx, [esp + 0x1a0]
push 0x104
lea edx, [esp + 0x9c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
mov ecx, dword [esp + 0x5c8]
lea eax, [esp + 0x1a0]
push eax
call fcn.00419680
jmp 0x417b86
lea ecx, [esp + 0x1a0]
push 0x104
lea edx, [esp + 0x3b0]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov ecx, dword [esp + 0x5c8]
lea eax, [esp + 0x1a0]
push eax
call fcn.00419740
lea ecx, [esp]
mov dword [esp + 0x5c0], 0xffffffff
call fcn.0042caa0
mov ecx, dword [esp + 0x5b8]
mov dword fs:[0], ecx
add esp, 0x5c4
ret
Function at 0x417ca0
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x4432fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
lea ecx, [esp + 4]
call fcn.0042ca60
lea ecx, [esp + 4]
mov dword [esp + 0xa4], 0
call fcn.0042cab0
test al, al
je 0x417d0e
mov dl, byte [esp + 0xb4]
mov ecx, dword [esp + 0xb0]
xor eax, eax
test dl, dl
setne al
push eax
call fcn.00419b10
mov ecx, dword [esp + 0xb0]
push eax
call fcn.00419b10
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
jmp 0x417d3d
mov dl, byte [esp + 0xb4]
xor ecx, ecx
test dl, dl
setne cl
push ecx
mov ecx, dword [esp + 0xb4]
call fcn.004197b0
mov ecx, dword [esp + 0xb0]
push eax
call fcn.004197b0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
lea ecx, [esp + 4]
mov dword [esp + 0xa4], 0xffffffff
setne bl
call fcn.0042caa0
mov ecx, dword [esp + 0x9c]
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret

Function at 0x418190
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x44339b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
lea ecx, [esp]
call fcn.0042ca60
lea ecx, [esp]
mov dword [esp + 0xa0], 0
call fcn.0042cab0
test al, al
je 0x4181e9
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
push eax
call fcn.00419b10
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jmp 0x418204
mov ecx, dword [esp + 0xac]
push ecx
mov ecx, dword [esp + 0xac]
call fcn.004197b0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
push ebx
lea ecx, [esp + 4]
setne bl
mov dword [esp + 0xa4], 0xffffffff
call fcn.0042caa0
mov ecx, dword [esp + 0x9c]
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret

Function at 0x418240
Capabilities:
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x4433bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
lea ecx, [esp]
call fcn.0042ca60
lea ecx, [esp]
mov dword [esp + 0xa0], 0
call fcn.0042cab0
mov ecx, dword [esp + 0xa8]
test al, al
je 0x418291
call fcn.00419b10
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
jmp 0x41829d
call fcn.004197b0
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
push ebx
lea ecx, [esp + 4]
setne bl
mov dword [esp + 0xa4], 0xffffffff
call fcn.0042caa0
mov ecx, dword [esp + 0x9c]
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret

Function at 0x4182d0
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4433db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
lea ecx, [esp]
call fcn.0042ca60
lea ecx, [esp]
mov dword [esp + 0xa0], 0
call fcn.0042cab0
test al, al
je 0x418329
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
push eax
call fcn.00419b10
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x418344
mov ecx, dword [esp + 0xac]
push ecx
mov ecx, dword [esp + 0xac]
call fcn.004197b0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
push ebx
lea ecx, [esp + 4]
setne bl
mov dword [esp + 0xa4], 0xffffffff
call fcn.0042caa0
mov ecx, dword [esp + 0x9c]
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret