joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a73d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x576510]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x28], ebx
call fcn.0040e3e0
push 0x4cf878
push 4
push ebx
lea ecx, [ebp - 0x20]
call fcn.0043a30e
or esi, 0xffffffff
test eax, eax
jne 0x43a7a7
lea eax, [ebp - 0x21]
push eax
push esi
push 4
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x44]
call fcn.00405c70
push esi
push ebx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x20]
call fcn.00402c50
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.00402df0
lea eax, [ebp - 0x20]
push eax
call fcn.0043a33a
pop ecx
test al, al
je 0x43a7d5
mov byte [edi], bl
xor esi, esi
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.00402df0
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045759d
leave
ret
mov eax, esi
lea ecx, [ebp - 0x21]
push ecx
push eax
push ebx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x44]
call fcn.00405c70
push esi
push ebx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x20]
call fcn.00402c50
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.00402df0
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x43a80e
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, esi
jne 0x43a832
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x43a839
cmp eax, 3
je 0x43a839
cmp eax, 0x7b
je 0x43a839
mov esi, eax
jmp 0x43a7b9
test eax, 0x400
jne 0x43a858
push 1
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x28], 0x5c
call fcn.0040ecd0
cmp eax, esi
jne 0x43a7d7
jmp 0x43a7b5
mov byte [edi], 1
jmp 0x43a7b7
Function at 0x43afbe
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push edi
mov ebx, ecx
xor edi, edi
cmp byte [ebx + 0x50], 0
mov dword [ebp - 0xc], edi
jne 0x43afdd
mov eax, 0x3f0
jmp 0x43b0c9
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 4]
push eax
push edi
push edi
push 2
push dword [ebx + 0x48]
mov dword [ebp - 4], edi
call esi
cmp dword [ebp - 4], edi
je 0x43b021
push dword [ebp - 4]
call fcn.004568b7
pop ecx
mov edi, eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
mov dword [ebp - 0xc], edi
push edi
push 2
push dword [ebx + 0x48]
call esi
test eax, eax
jne 0x43b02c
push edi
call fcn.004573a9
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x43b0c8
and dword [ebp - 8], 0
cmp dword [edi], 0
jbe 0x43b0bf
mov esi, dword [ebp + 8]
add edi, 4
mov eax, dword [edi + 4]
test al, 0x20
jne 0x43b0ad
test eax, 0xc0000000
jne 0x43b0ad
test esi, esi
je 0x43b097
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push 0x44
cdq
pop ecx
idiv ecx
and dword [ebp + 8], 0
test eax, eax
jbe 0x43b097
push dword [edi]
mov ecx, esi
push dword [ebp + 8]
call fcn.0043ab2a
mov ecx, eax
call fcn.0043b49d
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x43b0ad
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push 0x44
cdq
pop ecx
idiv ecx
inc dword [ebp + 8]
cmp dword [ebp + 8], eax
jb 0x43b065
push dword [edi]
lea ecx, [ebp - 0x50]
call fcn.0043b484
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebx + 0x30]
call fcn.004380b8
inc dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
add edi, 8
cmp ecx, dword [eax]
jb 0x43b03f
mov edi, eax
push edi
call fcn.004573a9
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret 4
Function at 0x43b153
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push edi
mov ebx, ecx
xor edi, edi
cmp byte [ebx + 0x50], 0
mov dword [ebp - 0x10], edi
jne 0x43b172
mov eax, 0x3f0
jmp 0x43b273
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 4]
push eax
push edi
push edi
push 3
push dword [ebx + 0x48]
mov dword [ebp - 4], edi
call esi
cmp dword [ebp - 4], edi
je 0x43b1b6
push dword [ebp - 4]
call fcn.004568b7
pop ecx
mov edi, eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
mov dword [ebp - 0x10], edi
push edi
push 3
push dword [ebx + 0x48]
call esi
test eax, eax
jne 0x43b1c1
push edi
call fcn.004573a9
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x43b272
and dword [ebp - 0xc], 0
cmp dword [edi], 0
jbe 0x43b269
mov esi, dword [ebp + 8]
lea eax, [edi + 4]
mov dword [ebp - 8], eax
test esi, esi
je 0x43b247
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push 0x1c
cdq
pop ecx
idiv ecx
and dword [ebp + 8], 0
test eax, eax
jbe 0x43b247
and dword [ebp - 0x18], 0
push dword [ebp + 8]
xor eax, eax
lea edi, [ebp - 0x14]
mov ecx, esi
stosd dword es:[edi], eax
call fcn.00405600
cmp dword [eax + 0x18], 8
jb 0x43b20e
mov eax, dword [eax + 4]
jmp 0x43b211
add eax, 4
lea ecx, [ebp - 0x18]
push ecx
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp - 0x14]
jne 0x43b230
mov eax, dword [eax]
cmp eax, dword [ebp - 0x18]
je 0x43b254
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push 0x1c
cdq
pop ecx
idiv ecx
inc dword [ebp + 8]
cmp dword [ebp + 8], eax
jb 0x43b1ef
mov edi, dword [ebp - 0x10]
push dword [ebp - 8]
lea ecx, [ebx + 0x18]
call fcn.0044d6ca
jmp 0x43b257
mov edi, dword [ebp - 0x10]
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
add dword [ebp - 8], 0xc
cmp eax, dword [edi]
jb 0x43b1d7
push edi
call fcn.004573a9
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret 4
Function at 0x43eb01
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x576510]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
cmp byte [ebp + 8], bl
jne 0x43eb29
cmp dword [edi + 0x1c], ebx
jne 0x43eb57
mov al, 1
jmp 0x43ebf7
push ebx
push 0x4464ef
push 1
push str.NtMapViewOfSection
mov esi, str.ntdll.dll
push esi
call fcn.0043e409
push 1
push 0x44660d
push 1
push str.NtUnmapViewOfSection
push esi
mov ecx, edi
call fcn.0043e409
mov esi, dword [edi + 0x1c]
mov eax, dword [edi]
mov eax, dword [eax]
push 0x40
push 0x1000
shl esi, 6
add esi, 0x50
push esi
push ebx
push eax
mov dword [ebp - 0x5c], eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 0x60
push ebx
mov dword [ebp - 0x48], ebx
mov ebx, 0x579ff8
push ebx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], 0x10
call fcn.00457450
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
push esi
push dword [ebp - 0x58]
mov ecx, edi
call fcn.0043e66c
test al, al
je 0x43ebf5
lea eax, [ebp - 0x60]
push eax
push 0x10
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x43ebf5
cmp dword [ebp - 0x60], 0x10
jne 0x43ebf5
lea eax, [ebp - 0x64]
push eax
push 0x20
push esi
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov ecx, dword [edi]
push 0x60
push ebx
push str.g_originals
call fcn.004387ac
neg eax
sbb al, al
inc al
jmp 0x43ebf7
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045759d
leave
ret 4

Function at 0x43faf7
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x34]
push ebx
push dword [ebp + 0x30]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x43fb8b
cmp dword [ebp + 0xc], 0
mov eax, 0x101c01
mov dword [ebp - 4], 0x100c43
je 0x43fb3f
mov eax, 0x1fffff
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edi
push 1
push 0
push eax
push ebx
push dword [ebp + 8]
push dword [ebx]
call esi
mov edi, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push eax
call edi
test eax, eax
jne 0x43fb6e
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x43fb89
push 1
push 0
push dword [ebp - 4]
lea eax, [ebx + 4]
push eax
push dword [ebp + 8]
push dword [eax]
call esi
push eax
call edi
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44602c
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
push esi
mov esi, ecx
mov eax, dword [esi]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 1
je 0x44604c
xor al, al
jmp 0x4460b5
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push dword [esi + 8]
call edi
mov ebx, 0x102
jmp 0x4460ad
cmp eax, 0x80
je 0x4460b1
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
je 0x4460b1
mov ecx, esi
call fcn.00443811
mov byte [ebp - 1], al
test al, al
je 0x446093
mov eax, dword [esi]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
test eax, eax
jne 0x4460b1
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x4460b1
cmp byte [ebp - 1], 0
jne 0x4460b8
push 0xffffffffffffffff
push dword [esi + 8]
call edi
cmp eax, ebx
jne 0x446062
xor al, al
pop edi
pop ebx
pop esi
leave
ret
mov al, 1
jmp 0x4460b3
Function at 0x4461a3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
mov eax, dword [0x576510]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x20c]
push eax
xor ebx, ebx
push ebx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x228]
call fcn.0040a920
xor edi, edi
inc edi
push edi
push 0xffffffffffffffff
push 0x56fe78
lea ecx, [ebp - 0x228]
call fcn.0040ead0
push ebx
lea ecx, [ebp - 0x228]
cmp eax, 0xffffffff
jne 0x44621d
push edi
call fcn.00402df0
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045759d
leave
ret 4
inc eax
push eax
call fcn.00406460
push edi
push 3
lea ecx, [ebp - 0x330]
call fcn.00446155
push dword [ebp + 8]
mov eax, dword [esi]
mov eax, dword [eax + 8]
push 0x570d5c
push eax
push 0x4d0228
lea eax, [ebp - 0x228]
push eax
push 0x4d0224
push 0x443757
push 0x44373d
lea ecx, [ebp - 0x328]
call fcn.00443867
mov ecx, eax
call fcn.00443867
push eax
call fcn.00445c9e
pop ecx
pop ecx
push eax
call fcn.00445da6
pop ecx
pop ecx
push eax
call fcn.00445c9e
pop ecx
pop ecx
mov ecx, eax
call fcn.004460bc
push eax
call fcn.00445eca
pop ecx
pop ecx
mov ecx, eax
call fcn.004460bc
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x324]
call fcn.00444c81
cmp dword [ebp - 0x24c], 8
mov eax, dword [ebp - 0x260]
jae 0x4462c2
lea eax, [ebp - 0x260]
push eax
call fcn.0045838c
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x230], eax
call fcn.00402df0
push 0x40
lea eax, [ebp - 0x2a4]
push ebx
push eax
call fcn.00457450
add esp, 0xc
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x2a8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x230]
mov dword [ebp - 0x2a8], 0x44
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x446340
push ebx
lea ecx, [ebp - 0x230]
call fcn.004428a4
lea ecx, [ebp - 0x330]
call fcn.004449f3
push ebx
lea ecx, [ebp - 0x228]
jmp 0x446204
push 0xffffffffffffffff
push dword [ebp - 0x248]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x248]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x248]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
setne byte [ebp - 0x229]
call esi
push dword [ebp - 0x244]
call esi
cmp dword [ebp - 0x234], 0x102
jne 0x4463c7
mov byte [ebp - 0x229], bl
push ebx
lea ecx, [ebp - 0x230]
call fcn.004428a4
lea ecx, [ebp - 0x330]
call fcn.004449f3
push ebx
push edi
lea ecx, [ebp - 0x228]
call fcn.00402df0
mov al, byte [ebp - 0x229]
jmp 0x44620c
cmp byte [ebp - 0x229], bl
je 0x4463db
cmp dword [ebp - 0x238], ebx
jne 0x4463db
mov al, 1
jmp 0x4463dd
xor al, al
mov byte [ebp - 0x229], al
jmp 0x446398
Function at 0x4463e5
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x10], edi
call fcn.00417260
cmp dword [eax + 0x24], 1
je 0x446406
mov al, 1
jmp 0x4464eb
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
push edi
push 1
push edi
call ebx
push edi
push edi
push 1
push edi
mov dword [esi + 8], eax
call ebx
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push edi
push edi
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov eax, dword [eax]
push 0x100002
lea ecx, [ebp - 8]
push ecx
push eax
push dword [esi + 8]
push dword [ebp - 4]
call ebx
test eax, eax
je 0x4464d9
mov eax, dword [esi]
mov eax, dword [eax]
push edi
push edi
push 0x100002
lea ecx, [ebp - 0xc]
push ecx
push eax
push dword [esi + 0xc]
push dword [ebp - 4]
call ebx
test eax, eax
je 0x4464d9
mov eax, dword [esi]
mov ecx, dword [eax]
push 0x40
mov eax, 0x1000
push eax
push eax
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
cmp ebx, edi
je 0x4464d9
push 0x2c
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.00457450
mov eax, dword [ebp - 8]
add esp, 0xc
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x10]
push ecx
push 0x10
mov dword [ebp - 0x38], eax
mov eax, dword [esi]
mov eax, dword [eax]
lea ecx, [ebp - 0x40]
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x4464d9
cmp dword [ebp - 0x10], 0x10
jne 0x4464d9
push ebx
mov ecx, esi
call fcn.004461a3
test al, al
je 0x4464d9
mov ecx, esi
call fcn.0044602c
test al, al
jne 0x4464dd
xor al, al
jmp 0x4464ea
mov eax, dword [esi]
mov eax, dword [eax]
push ebx
push eax
call fcn.00443763
pop ecx
pop ecx
pop ebx
pop edi
pop esi
leave
ret

Function at 0x448cde
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x448d47
cmp dword [ebp + 0x10], 1
je 0x448d1f
cmp dword [ebp + 0x10], 2
je 0x448d1f
push 0xd
pop eax
jmp 0x448d47
mov eax, dword [ebp - 4]
test edi, edi
je 0x448d41
test eax, eax
je 0x448d3c
test al, 1
jne 0x448d1a
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x448d41
jmp 0x448d1a
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc
Function at 0x448da1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x576510]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x10]
mov edi, 0x823
push edi
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x827]
push 0
push eax
mov byte [ebp - 0x828], 0
call fcn.00457450
add esp, 0xc
cmp dword [ebp + 0x18], 0
push ebx
je 0x448edf
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
push dword [ebp - 0x82c]
lea eax, [ebp - 0x828]
push str.___________________________7d9114302a0cb6
push str.___s_r_nContent_Disposition:_form_data__name__s___filename__s__r_nContent_Type:_application_octet_stream_r_n_r_n
push edi
push eax
call fcn.00459645
lea eax, [ebp - 0x828]
add esp, 0x18
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x448e28
sub eax, edi
push 0x570c78
push ebx
mov edi, eax
call fcn.0045962e
mov ebx, eax
pop ecx
pop ecx
mov dword [ebp - 0x82c], ebx
test ebx, ebx
je 0x448f31
push 2
push 0
push ebx
call fcn.004594e5
push ebx
call fcn.004593ed
push 0
push 0
push ebx
mov dword [ebp - 0x834], eax
call fcn.004594e5
mov eax, dword [ebp - 0x834]
lea ebx, [eax + edi + 2]
add esp, 0x1c
cmp ebx, dword [esi]
jae 0x448ece
push edi
lea eax, [ebp - 0x828]
push eax
push dword [ebp - 0x830]
call fcn.00457f10
push dword [ebp - 0x82c]
mov eax, dword [ebp - 0x830]
push 1
push dword [ebp - 0x834]
add eax, edi
push eax
call fcn.00459233
mov ecx, dword [ebp - 0x834]
mov eax, dword [ebp - 0x830]
add esp, 0x1c
add eax, ecx
mov ecx, 0xa0d
mov word [eax + edi], cx
mov dword [esi], ebx
jmp 0x448ed1
and dword [esi], 0
push dword [ebp - 0x82c]
call fcn.00458f17
pop ecx
jmp 0x448f34
push dword [ebp - 0x82c]
lea eax, [ebp - 0x828]
push str.___________________________7d9114302a0cb6
push str.___s_r_nContent_Disposition:_form_data__name__s__r_n_r_n_s_r_n
push edi
push eax
call fcn.00459645
lea eax, [ebp - 0x828]
add esp, 0x18
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x448f08
sub eax, ecx
mov edi, eax
cmp edi, dword [esi]
jae 0x448f31
push edi
lea eax, [ebp - 0x828]
push eax
push dword [ebp - 0x830]
call fcn.00457f10
add esp, 0xc
mov dword [esi], edi
jmp 0x448f34
and dword [esi], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045759d
leave
ret
Function at 0x4493ee
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.00459800
mov eax, dword [0x576510]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x3ffe
push eax
mov word [ebp - 0x4004], ax
lea eax, [ebp - 0x4002]
push eax
call fcn.00457450
add esp, 0xc
lea eax, [ebp - 0x400c]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x4494b0
cmp eax, 0x3fff
ja 0x4494b0
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4494b0
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x4008]
push eax
push 0x56fe78
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4494b0
mov eax, dword [ebp - 0x4008]
movzx ecx, word [eax + 0xc]
mov edi, dword [ebp + 0x10]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push str._d._d._d._d
push edi
push esi
call fcn.0045972c
xor eax, eax
add esp, 0x1c
mov word [esi + edi*2 - 2], ax
inc eax
jmp 0x4494b2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0045759d
leave
ret

Function at 0x4494c0
Capabilities:
Get common file path
Get program files directory

Disassembly:
xor eax, eax
push ebx
mov ebx, 0x5dec10
cmp ax, word [0x5dec10]
jne 0x4494f9
push esi
push edi
push eax
push 0x26
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, ebx
dec edi
dec edi
mov ax, word [edi + 2]
inc edi
inc edi
test ax, ax
jne 0x4494e2
push 0x10
pop ecx
mov esi, str.internet_exploreriexplore.exe
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x4494fd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
push esi
call fcn.004494c0
push eax
call fcn.004493ee
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x44954d
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp - 4]
push eax
push str.Version
push str.SoftwareMicrosoftInternet_Explorer
push 0x80000002
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x44954d
cmp ax, word [esi]
je 0x44954d
inc edi
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x44986e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x576510]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push str.dbghelp.dll
mov dword [ebp - 0x214], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebx, ebx
mov dword [ebp - 0x210], eax
cmp eax, ebx
je 0x449a2b
push str.MiniDumpWriteDump
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x218], eax
cmp eax, ebx
je 0x449a1f
push esi
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.00457450
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, 0x57b938
push esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x4e1edc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push ebx
push 0x80
push 2
push ebx
push 2
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x449a1e
push edi
xor eax, eax
lea edi, [ebp - 0x224]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], ebx
call fcn.00449837
push 0x78
pop edi
cmp dword [eax + 0x14], edi
ja 0x449972
call fcn.00449837
mov edi, dword [eax + 0x14]
inc edi
call fcn.00449837
cmp dword [eax + 0x18], 0x10
jb 0x449982
mov eax, dword [eax + 4]
jmp 0x449985
add eax, 4
push edi
push eax
push 0x57be55
call fcn.00457f10
mov al, byte [0x57a0d4]
mov byte [0x57be54], al
add esp, 0xc
lea eax, [ebp - 0x238]
mov dword [ebp - 0x228], eax
push ebx
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x224]
push eax
xor eax, eax
cmp byte [0x57a0b8], bl
mov byte [0x57bed4], bl
sete al
mov dword [0x57be50], 2
mov dword [ebp - 0x238], 0x3600001
mov dword [ebp - 0x234], 0x85
mov dword [ebp - 0x230], 0x57be50
mov dword [ebp - 0x22c], 1
lea eax, [eax + eax + 2]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x218]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0045759d
leave
ret
Function at 0x449e31
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
mov eax, dword [0x576510]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x4e2134
mov edi, 0x4e1b84
push edi
mov esi, 0x103
push esi
push 0x57a0d8
call fcn.0045972c
call fcn.00449553
push eax
push edi
push esi
push 0x57a2e0
call fcn.0045972c
call fcn.00449553
push eax
push edi
push esi
push 0x57a4e8
call fcn.0045972c
add esp, 0x30
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push edi
push esi
push 0x57a6f0
call fcn.0045972c
push dword [ebx]
push str.0x_08x
push esi
push 0x57ad08
call fcn.0045972c
and dword [ebp - 0x324], 0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00457450
lea eax, [ebp - 0x324]
push eax
push esi
lea eax, [ebp - 0x20c]
push eax
push dword [ebx + 0xc]
call fcn.00448d4d
add esp, 0x3c
test eax, eax
je 0x449f45
push esi
lea eax, [ebp - 0x20c]
push 0x57ab00
push eax
call fcn.004493ee
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
jne 0x449f1d
lea eax, [ebp - 0x20c]
push eax
push edi
push esi
push 0x57a8f8
call fcn.0045972c
push dword [ebp - 0x324]
push str.0x_08x
push esi
push 0x57af10
call fcn.0045972c
add esp, 0x20
jmp 0x449f58
push 0x4e2114
push esi
push 0x57a8f8
call fcn.0045972c
add esp, 0xc
mov ebx, 0x104
push ebx
push 0x57bd48
call fcn.004186a0
lea edi, [ebx + 0x10]
push edi
lea eax, [ebp - 0x320]
push 0
push eax
call fcn.00457450
add esp, 0x14
lea eax, [ebp - 0x320]
push eax
mov dword [ebp - 0x320], edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x449fc0
lea eax, [ebp - 0x30c]
push eax
push dword [ebp - 0x314]
push dword [ebp - 0x318]
push dword [ebp - 0x31c]
push str._d._d._d__s
push esi
push 0x57b118
call fcn.0045972c
add esp, 0x1c
push ebx
push 0x57b320
call fcn.004494fd
pop ecx
pop ecx
call fcn.00449cf3
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045759d
leave
ret