joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437ccf
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x452504]
push edi
xor edi, edi
cmp dword [ebp + 0x3b0], edi
mov dword [ebp + 0x39c], eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
jne 0x437d00
xor eax, eax
jmp 0x437e89
mov eax, dword [ebp + 0x3a8]
push ebx
mov ebx, dword [ebp + 0x3a8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x469060]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x437d3c
push 2
push edi
push edi
push dword [ebp + 0x3a8]
call fcn.0043e85f
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x437e17
cmp dword [ebp + 0x3b0], edi
mov eax, dword [ebp + 0x3ac]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], edi
jbe 0x437e55
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp + 0x3ac]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], edi
cmp ecx, dword [ebp + 0x3b0]
jae 0x437da0
mov edx, dword [ebp - 0x74]
inc dword [ebp - 0x74]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x437d91
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0x70]
mov byte [eax], dl
inc eax
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x400
jl 0x437d71
mov edi, eax
lea eax, [ebp - 0x68]
sub edi, eax
push 0
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x437de0
mov eax, dword [ebp - 0x80]
add dword [ebp - 0x78], eax
cmp eax, edi
jl 0x437de9
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp + 0x3ac]
xor edi, edi
cmp eax, dword [ebp + 0x3b0]
jb 0x437d62
jmp 0x437deb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
xor edi, edi
mov eax, dword [ebp - 0x78]
cmp eax, edi
jne 0x437e84
cmp dword [ebp - 0x6c], edi
je 0x437e55
push 5
pop esi
cmp dword [ebp - 0x6c], esi
jne 0x437e4a
call fcn.00438667
mov dword [eax], 9
call fcn.00438670
mov dword [eax], esi
jmp 0x437e7f
push edi
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0x3b0]
push dword [ebp + 0x3ac]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x437e3f
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x78], eax
jmp 0x437deb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
jmp 0x437deb
push dword [ebp - 0x6c]
call fcn.00438679
pop ecx
jmp 0x437e7f
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x437e6d
mov eax, dword [ebp + 0x3ac]
cmp byte [eax], 0x1a
jne 0x437e6d
xor eax, eax
jmp 0x437e87
call fcn.00438667
mov dword [eax], 0x1c
call fcn.00438670
mov dword [eax], edi
or eax, 0xffffffff
jmp 0x437e87
sub eax, dword [ebp - 0x7c]
pop esi
pop ebx
mov ecx, dword [ebp + 0x39c]
pop edi
call fcn.00435083
add ebp, 0x3a0
leave
ret
Function at 0x4382f7
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x44b710
call fcn.00438fe4
mov edi, 0x94
mov eax, edi
call fcn.00435d80
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x468a2c], ecx
mov eax, dword [esi + 4]
mov dword [0x468a38], eax
mov edx, dword [esi + 8]
mov dword [0x468a3c], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x468a30], esi
cmp ecx, 2
je 0x438357
or esi, 0x8000
mov dword [0x468a30], esi
shl eax, 8
add eax, edx
mov dword [0x468a34], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x438392
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x438392
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4383aa
cmp eax, 0x20b
je 0x438397
mov dword [ebp - 0x1c], esi
jmp 0x4383be
cmp dword [ecx + 0x84], 0xe
jbe 0x438392
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x4383b8
cmp dword [ecx + 0x74], 0xe
jbe 0x438392
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.0043d6b1
pop ecx
test eax, eax
jne 0x4383d2
push 0x1c
call fcn.004382d3
pop ecx
call fcn.00439a5c
test eax, eax
jne 0x4383e3
push 0x10
call fcn.004382d3
pop ecx
call fcn.0043d291
mov dword [ebp - 4], esi
call fcn.0043ce09
test eax, eax
jge 0x4383fc
push 0x1b
call fcn.004382ae
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x46a3c0], eax
call fcn.0043f074
mov dword [0x468a74], eax
call fcn.0043efd2
test eax, eax
jge 0x438422
push 8
call fcn.004382ae
pop ecx
call fcn.0043ed9f
test eax, eax
jge 0x438433
push 9
call fcn.004382ae
pop ecx
push 1
call fcn.00437043
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x438449
push eax
call fcn.004382ae
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.0043ed42
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x43846a
movzx eax, word [ebp - 0x40]
jmp 0x43846d
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.0042b970
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x43848b
push edi
call fcn.00437170
call fcn.00437192
jmp 0x4384bd
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.0043901f
ret
Function at 0x43d319
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x43d347
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x43d34e
cmp ebx, dword [eax + 4]
jae 0x43d34e
xor eax, eax
jmp 0x43d53e
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x43d35f
xor eax, eax
inc eax
jmp 0x43d53d
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x43d375
cmp ecx, edx
jae 0x43d4ba
cmp dword [eax + 4], 0
je 0x43d37e
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x43d366
cmp dword [ebp + 8], 0
je 0x43d3a0
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x43d4ba
cmp eax, esi
jae 0x43d4ba
mov eax, dword [0x468c00]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x43d3c5
cmp dword [esi*4 + 0x468c08], edi
je 0x43d4be
inc esi
cmp esi, eax
jl 0x43d3b3
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x43d53a
cmp dword [ebp - 8], 0x1000000
jne 0x43d53a
test byte [ebp - 0xc], 0xcc
je 0x43d443
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x43d53a
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x43d53a
cmp word [eax + 0x18], 0x10b
jne 0x43d53a
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x43d53a
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x43d443
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x43d443
test byte [ecx + 0x27], 0x80
jne 0x43d4ba
push 1
push 0x468c48
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x43d357
mov ecx, dword [0x468c00]
test ecx, ecx
mov edx, ecx
jle 0x43d477
lea eax, [ecx*4 + 0x468c04]
cmp dword [eax], edi
je 0x43d477
dec edx
sub eax, 4
test edx, edx
jg 0x43d46b
test edx, edx
jne 0x43d4a8
push 0xf
pop ebx
cmp ecx, ebx
jg 0x43d484
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x43d49c
lea eax, [edx*4 + 0x468c08]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x43d48a
cmp ecx, 0x10
jge 0x43d4a8
inc ecx
mov dword [0x468c00], ecx
push 0
push 0x468c48
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x43d357
xor eax, eax
jmp 0x43d53d
test esi, esi
jle 0x43d357
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x468c48
call ebx
test eax, eax
jne 0x43d357
cmp dword [esi*4 + 0x468c08], edi
je 0x43d514
mov eax, dword [0x468c00]
lea esi, [eax - 1]
test esi, esi
jl 0x43d502
cmp dword [esi*4 + 0x468c08], edi
je 0x43d4fe
dec esi
jns 0x43d4f2
test esi, esi
jge 0x43d512
cmp eax, 0x10
jge 0x43d50d
inc eax
mov dword [0x468c00], eax
lea esi, [eax - 1]
jmp 0x43d514
je 0x43d52c
xor ecx, ecx
test esi, esi
jl 0x43d52c
lea eax, [ecx*4 + 0x468c08]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x43d51a
push 0
push 0x468c48
call ebx
jmp 0x43d357
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43e3a4
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00435d80
mov eax, dword [0x452504]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.00438066
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x43e4d7
push 2
push esi
push dword [ebp + 8]
call fcn.00438066
add esp, 0xc
cmp eax, ebx
je 0x43e4d7
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x43e477
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.0043f5c0
push 0x8000
push dword [ebp + 8]
call fcn.00441810
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x43e42d
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.00437ccf
add esp, 0xc
cmp eax, 0xffffffff
je 0x43e44d
sub edi, eax
test edi, edi
jg 0x43e425
jmp 0x43e465
call fcn.00438670
cmp dword [eax], 5
jne 0x43e462
call fcn.00438667
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.00441810
pop ecx
pop ecx
jmp 0x43e4bf
jge 0x43e4bf
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00438066
push dword [ebp + 8]
call fcn.0043e5e0
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x43e4bf
call fcn.00438667
mov dword [eax], 0xd
call fcn.00438670
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0x1008]
push dword [ebp + 8]
call fcn.00438066
add esp, 0xc
mov eax, esi
pop edi
jmp 0x43e4d9
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.00435083
leave
ret
Function at 0x43eb92
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x452504]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x452de0]
je 0x43ebc7
inc eax
cmp eax, 0x13
jb 0x43ebb8
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x452de0]
jne 0x43eced
mov eax, dword [0x468a7c]
cmp eax, 1
je 0x43ecc5
cmp eax, edx
jne 0x43ebf7
cmp dword [0x452554], 1
je 0x43ecc5
cmp ecx, 0xfc
je 0x43eced
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43ec2d
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.0043b280
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.00439260
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x43ec61
mov eax, edi
push eax
call fcn.00439260
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x44b7c4
push edi
call fcn.00435f00
add esp, 0x10
push edi
call fcn.00439260
push dword [esi + 0x452de4]
mov ebx, eax
call fcn.00439260
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.00435d80
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.0043b280
push edi
push ebx
call fcn.0043b290
push 0x44b7c0
push ebx
call fcn.0043b290
push dword [esi + 0x452de4]
push ebx
call fcn.0043b290
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.0043fe76
add esp, 0x2c
jmp 0x43eced
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x452de4]
push dword [esi]
call fcn.00439260
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.00435083
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x43fe76
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x468e50], ebx
push esi
push edi
jne 0x43fef6
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x43ff31
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x44c22c
push edi
call esi
test eax, eax
mov dword [0x468e50], eax
je 0x43ff31
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x468e54], eax
call esi
cmp dword [0x468a2c], 2
mov dword [0x468e58], eax
jne 0x43fef6
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x468e60], eax
je 0x43fef6
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x468e5c], eax
mov eax, dword [0x468e5c]
test eax, eax
je 0x43ff3b
call eax
test eax, eax
je 0x43ff22
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x468e60]
test eax, eax
je 0x43ff22
test byte [ebp - 8], 1
jne 0x43ff3b
cmp dword [0x468a38], 4
jb 0x43ff35
or byte [ebp + 0x12], 0x20
jmp 0x43ff5a
xor eax, eax
jmp 0x43ff6a
or byte [ebp + 0x12], 4
jmp 0x43ff5a
mov eax, dword [0x468e54]
test eax, eax
je 0x43ff5a
call eax
mov ebx, eax
test ebx, ebx
je 0x43ff5a
mov eax, dword [0x468e58]
test eax, eax
je 0x43ff5a
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x468e50]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x440335
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00435d80
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4403d0
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x468a2c]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x4403d0
cmp eax, 1
je 0x4403f1
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4403d0
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x44039d
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x4403cc
xor eax, eax
inc eax
jmp 0x440410
cmp edi, eax
jae 0x4403d4
xor eax, eax
jmp 0x440410
cmp eax, esi
jae 0x4403db
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x468a2c]
jmp 0x4403f4
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x441f33
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x441f4c
or eax, 0xffffffff
jmp 0x441fad
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x441fa9
push 0x3d
push esi
call fcn.004362cd
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x441fa9
cmp esi, eax
je 0x441fa9
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x468a4c]
sete cl
cmp eax, dword [0x468a50]
mov dword [ebp - 8], ecx
jne 0x441f8f
mov edi, eax
call fcn.00441ed2
mov dword [0x468a4c], eax
cmp eax, ebx
jne 0x441fe8
cmp dword [ebp + 0xc], ebx
je 0x441fb1
cmp dword [0x468a54], ebx
je 0x441fb1
call fcn.0043fde6
test eax, eax
je 0x441fe8
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x441fba
xor eax, eax
jmp 0x441fac
push 4
call fcn.004374ac
cmp eax, ebx
pop ecx
mov dword [0x468a4c], eax
je 0x441fa9
mov dword [eax], ebx
cmp dword [0x468a54], ebx
jne 0x441fe8
push 4
call fcn.004374ac
cmp eax, ebx
pop ecx
mov dword [0x468a54], eax
je 0x441fa9
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x468a4c]
call fcn.00441e85
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x442049
cmp dword [esi], ebx
je 0x442049
lea esi, [esi + edi*4]
push dword [esi]
call fcn.00437394
cmp dword [ebp - 8], ebx
pop ecx
jne 0x44202c
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x44208a
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x442023
mov eax, edi
shl eax, 2
push eax
push dword [0x468a4c]
call fcn.00439030
cmp eax, ebx
pop ecx
pop ecx
je 0x44208a
jmp 0x442085
cmp dword [ebp - 8], ebx
jne 0x4420f5
cmp edi, ebx
jge 0x442058
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x468a4c]
call fcn.00439030
cmp eax, ebx
pop ecx
pop ecx
je 0x441fa9
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x468a4c], eax
cmp dword [ebp + 0xc], ebx
je 0x4420df
push dword [ebp - 4]
call fcn.00439260
inc eax
inc eax
push eax
call fcn.004374ac
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x4420df
push dword [ebp - 4]
push esi
call fcn.0043b280
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x4420d8
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.00437394
pop ecx
cmp dword [ebp - 8], ebx
je 0x4420ed
push dword [ebp - 4]
call fcn.00437394
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x441fac
push dword [ebp - 4]
call fcn.00437394
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x441fb6
Function at 0x43b649
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x43b3c1
dec edi
call fcn.0043b67c
mov edi, 0xce034b66
add edi, 0x4486424a
xor dword [ecx], esi
add eax, eax
inc ecx
mov edi, 0xc3c0813a
inc edi
sub edi, eax
cmp ecx, edx
jne fcn.0043b649
sub edi, 0xd7eab95f
inc eax
and eax, edi
ret
Function at 0x4039f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44f8f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
lea ecx, [esp + 8]
call fcn.004491b5
push 0
push 0
push 0
push str.DISPLAY
mov dword [esp + 0x30], 0
call dword [0x4550ec]
push eax
lea ecx, [esp + 0xc]
call fcn.0044954d
mov eax, dword [esp + 0x10]
mov edi, dword [0x4550e8]
push 0x58
push eax
call edi
mov ecx, dword [esp + 0x10]
push 0x5a
push ecx
mov esi, eax
call edi
cmp esi, 0x60
mov edi, eax
jne 0x403a7f
cmp edi, esi
jne 0x403aac
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.004495b5
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
cmp esi, 0x78
jne 0x403aac
cmp edi, esi
jne 0x403aac
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.004495b5
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.004495b5
mov ecx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x413be0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4519d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.00402730
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.004024d0
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x413c72
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x416bb0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x451f57
push eax
mov dword fs:[0], esp
sub esp, 0x30
push esi
mov esi, ecx
push edi
mov edi, 0x12
mov dword [esi + 0xdc], edi
mov dword [esi + 0xe0], 6
mov dword [esi + 0xe4], 0xe
call fcn.004039f0
cmp eax, 0x60
jle 0x416c0f
mov dword [esi + 0xdc], 0x16
mov dword [esi + 0xe0], 8
mov dword [esi + 0xe4], edi
push 0x3b
lea eax, [esp + 0xc]
push eax
mov ecx, 0x476708
call fcn.0041b4f0
push eax
lea ecx, [esi + 0xbc]
mov dword [esp + 0x44], 0
call fcn.004216a0
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0xffffffff
call fcn.004214a0
push 0x3c
lea ecx, [esp + 0x30]
push ecx
mov ecx, 0x476708
call fcn.0041b4f0
mov edi, eax
push 0x13
lea edx, [esp + 0x24]
push edx
mov ecx, 0x476708
mov dword [esp + 0x48], 1
call fcn.0041b4f0
push edi
push eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x4c], 2
call fcn.00416640
push eax
lea ecx, [esi + 0xc8]
mov byte [esp + 0x44], 3
call fcn.004216a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 2
call fcn.004214a0
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 1
call fcn.004214a0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], 0xffffffff
call fcn.004214a0
mov eax, dword [esp + 0x48]
mov edx, dword [esi]
push eax
push 0x8c
mov ecx, esi
mov byte [esi + 0xd8], 0
call dword [edx + 0x134]
mov ecx, dword [esp + 0x38]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x3c
ret 4

Function at 0x418d20
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x452405
push eax
mov dword fs:[0], esp
lea eax, [esp + 0x10]
push eax
add ecx, 0x30
mov dword [esp + 0xc], 0
call fcn.004216a0
lea ecx, [esp + 0x10]
mov dword [esp + 8], 0xffffffff
call fcn.004214a0
mov ecx, dword [esp]
mov dword fs:[0], ecx
add esp, 0xc
ret 0xc