joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4033a0
Capabilities:
Check os version

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x40347b
push 0x94
mov edi, 1
call fcn.0044c49a
mov esi, eax
add esp, 4
test esi, esi
je 0x4034ee
push 0x94
push 0
push esi
call fcn.0044c570
add esp, 0xc
push esi
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esi + 4]
cmp eax, 4
jne 0x403405
push esi
lea edi, [eax + 1]
call fcn.0044c3bd
add esp, 4
mov eax, edi
pop edi
pop esi
ret
cmp eax, 5
jne 0x40343c
cmp dword [esi + 8], 0
jne 0x403421
push esi
lea edi, [eax + 1]
call fcn.0044c3bd
add esp, 4
mov eax, edi
pop edi
pop esi
ret
cmp eax, 5
jne 0x40343c
cmp dword [esi + 8], edi
jne 0x40343c
push esi
lea edi, [eax + 2]
call fcn.0044c3bd
add esp, 4
mov eax, edi
pop edi
pop esi
ret
cmp eax, 6
jne 0x4034e5
cmp dword [esi + 8], 0
jne 0x40345c
push esi
lea edi, [eax + 2]
call fcn.0044c3bd
add esp, 4
mov eax, edi
pop edi
pop esi
ret
cmp eax, 6
jne 0x4034e5
cmp dword [esi + 8], edi
jne 0x4034e5
push esi
lea edi, [eax + 3]
call fcn.0044c3bd
add esp, 4
mov eax, edi
pop edi
pop esi
ret
cmp al, 4
jae 0x403484
pop edi
xor eax, eax
pop esi
ret
push 0x94
mov edi, 2
call fcn.0044c49a
mov esi, eax
add esp, 4
test esi, esi
je 0x4034ee
push 0x94
push 0
push esi
call fcn.0044c570
add esp, 0xc
push esi
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esi + 4]
cmp eax, 4
jne 0x4034e5
cmp dword [esi + 8], 0xa
jne 0x4034d8
push esi
lea edi, [eax - 1]
call fcn.0044c3bd
add esp, 4
mov eax, edi
pop edi
pop esi
ret
cmp eax, 4
jne 0x4034e5
cmp dword [esi + 8], 0x5a
jne 0x4034e5
mov edi, eax
push esi
call fcn.0044c3bd
add esp, 4
mov eax, edi
pop edi
pop esi
ret
Function at 0x403500
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x48bb84]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
lea ecx, [esp + 0x28]
push ecx
push 0x64
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
cmp byte [esp + 0x28], 0
mov dword [edi], 0
lea esi, [esp + 0x28]
je 0x4035da
lea esp, [esp]
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x403568
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
jne 0x4035be
movsx edx, byte [esi]
push edx
call fcn.0044bc72
add esp, 4
cmp eax, 0x41
je 0x4035be
movsx eax, byte [esi]
push eax
call fcn.0044bc72
mov ecx, dword [edi]
mov edx, dword [esp + 0x10]
add esp, 4
mov byte [edx + ecx], al
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [edi]
shrd ecx, edx, 0x14
shr edx, 0x14
mov dword [ebx + eax*8], ecx
mov dword [ebx + eax*8 + 4], edx
inc dword [edi]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4035c3
sub eax, edx
cmp byte [esi + eax + 1], cl
lea esi, [esi + eax + 1]
jne 0x403550
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044b658
mov esp, ebp
pop ebp
ret

Function at 0x403ee0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4653c8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
xor eax, eax
cmp byte [0x48a0f3], al
je 0x403f2c
mov cl, 0x20
cmp byte [eax + 0x48a0f3], cl
je 0x403f25
inc eax
cmp byte [eax + 0x48a0f3], 0
jne 0x403f11
jmp 0x403f2c
mov byte [eax + 0x48a0f3], 0
push 0x48a0f3
lea ecx, [esp + 0x1c]
call fcn.00425330
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0
call fcn.004252b0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0044b688
add esp, 4
lea ecx, [esp + 0xc]
mov esi, eax
mov edi, edx
call fcn.00425410
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00425410
mov eax, esi
mov edx, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret
Function at 0x4043b0
Capabilities:
Create process on windows
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x465508
mov eax, dword fs:[0]
push eax
sub esp, 0x388
mov eax, dword [0x48bb84]
xor eax, esp
mov dword [esp + 0x384], eax
push esi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0x390]
mov dword fs:[0], eax
sub esp, 0xc
lea eax, [esp + 0x3ac]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
mov dword [esp + 0x3a8], 0
call fcn.004252b0
lea esi, [esp + 0x28]
call fcn.00403c50
mov eax, dword [eax + 4]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, esi
call fcn.00425410
mov ecx, dword [esp + 0x3a4]
push ecx
lea edx, [esp + 0x70]
push 0x320
push edx
call fcn.0044bc9e
push 0x44
lea eax, [esp + 0x38]
push 0
push eax
call fcn.0044c570
mov cx, word [esp + 0x3c4]
add esp, 0x18
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0x20
push 1
push 0
mov word [esp + 0x74], cx
push 0
lea ecx, [esp + 0x8c]
push ecx
push 0
mov dword [esp + 0x50], 0x44
mov dword [esp + 0x7c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4044b3
lea ecx, [esp + 0x3a0]
mov dword [esp + 0x398], 0xffffffff
call fcn.00425410
mov eax, 0xbeb95
jmp 0x4044ed
mov edx, dword [esp + 0xc]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov esi, dword [esp + 8]
lea ecx, [esp + 0x3a0]
mov dword [esp + 0x398], 0xffffffff
call fcn.00425410
mov eax, esi
mov ecx, dword [esp + 0x390]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x384]
xor ecx, esp
call fcn.0044b658
add esp, 0x394
ret
Function at 0x404520
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x465548
mov eax, dword fs:[0]
push eax
sub esp, 0x70c
mov eax, dword [0x48bb84]
xor eax, esp
mov dword [esp + 0x708], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0x720]
mov dword fs:[0], eax
mov eax, dword [esp + 0x734]
push eax
lea ecx, [esp + 0x52c]
push 0x1f4
push ecx
call fcn.0044bc9e
lea edx, [esp + 0x534]
push edx
lea eax, [esp + 0x344]
push 0x1f4
push eax
call fcn.0044bc9e
lea eax, [esp + 0x34c]
add esp, 0x18
lea edx, [eax + 1]
xor ebx, ebx
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4045a0
sub eax, edx
cmp eax, 4
jl 0x40468a
mov cx, word [esp + 0x334]
mov dl, byte [esp + 0x336]
push 0x46dc24
lea eax, [esp + 0x18]
push 0x12c
push eax
mov word [esp + 0x14c], cx
mov byte [esp + 0x14e], dl
mov byte [esp + 0x14f], bl
xor esi, esi
call fcn.0044bc9e
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0xc
cmp byte [esp + 0x337], bl
je 0x404661
lea edi, [esp + 0x337]
mov al, byte [edi]
cmp al, 0x5c
jne 0x404657
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x144]
push 0x1f4
push edx
mov byte [esp + esi + 0x20], bl
call fcn.0044bf67
add esp, 0xc
push ebx
lea eax, [esp + 0x144]
push eax
call ebp
push 0x46dd70
lea ecx, [esp + 0x144]
push 0x1f4
push ecx
call fcn.0044bf67
add esp, 0xc
xor esi, esi
mov byte [esp + 0x14], bl
jmp 0x40465c
mov byte [esp + esi + 0x14], al
inc esi
inc edi
cmp byte [edi], bl
jne 0x404606
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x144]
push 0x1f4
push eax
mov byte [esp + esi + 0x20], bl
call fcn.0044bf67
add esp, 0xc
push ebx
lea ecx, [esp + 0x144]
push ecx
call ebp
lea ecx, [esp + 0x730]
mov dword [esp + 0x728], 0xffffffff
call fcn.00425410
mov ecx, dword [esp + 0x720]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x708]
xor ecx, esp
call fcn.0044b658
add esp, 0x718
ret
Function at 0x404700
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x465588
mov eax, dword fs:[0]
push eax
sub esp, 0x904
mov eax, dword [0x48bb84]
xor eax, esp
mov dword [esp + 0x900], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0x918]
mov dword fs:[0], eax
mov eax, dword [esp + 0x92c]
push eax
lea ecx, [esp + 0x724]
push 0x1f4
push ecx
call fcn.0044bc9e
push 0x46de3c
lea edx, [esp + 0x730]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.0044ccc7
add esp, 0x18
test eax, eax
jne 0x40491a
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push 0x1e0
push edx
call fcn.0044cabb
mov eax, dword [esp + 0x20]
push eax
call fcn.0044ca87
add esp, 0x10
test eax, eax
jne 0x40490d
mov edi, dword [esp + 0x14]
lea ebp, [esp + 0x18]
sub ebp, 2
xor ebx, ebx
lea eax, [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4047b4
sub eax, edx
mov byte [eax + ebp], bl
mov ecx, 0x46dc24
lea eax, [esp + 0x18]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4047f0
cmp dl, bl
je 0x4047ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4047f0
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4047d0
xor eax, eax
jmp 0x4047f5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4048e4
cmp byte [esp + 0x18], 0x5b
jne 0x404818
lea ecx, [esp + 0x18]
push ecx
call fcn.00403860
add esp, 4
mov edi, eax
jmp 0x4048e4
cmp byte [esp + 0x19], 0x22
mov esi, 1
je 0x40482c
inc esi
cmp byte [esp + esi + 0x18], 0x22
jne 0x404824
lea edx, [esi - 1]
push edx
lea eax, [esp + 0x1d]
push eax
lea ecx, [esp + 0x408]
push ecx
call fcn.0044c5f0
lea eax, [esp + 0x24]
add esp, 0xc
mov byte [esp + esi + 0x3ff], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x404853
sub eax, edx
sub eax, esi
sub eax, 4
push eax
lea edx, [esp + esi + 0x1f]
push edx
lea eax, [esp + 0x214]
push eax
call fcn.0044c5f0
lea eax, [esp + 0x24]
add esp, 0xc
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x404880
sub eax, ecx
lea ecx, [esp + 0x20c]
push ecx
push 0x46de38
lea edx, [esp + 0x5fc]
sub eax, esi
push 0x12c
push edx
mov byte [esp + eax + 0x218], bl
call fcn.0044ca48
lea eax, [esp + 0x21c]
add esp, 0x10
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4048c0
sub eax, ecx
push eax
lea eax, [esp + 0x5f8]
push eax
push 1
push ebx
lea ecx, [esp + 0x410]
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push 0x1e0
push eax
call fcn.0044cabb
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0044ca87
add esp, 0x10
test eax, eax
je 0x4047ad
mov edx, dword [esp + 0x14]
push edx
call fcn.0044c9cc
add esp, 4
lea ecx, [esp + 0x928]
mov dword [esp + 0x920], 0xffffffff
call fcn.00425410
mov ecx, dword [esp + 0x918]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x900]
xor ecx, esp
call fcn.0044b658
add esp, 0x910
ret
Function at 0x40ccf0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x466a6b
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
push 0x20
call fcn.0042d6ca
add esp, 4
mov dword [esp + 0x14], eax
xor ebp, ebp
mov dword [esp + 0x54], ebp
cmp eax, ebp
je 0x40cd3a
mov ecx, eax
call fcn.00425830
mov esi, eax
jmp 0x40cd3c
xor esi, esi
push esi
push 9
push 1
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x2c], esp
push 0x16
push eax
mov dword [esp + 0x74], 0xffffffff
call fcn.0040ea80
add esp, 8
mov ecx, 0x48e748
call fcn.0041b790
push 0x46dc24
lea ecx, [esp + 0x20]
call fcn.00425240
cmp dword [esi + 0x1c], ebp
mov dword [esp + 0x54], 1
mov dword [esp + 0x14], ebp
jle 0x40ce83
test ebp, ebp
jl 0x40ceb2
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esi + 0x10]
jge 0x40ceb2
mov eax, dword [esi + 0xc]
add eax, ebp
push eax
lea ecx, [esp + 0x20]
call fcn.00425420
sub esp, 0xc
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.004252b0
lea eax, [esp + 0x34]
push eax
call fcn.00404cc0
add esp, 0x10
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 2
call fcn.00425420
lea ecx, [esp + 0x28]
mov byte [esp + 0x54], 1
call fcn.00425410
push 0x46e01c
lea ecx, [esp + 0x38]
push ecx
sub esp, 0xc
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.004252b0
lea edi, [esp + 0x54]
call fcn.00419350
add esp, 0xc
mov ecx, eax
mov byte [esp + 0x5c], 3
call fcn.00425580
mov ecx, eax
mov byte [esp + 0x58], 4
call fcn.004254a0
lea ecx, [esp + 0x34]
mov bl, al
mov byte [esp + 0x54], 3
call fcn.00425410
mov ecx, edi
mov byte [esp + 0x54], 1
call fcn.00425410
push 5
test bl, bl
je 0x40ce5b
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x40ce6e
mov ecx, dword [esp + 0x24]
push 0
push 0
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esp + 0x14]
inc eax
add ebp, 0xc
cmp eax, dword [esi + 0x1c]
mov dword [esp + 0x14], eax
jl 0x40cd8a
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], 0xffffffff
call fcn.00425410
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
call fcn.00435659
int3
Function at 0x413e40
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xc
push esi
push eax
call fcn.00413d50
mov esi, eax
test esi, esi
je 0x413f30
push ebx
push ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
call edi
push eax
call fcn.00413930
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
mov dword [esp + 0x18], eax
call ebp
push esi
call edi
test eax, eax
jne 0x413e84
mov dword [esp + 0x10], eax
jmp 0x413e99
cmp dword [eax], 0x28
jne 0x413e8e
mov ebx, dword [eax + 4]
jmp 0x413e92
movzx ebx, word [eax + 4]
push esi
call ebp
mov dword [esp + 0x10], ebx
push esi
call edi
test eax, eax
jne 0x413ea4
xor ebx, ebx
jmp 0x413eb5
cmp dword [eax], 0x28
jne 0x413eae
mov ebx, dword [eax + 8]
jmp 0x413eb2
movzx ebx, word [eax + 6]
push esi
call ebp
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x24]
mov ebp, dword [sym.imp.GDI32.dll_SelectPalette]
mov dword [ecx], edx
mov ecx, dword [esp + 0x14]
push 0
mov dword [eax], ebx
mov edx, dword [edi + 4]
push ecx
push edx
call ebp
mov dword [esp + 0x18], eax
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_RealizePalette]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push 0
push 0
push 0
push esi
push ebx
push ecx
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call fcn.00413cb0
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 4]
push 1
push edx
push eax
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x14]
pop edi
pop ebp
pop ebx
test eax, eax
je 0x413f30
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
pop esi
add esp, 0xc
ret

Function at 0x414140
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x164
mov eax, dword [0x48bb84]
xor eax, esp
mov dword [esp + 0x160], eax
push esi
push 0
mov esi, ecx
call fcn.00415800
test eax, eax
je 0x41416a
lea ecx, [esi + 0x5c]
call fcn.0043a782
push 0x4001
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
push 0x46ef10
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
jne 0x4141af
push str.Cannot_retrieve_the_Handle_of_SystemImageList_
lea ecx, [esi + 0x58]
call fcn.00402740
xor eax, eax
pop esi
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.0044b658
add esp, 0x164
ret
push edi
lea edi, [esi + 0x5c]
push eax
mov ecx, edi
call fcn.0043a7f8
test eax, eax
jne 0x4141e5
push str.Cannot_Attach_SystemImageList_Handle
lea ecx, [esi + 0x58]
call fcn.00402740
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.0044b658
add esp, 0x164
ret
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.USER32.dll_DestroyIcon]
push 0
push edi
mov ecx, esi
call fcn.00415820
mov ecx, dword [esp + 0x168]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.0044b658
add esp, 0x164
ret
Function at 0x414220
Capabilities:
Get disk information

Disassembly:
sub esp, 0x84
mov eax, dword [0x48bb84]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
mov ebx, ecx
call fcn.004157c0
lea eax, [esp + 4]
push eax
push 0x80
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
jne 0x414275
push str.Error_Getting_Logical_DriveStrings_
lea ecx, [ebx + 0x58]
call fcn.00402740
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0044b658
add esp, 0x84
ret
cmp byte [esp + 4], 0
push esi
lea esi, [esp + 8]
je 0x4142cc
push edi
push esi
push 0xffff0000
mov ecx, ebx
call fcn.004145a0
push esi
mov ecx, ebx
mov edi, eax
call fcn.00414880
test eax, eax
je 0x4142b3
push 0xffff0002
push edi
push 0
push 0
push 0x46ef0a
mov ecx, ebx
call fcn.00415740
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4142b8
sub eax, edx
cmp byte [esi + eax + 1], cl
lea esi, [esi + eax + 1]
jne 0x414282
pop edi
mov ecx, dword [esp + 0x88]
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0044b658
add esp, 0x84
ret
Function at 0x4145a0
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x467966
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x48bb84]
xor eax, esp
mov dword [esp + 0x16c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0x184]
mov dword fs:[0], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x198]
mov esi, ecx
push eax
lea ecx, [esp + 0x18]
call fcn.004026a0
push 1
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x194], 0
call fcn.004150c0
push 0x5c
push eax
call fcn.00415230
add esp, 8
lea ecx, [esp + 0x18]
mov bl, al
call fcn.00402710
test bl, bl
je 0x41463c
push 0x46ef9c
lea ecx, [esp + 0x18]
call fcn.00401ff0
push 0x101
push 0x160
lea edx, [esp + 0x28]
push edx
push 0
lea ecx, [esp + 0x24]
call fcn.00402760
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push eax
call ebx
test eax, eax
jne 0x414680
push 0x46efa0
lea ecx, [esi + 0x58]
call fcn.00402740
lea ecx, [esp + 0x14]
call fcn.00402710
xor eax, eax
jmp 0x41474a
mov eax, dword [esp + 0x20]
mov edi, dword [sym.imp.USER32.dll_DestroyIcon]
push eax
call edi
mov ebp, dword [esp + 0x24]
push 0x103
push 0x160
lea ecx, [esp + 0x28]
push ecx
push 0
lea ecx, [esp + 0x24]
call fcn.00402760
push eax
call ebx
test eax, eax
jne 0x4146b9
push str.Error_Gettting_SystemFileInfo_
jmp 0x414668
mov edx, dword [esp + 0x20]
push edx
call edi
mov edi, dword [esp + 0x24]
push 1
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
call fcn.004150c0
push 0x46efe0
push eax
call fcn.004151c0
add esp, 8
lea ecx, [esp + 0x18]
mov bl, al
call fcn.00402710
test bl, bl
je 0x414707
push 0
lea ecx, [esp + 0x18]
call fcn.00402780
dec eax
push eax
lea ecx, [esp + 0x1c]
call fcn.00415260
mov eax, dword [esp + 0x1c]
push 0xffff0002
lea ecx, [esp + 0x18]
cmp eax, 0xffff0000
jne 0x414725
push eax
push edi
push ebp
call fcn.00402760
jmp 0x414735
push eax
push edi
push ebp
call fcn.00402760
push eax
mov ecx, esi
call fcn.00414780
push eax
mov ecx, esi
call fcn.00415740
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.00402710
mov eax, esi
mov ecx, dword [esp + 0x184]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x16c]
xor ecx, esp
call fcn.0044b658
add esp, 0x17c
ret 8
Function at 0x414880
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4679c7
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x10]
call fcn.0043adf7
mov esi, dword [esp + 0x38]
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0
call fcn.004026a0
mov eax, esi
mov byte [esp + 0x30], 1
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4148d0
sub eax, edx
cmp eax, 3
jne 0x4148f8
cmp byte [esi + 1], 0x3a
jne 0x4148f1
cmp byte [esi + 2], 0x5c
jne 0x4148f1
push 0x46efe4
jmp 0x4148fd
push 0x46efe8
jmp 0x4148fd
push 0x46eff0
lea ecx, [esp + 0x10]
call fcn.00401ff0
push 0
lea ecx, [esp + 0x10]
call fcn.00402760
push eax
lea ecx, [esp + 0x18]
call fcn.0043ae8c
test eax, eax
je 0x414968
nop
lea ecx, [esp + 0x10]
call fcn.0043aafb
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.00415590
test eax, eax
je 0x414945
lea ecx, [esp + 0x10]
call fcn.0043adbc
test eax, eax
je 0x414998
lea ecx, [esp + 0x10]
call fcn.00415590
test eax, eax
jne 0x414964
cmp dword [edi + 0x54], eax
je 0x414964
lea ecx, [esp + 0x10]
call fcn.004155a0
test eax, eax
je 0x414998
test esi, esi
jne 0x414920
lea ecx, [esp + 0xc]
call fcn.00402710
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call fcn.0043ae1d
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 4
lea ecx, [esp + 0xc]
call fcn.00402710
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call fcn.0043ae1d
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 4

Function at 0x4161b0
Capabilities:
Get file size

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x804]
mov dword [esi + 0x818], 0
mov dword [esi + 0x81c], 0
test eax, eax
jne 0x4161d7
xor edx, edx
pop esi
pop ecx
ret
push edi
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4161fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4161fd
pop edi
xor eax, eax
xor edx, edx
pop esi
pop ecx
ret
mov edx, dword [esp + 8]
push 1
push 0
push 0
push edx
call fcn.0044d450
xor ecx, ecx
add eax, edi
adc edx, ecx
pop edi
mov dword [esi + 0x818], eax
mov dword [esi + 0x81c], edx
pop esi
pop ecx
ret

Function at 0x4162d0
Capabilities:
Read file on windows

Disassembly:
mov edx, dword [esp + 0xc]
mov dword [edx], 0
mov eax, dword [ecx + 0x804]
test eax, eax
jne 0x4162e9
xor al, al
ret 0xc
mov ecx, dword [esp + 8]
push 0
push edx
mov edx, dword [esp + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne al
ret 0xc

Function at 0x416310
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx + 0x804]
test eax, eax
jne 0x41631f
xor al, al
ret 0xc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push 0
push ecx
mov ecx, dword [esp + 0xc]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne al
ret 0xc