joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c140
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x484b28
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4a2e7c]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a2e7c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor ebx, ebx
push 0x100
mov esi, ecx
mov dword [esp + 0x1c], ebx
call fcn.0044aa3d
add esp, 4
lea ecx, [esp + 0x1c]
mov ebp, eax
call fcn.0043db70
mov eax, dword [esi + 0x18]
cmp eax, 1
mov dword [esp + 0x80], ebx
jne 0x42c1cd
lea ecx, [esp + 0x1c]
call fcn.0043d980
mov edx, dword [esi + 8]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42c1b2
sub eax, edi
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.0043d9c0
jmp 0x42c266
cmp eax, 2
jne 0x42c2ea
mov eax, dword [esi + 8]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42c1e0
sub eax, edx
cmp eax, 1
lea ecx, [esp + 0x1c]
jb 0x42c2f7
call fcn.0043d980
mov eax, dword [esi + 8]
push 0x48e3fc
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0044f9c8
add esp, 0xc
test eax, eax
jne 0x42c2ea
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0xe8]
push edx
push 0x80000
push 1
push eax
call fcn.00451cbc
mov edi, eax
add esp, 0x10
cmp edi, ebx
je 0x42c24d
mov ecx, dword [esi + 0xe8]
push edi
push ecx
lea ecx, [esp + 0x24]
call fcn.0043d9c0
cmp edi, 0x80000
je 0x42c21b
mov edx, dword [esp + 0x18]
push edx
call fcn.0044f729
add esp, 4
mov dword [esp + 0x18], ebx
push 0x10
push ebp
lea ecx, [esp + 0x24]
call fcn.0043daf0
xor edi, edi
add esi, 0x20
mov bl, 0x30
lea esp, [esp]
movzx eax, byte [edi + ebp]
push 0x10
push 3
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.0045185a
lea eax, [esp + 0x24]
add esp, 0x10
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42c2a0
sub eax, edx
cmp eax, 1
jne 0x42c2c0
mov dl, byte [esp + 0x14]
mov byte [esp + 0x15], dl
mov byte [esp + 0x14], bl
mov byte [esp + 0x16], cl
lea eax, [esp + 0x14]
push eax
push 0xc8
push esi
call fcn.0044d289
add edi, 1
add esp, 0xc
cmp edi, 0x10
jl 0x42c280
push ebp
call fcn.0044ca76
add esp, 4
lea ecx, [esp + 0x1c]
jmp 0x42c2fa
push ebp
call fcn.0044ca76
lea ecx, [esp + 0x20]
add esp, 4
add esi, 0x20
mov dword [esp + 0x80], 0xffffffff
call fcn.0043db90
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0044b607
add esp, 0x70
ret
Function at 0x42c330
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x64
mov eax, dword [0x4a2e7c]
xor eax, esp
mov dword [esp + 0x60], eax
push ebp
push esi
push edi
push 0x100
mov esi, ecx
mov dword [esp + 0x14], 0
call fcn.0044aa3d
mov ebp, eax
mov eax, dword [esi + 0x18]
add esp, 4
cmp eax, 1
jne 0x42c3a1
lea eax, [esp + 0x14]
push eax
call fcn.0043dbc0
mov edx, dword [esi + 8]
mov eax, edx
add esp, 4
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42c377
sub eax, edi
push eax
push edx
lea ecx, [esp + 0x1c]
push ecx
call fcn.0043e100
lea edx, [esp + 0x20]
push edx
push ebp
call fcn.0043e1b0
add esp, 0x14
jmp 0x42c44e
cmp eax, 2
jne 0x42c4c9
mov eax, dword [esi + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42c3b0
sub eax, edx
cmp eax, 1
jb 0x42c4d2
lea eax, [esp + 0x14]
push eax
call fcn.0043dbc0
mov ecx, dword [esi + 8]
push 0x48e3fc
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0044f9c8
add esp, 0x10
test eax, eax
jne 0x42c4c9
lea esp, [esp]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0xe8]
push eax
push 0x80000
push 1
push ecx
call fcn.00451cbc
mov edi, eax
add esp, 0x10
test edi, edi
je 0x42c426
mov edx, dword [esi + 0xe8]
push edi
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.0043e100
add esp, 0xc
cmp edi, 0x80000
je 0x42c3f0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0044f729
lea edx, [esp + 0x18]
push edx
push ebp
mov dword [esp + 0x1c], 0
call fcn.0043e1b0
add esp, 0xc
xor edi, edi
add esi, 0x20
movzx ecx, byte [edi + ebp]
push 0x10
push 3
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.0045185a
lea eax, [esp + 0x1c]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42c470
sub eax, edx
cmp eax, 1
jne 0x42c491
mov dl, byte [esp + 0xc]
mov byte [esp + 0xd], dl
mov byte [esp + 0xc], 0x30
mov byte [esp + 0xe], cl
lea eax, [esp + 0xc]
push eax
push 0xc8
push esi
call fcn.0044d289
add edi, 1
add esp, 0xc
cmp edi, 0x10
jl 0x42c453
push ebp
call fcn.0044ca76
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0044b607
add esp, 0x64
ret
push ebp
call fcn.0044ca76
add esp, 4
mov ecx, dword [esp + 0x6c]
pop edi
lea eax, [esi + 0x20]
pop esi
pop ebp
xor ecx, esp
call fcn.0044b607
add esp, 0x64
ret
Function at 0x42c6d0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x64
push ebp
push esi
push edi
push 0x100
mov edi, ecx
mov dword [esp + 0x14], 0
call fcn.0044aa3d
mov ebp, eax
mov eax, dword [edi + 0x18]
add esp, 4
cmp eax, 1
jne 0x42c73a
lea eax, [esp + 0x14]
push eax
call fcn.0043f290
mov edx, dword [edi + 8]
mov eax, edx
add esp, 4
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42c710
lea ecx, [esp + 0x14]
push ecx
sub eax, esi
push eax
push edx
call fcn.0043f2d0
lea edx, [esp + 0x20]
push edx
push ebp
call fcn.0043f350
add esp, 0x14
jmp 0x42c7ee
cmp eax, 2
jne 0x42c85e
mov eax, dword [edi + 8]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42c750
sub eax, edx
cmp eax, 1
jb 0x42c867
lea eax, [esp + 0x14]
push eax
call fcn.0043f290
mov ecx, dword [edi + 8]
push 0x48e3fc
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0044f9c8
add esp, 0x10
test eax, eax
jne 0x42c85e
lea esp, [esp]
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 0xe8]
push eax
push 0x80000
push 1
push ecx
call fcn.00451cbc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42c7c6
mov eax, dword [edi + 0xe8]
lea edx, [esp + 0x14]
push edx
push esi
push eax
call fcn.0043f2d0
add esp, 0xc
cmp esi, 0x80000
je 0x42c790
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0044f729
lea edx, [esp + 0x18]
push edx
push ebp
mov dword [esp + 0x1c], 0
call fcn.0043f350
add esp, 0xc
xor esi, esi
add edi, 0x20
movzx ecx, byte [esi + ebp]
push 0x10
push 3
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.0045185a
lea eax, [esp + 0x1c]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42c810
sub eax, edx
cmp eax, 1
jne 0x42c831
mov dl, byte [esp + 0xc]
mov byte [esp + 0xd], dl
mov byte [esp + 0xc], 0x30
mov byte [esp + 0xe], cl
lea eax, [esp + 0xc]
push eax
push 0xc8
push edi
call fcn.0044d289
add esi, 1
add esp, 0xc
cmp esi, 0x14
jl 0x42c7f3
push ebp
call fcn.0044ca76
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x64
ret
push ebp
call fcn.0044ca76
add esp, 4
lea eax, [edi + 0x20]
pop edi
pop esi
pop ebp
add esp, 0x64
ret
Function at 0x42c880
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
push edi
push 0x100
mov edi, ecx
mov dword [esp + 0x18], 0
call fcn.0044aa3d
mov ebx, eax
mov eax, dword [edi + 0x1c]
cdq
and edx, 7
add eax, edx
mov ebp, eax
mov eax, dword [edi + 0x18]
sar ebp, 3
add esp, 4
cmp eax, 1
mov dword [esp + 0x18], ebp
jne 0x42c8fa
lea eax, [esp + 0x1c]
push eax
call fcn.0043f4a0
mov edx, dword [edi + 8]
mov eax, edx
add esp, 4
lea esi, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42c8d0
lea ecx, [esp + 0x1c]
push ecx
sub eax, esi
push eax
push edx
call fcn.0043ff60
lea edx, [esp + 0x28]
push edx
push ebx
call fcn.00440010
add esp, 0x14
jmp 0x42c9ae
cmp eax, 2
jne 0x42ca11
mov eax, dword [edi + 8]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42c910
sub eax, edx
cmp eax, 1
jb 0x42ca1a
lea eax, [esp + 0x1c]
push eax
call fcn.0043f4a0
mov ecx, dword [edi + 8]
push 0x48e3fc
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.0044f9c8
add esp, 0x10
test eax, eax
jne 0x42ca11
lea esp, [esp]
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0xe8]
push eax
push 0x80000
push 1
push ecx
call fcn.00451cbc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42c986
mov eax, dword [edi + 0xe8]
lea edx, [esp + 0x1c]
push edx
push esi
push eax
call fcn.0043ff60
add esp, 0xc
cmp esi, 0x80000
je 0x42c950
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0044f729
lea edx, [esp + 0x20]
push edx
push ebx
mov dword [esp + 0x20], 0
call fcn.00440010
add esp, 0xc
xor esi, esi
test ebp, ebp
jle 0x42ca11
lea ebp, [edi + 0x20]
movzx ecx, byte [esi + ebx]
push 0x10
push 3
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.0045185a
lea eax, [esp + 0x20]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42c9d4
sub eax, edx
cmp eax, 1
jne 0x42c9f5
mov dl, byte [esp + 0x10]
mov byte [esp + 0x11], dl
mov byte [esp + 0x10], 0x30
mov byte [esp + 0x12], cl
lea eax, [esp + 0x10]
push eax
push 0xc8
push ebp
call fcn.0044d289
add esi, 1
add esp, 0xc
cmp esi, dword [esp + 0x18]
jl 0x42c9b7
push ebx
call fcn.0044ca76
add esp, 4
lea eax, [edi + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
Function at 0x42ca30
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xe4
push ebx
push ebp
push esi
push edi
push 0x100
mov edi, ecx
mov dword [esp + 0x18], 0
call fcn.0044aa3d
mov ecx, dword [edi + 0x1c]
mov ebx, eax
mov eax, ecx
cdq
and edx, 7
add eax, edx
mov ebp, eax
mov eax, dword [edi + 0x18]
sar ebp, 3
add esp, 4
cmp eax, 1
mov dword [esp + 0x18], ebp
jne 0x42caaf
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.00442c20
mov edx, dword [edi + 8]
mov eax, edx
add esp, 8
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42ca85
lea ecx, [esp + 0x1c]
push ecx
sub eax, esi
push eax
push edx
call fcn.00442cd0
lea edx, [esp + 0x28]
push edx
push ebx
call fcn.00442d10
add esp, 0x14
jmp 0x42cb5e
cmp eax, 2
jne 0x42cbc1
mov eax, dword [edi + 8]
lea esi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x42cac0
sub eax, esi
cmp eax, 1
jb 0x42cbca
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.00442c20
mov ecx, dword [edi + 8]
push 0x48e3fc
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.0044f9c8
add esp, 0x14
test eax, eax
jne 0x42cbc1
lea ecx, [ecx]
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0xe8]
push eax
push 0x80000
push 1
push ecx
call fcn.00451cbc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42cb36
mov eax, dword [edi + 0xe8]
lea edx, [esp + 0x1c]
push edx
push esi
push eax
call fcn.00442cd0
add esp, 0xc
cmp esi, 0x80000
je 0x42cb00
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0044f729
lea edx, [esp + 0x20]
push edx
push ebx
mov dword [esp + 0x20], 0
call fcn.00442d10
add esp, 0xc
xor esi, esi
test ebp, ebp
jle 0x42cbc1
lea ebp, [edi + 0x20]
movzx ecx, byte [esi + ebx]
push 0x10
push 3
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.0045185a
lea eax, [esp + 0x20]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42cb84
sub eax, edx
cmp eax, 1
jne 0x42cba5
mov dl, byte [esp + 0x10]
mov byte [esp + 0x11], dl
mov byte [esp + 0x10], 0x30
mov byte [esp + 0x12], cl
lea eax, [esp + 0x10]
push eax
push 0xc8
push ebp
call fcn.0044d289
add esi, 1
add esp, 0xc
cmp esi, dword [esp + 0x18]
jl 0x42cb67
push ebx
call fcn.0044ca76
add esp, 4
lea eax, [edi + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret
Function at 0x42da20
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
call fcn.0041ddd0
test eax, eax
je 0x42da6d
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x24]
xor edx, edx
test eax, eax
setne dl
mov dword [ecx], eax
mov eax, dword [esp + 0x20]
mov dword [eax], edx
mov eax, esi
pop esi
ret
push edi
push str.unicows.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x42da8e
mov ecx, dword [esp + 0x24]
mov dword [ecx], 1
or edi, 0xffffffff
jmp 0x42dacf
push 0x48e7dc
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x42daad
mov edx, dword [esp + 0x24]
mov dword [edx], 2
or edi, 0xffffffff
jmp 0x42dacf
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push ecx
push edx
call eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
je 0x42dae6
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
ret

Function at 0x42dc00
Capabilities:
Query or enumerate registry key

Disassembly:
push esi
call fcn.0041ddd0
test eax, eax
je 0x42dc57
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x2c]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], eax
mov edx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword [edx], ecx
ret
push edi
push str.unicows.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x42dc78
mov eax, dword [esp + 0x2c]
mov dword [eax], 1
or edi, 0xffffffff
jmp 0x42dcc3
push 0x48e804
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x42dc97
mov ecx, dword [esp + 0x2c]
mov dword [ecx], 2
or edi, 0xffffffff
jmp 0x42dcc3
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push ecx
call eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
mov edx, dword [esp + 0x30]
mov dword [edx], eax
je 0x42dcda
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
ret
Function at 0x42ddb0
Capabilities:
Delete registry key

Disassembly:
push esi
call fcn.0041ddd0
test eax, eax
je 0x42dde9
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x14]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], eax
mov edx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword [edx], ecx
ret
push edi
push str.unicows.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x42de0a
mov eax, dword [esp + 0x14]
mov dword [eax], 1
or edi, 0xffffffff
jmp 0x42de37
push 0x48e824
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x42de29
mov ecx, dword [esp + 0x14]
mov dword [ecx], 2
or edi, 0xffffffff
jmp 0x42de37
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push edx
push ecx
call eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
mov edx, dword [esp + 0x18]
mov dword [edx], eax
je 0x42de4e
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
ret

Function at 0x42de60
Capabilities:
Delete registry value

Disassembly:
push esi
call fcn.0041ddd0
test eax, eax
je 0x42de99
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x14]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], eax
mov edx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword [edx], ecx
ret
push edi
push str.unicows.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x42deba
mov eax, dword [esp + 0x14]
mov dword [eax], 1
or edi, 0xffffffff
jmp 0x42dee7
push 0x48e834
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x42ded9
mov ecx, dword [esp + 0x14]
mov dword [ecx], 2
or edi, 0xffffffff
jmp 0x42dee7
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push edx
push ecx
call eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
mov edx, dword [esp + 0x18]
mov dword [edx], eax
je 0x42defe
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
ret
Function at 0x42dff0
Capabilities:
Query environment variable

Disassembly:
push esi
call fcn.0041ddd0
test eax, eax
je 0x42e02e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
xor edx, edx
test eax, eax
setne dl
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
mov dword [eax], edx
mov eax, esi
pop esi
ret
push edi
push str.unicows.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x42e04f
mov ecx, dword [esp + 0x18]
mov dword [ecx], 1
or edi, 0xffffffff
jmp 0x42e081
push 0x48e854
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x42e06e
mov edx, dword [esp + 0x18]
mov dword [edx], 2
or edi, 0xffffffff
jmp 0x42e081
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push ecx
call eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
mov edx, dword [esp + 0x1c]
mov dword [edx], eax
je 0x42e098
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
ret

Function at 0x42fd50
Capabilities:
Create directory

Disassembly:
push esi
call fcn.0041ddd0
test eax, eax
je 0x42fd89
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x14]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], eax
mov edx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword [edx], ecx
ret
push edi
push str.unicows.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x42fda9
mov eax, dword [esp + 0x14]
mov dword [eax], 1
xor edi, edi
jmp 0x42fdd5
push 0x48ead8
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x42fdc7
mov ecx, dword [esp + 0x14]
mov dword [ecx], 2
xor edi, edi
jmp 0x42fdd5
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push edx
push ecx
call eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
mov edx, dword [esp + 0x18]
mov dword [edx], eax
je 0x42fdec
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
ret
Function at 0x435150
Capabilities:
Get file version info

Disassembly:
sub esp, 0x80
mov eax, dword [0x4a2e7c]
xor eax, esp
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x84]
push ebx
push esi
push edi
mov edi, dword [esp + 0x94]
xor ebx, ebx
push 0x63
lea ecx, [esp + 0x29]
push ebx
push ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x30], bl
call fcn.0044c830
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], ebx
call fcn.004215b0
add esp, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x1c]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
jne 0x4351d9
push 0x63
push 0x49789d
lea ecx, [esp + 0x2c]
push 0x64
push ecx
call fcn.0044cae0
add esp, 0x10
mov byte [esp + 0x24], bl
mov byte [esp + 0x87], bl
jmp 0x43528c
lea edx, [esi + 0xfde8]
push ebp
push edx
call fcn.0044dad6
mov ebp, eax
add esp, 4
cmp ebp, ebx
jne 0x435212
push 0x63
push 0x49789d
lea eax, [esp + 0x30]
push 0x64
push eax
call fcn.0044cae0
add esp, 0x10
mov byte [esp + 0x28], bl
mov byte [esp + 0x8b], bl
jmp 0x43527e
push ebp
push esi
push ebx
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x435237
push 0x49789d
mov esi, 0x64
lea edi, [esp + 0x2c]
call fcn.004350f0
add esp, 4
jmp 0x43527e
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
push 0x497748
push ebp
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x43521f
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
movzx edx, ax
push edx
shr eax, 0x10
push eax
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
push str._d._d._d._d
lea ecx, [esp + 0x3c]
push 0x64
push ecx
call fcn.0045079b
add esp, 0x1c
cmp ebp, ebx
je 0x43528b
push ebp
call fcn.0044db99
add esp, 4
pop ebp
cmp dword [esp + 0x10], ebx
je 0x43529f
mov edx, dword [esp + 0xc]
push edx
call fcn.004215f0
add esp, 4
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00416390
mov ecx, dword [esp + 0x88]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0044b607
add esp, 0x80
ret

Function at 0x437870
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
push edi
mov edi, dword [esp + 0x18]
push 0
push 0x80
push 5
push 0
push 0
push 0x40000000
push edi
mov dword [esp + 0x2c], 0
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x4378c0
push 0
push 0x80
push 1
push 0
push 0
push 0x40000000
push edi
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x4378ec
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x14]
push eax
push 2
lea ecx, [esp + 0x18]
push ecx
push esi
mov byte [esp + 0x20], 0xff
mov byte [esp + 0x21], 0xfe
call edi
test eax, eax
jne 0x4378f5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x20]
push 0
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x24]
lea ecx, [eax + eax]
push ecx
push edx
push esi
call edi
test eax, eax
push esi
je 0x4378e6
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 8
ret
Function at 0x4386d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x28
mov eax, dword [0x4a2e7c]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov eax, 1
test byte [0x4a4a70], al
push edi
mov edi, dword [esp + 0x34]
jne 0x43871d
or dword [0x4a4a70], eax
push 0x19000
mov dword [0x4a4a6c], 0x19000
call fcn.0044dad6
push 0x486a00
mov dword [0x4a4a68], eax
call fcn.0044eec1
add esp, 8
mov ecx, dword [esp + 0x38]
mov eax, dword [0x4a4a6c]
push ecx
lea edx, [esp + 0x10]
push 0x49778c
push edx
mov dword [esp + 0x14], eax
call fcn.00450706
mov eax, dword [0x4a4a6c]
mov ecx, dword [0x4a4a68]
push eax
push 0
push ecx
call fcn.0044c830
mov eax, dword [0x4a4a68]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 0x18
lea edx, [esp + 8]
push edx
push eax
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
push reloc.WS2_32.dll_connect
call esi
cmp eax, 0xea
jne 0x4387de
lea esp, [esp]
mov eax, dword [esp + 8]
mov edx, dword [0x4a4a68]
add eax, 0x2800
push eax
push edx
mov dword [esp + 0x10], eax
mov dword [0x4a4a6c], eax
call fcn.0044fc99
add esp, 8
lea ecx, [esp + 8]
push ecx
push eax
push 0
push 0
lea edx, [esp + 0x1c]
push edx
push reloc.WS2_32.dll_connect
mov dword [0x4a4a68], eax
call esi
cmp eax, 0xea
je 0x438780
mov eax, dword [0x4a4a68]
mov dword [edi], eax
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0044b607
add esp, 0x28
ret 0xc
mov ecx, dword [0x4a4a68]
mov dword [edi], ecx
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
xor ecx, esp
call fcn.0044b607
add esp, 0x28
ret 0xc
Function at 0x43a910
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x485538
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x4a2e7c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
call fcn.00438fb0
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0
call fcn.0043a680
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x18], esp
push str.explorer.exe
call fcn.00419380
lea ecx, [esp + 0x1c]
call fcn.00439750
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.00439590
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret