joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4467e9
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a0234]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00436336
and dword [ebp - 0x14], 0
cmp dword [0x4a9648], 0
mov dword [ebp - 0x18], eax
jne 0x44689c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x446944
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x486508
push ebx
call edi
test eax, eax
je 0x446944
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4864f8
push ebx
mov dword [0x4a9648], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4a964c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4a9650], eax
call edi
push eax
call esi
mov dword [0x4a9658], eax
test eax, eax
je 0x44689c
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4a9654], eax
mov eax, dword [0x4a9654]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4468f5
cmp dword [0x4a9658], ecx
je 0x4468f5
push eax
call esi
push dword [0x4a9658]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4468f5
test ebx, ebx
je 0x4468f5
call edi
test eax, eax
je 0x4468ec
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4468ec
test byte [ebp - 8], 1
jne 0x4468f5
or dword [ebp + 0x10], 0x200000
jmp 0x446928
mov eax, dword [0x4a964c]
cmp eax, dword [ebp - 0x18]
je 0x446928
push eax
call esi
test eax, eax
je 0x446928
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x446928
mov eax, dword [0x4a9650]
cmp eax, dword [ebp - 0x18]
je 0x446928
push eax
call esi
test eax, eax
je 0x446928
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4a9648]
call esi
test eax, eax
je 0x446944
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x446946
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042cb0b
leave
ret
Function at 0x44d260
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479bf8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4a0234]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
call edx
mov edi, eax
mov dword [ebp - 0x10], edi
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
push ecx
push edx
push edi
mov ecx, esi
mov dword [ebp - 4], 0
call eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [edi]
mov edx, dword [edx + 0xc]
push eax
push ecx
mov ecx, edi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push edi
mov ecx, esi
call edx
mov bl, al
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call edx
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x466170
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b409
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4a0234]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov ecx, dword [edi + 0x34]
sub ecx, dword [edi + 0x30]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 1
call fcn.004658b0
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x20]
push edx
push esi
mov ecx, edi
call fcn.00465cc0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0xc]
push ecx
mov ecx, esi
call eax
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.00464060
add esp, 0x10
mov edx, dword [esi]
mov edx, dword [edx + 8]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call edx
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
xor eax, eax
mov edx, ecx
mov esi, edi
rep stosd dword es:[edi], eax
lea eax, [edx*4]
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 1
push esi
cmp eax, 0x10
jb 0x46623f
call fcn.00469fa0
jmp 0x466244
call fcn.00469fb0
mov edi, dword [ebp - 0x20]
add esp, 4
mov byte [ebp - 4], bl
cmp edi, ebx
je 0x46627d
mov ebx, dword [ebp - 0x1c]
mov esi, edi
cmp edi, ebx
je 0x466274
lea ebx, [ebx]
lea ecx, [ebp - 0x14]
push esi
push ecx
call fcn.00464370
add esi, 0x28
add esp, 8
cmp esi, ebx
jne 0x466260
push edi
call fcn.0042cb00
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4662a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b409
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4a0234]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebx + 0x34]
sub ecx, dword [ebx + 0x30]
mov eax, 0x66666667
imul ecx
mov ecx, dword [edi + 0x34]
sub ecx, dword [edi + 0x30]
sar edx, 3
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add esi, edx
add eax, esi
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 1
call fcn.004658b0
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x20]
push edx
push esi
mov ecx, edi
call fcn.00465cc0
mov eax, dword [ebp + 0x18]
push eax
lea ecx, [ebp - 0x20]
push ecx
push esi
mov ecx, ebx
call fcn.00465cc0
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [esi]
push ebx
push edx
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00464060
add esp, 0x10
mov edx, dword [esi]
mov edx, dword [edx + 8]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call edx
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
xor eax, eax
mov edx, ecx
mov esi, edi
rep stosd dword es:[edi], eax
lea eax, [edx*4]
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 1
push esi
cmp eax, 0x10
jb 0x46639b
call fcn.00469fa0
jmp 0x4663a0
call fcn.00469fb0
mov edi, dword [ebp - 0x20]
add esp, 4
mov byte [ebp - 4], 0
test edi, edi
je 0x4663d1
mov esi, edi
cmp edi, ebx
je 0x4663c8
lea ecx, [ebp - 0x14]
push esi
push ecx
call fcn.00464370
add esi, 0x28
add esp, 8
cmp esi, ebx
jne 0x4663b4
push edi
call fcn.0042cb00
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x468ee0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
pop ebp
ret

Function at 0x46a090
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov ecx, edi
shr ecx, 2
xor eax, eax
test ecx, ecx
je 0x46a0c4
mov eax, edx
sub esi, edx
mov dword [ebp - 4], ecx
push ebx
mov ebx, dword [esi + eax]
xor dword [eax], ebx
add eax, 4
dec ecx
jne 0x46a0b2
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
pop ebx
add eax, eax
add eax, eax
sub edi, eax
je 0x46a0e9
add edx, eax
add esi, eax
test edi, edi
je 0x46a0e9
mov ecx, esi
mov eax, edx
sub ecx, edx
mov esi, edi
lea esp, [esp]
mov dl, byte [eax + ecx]
xor byte [eax], dl
inc eax
dec esi
jne 0x46a0e0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46a0f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov eax, esi
shr eax, 2
xor ecx, ecx
xor edx, edx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x46a12c
mov esi, ebx
mov edx, edi
sub esi, edi
mov dword [ebp - 4], eax
mov ebx, dword [esi + edx]
xor ebx, dword [edx]
add edx, 4
or ecx, ebx
dec eax
jne 0x46a116
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov edx, dword [ebp - 4]
lea eax, [edx*4]
sub esi, eax
jne 0x46a145
pop edi
xor eax, eax
test ecx, ecx
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret
add ebx, eax
add edi, eax
mov eax, ecx
mov edx, ecx
shr edx, 0x10
shr eax, 0x18
or al, dl
mov edx, ecx
shr edx, 8
or dl, al
or dl, cl
test esi, esi
je 0x46a173
mov ecx, ebx
mov eax, edi
sub ecx, edi
mov bl, byte [eax + ecx]
xor bl, byte [eax]
inc eax
or dl, bl
dec esi
jne 0x46a168
pop edi
xor eax, eax
test dl, dl
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x475994
Capabilities:
Get common file path

Disassembly:
push 0xc44
mov eax, 0x47ddb8
call fcn.00433185
mov eax, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, ecx
xor edi, edi
mov dword [ebp - 0xc50], eax
cmp esi, edi
je 0x4759ff
cmp word [esi], di
je 0x4759ff
push edi
push esi
call fcn.0042e5f5
pop ecx
pop ecx
test eax, eax
jne 0x4759ff
mov dword [ebp - 0xc4c], edi
call fcn.00411019
test al, al
je 0x4759ff
push esi
call fcn.0042eb37
pop ecx
test eax, eax
je 0x4759ff
push 0xc8
call ebx
inc dword [ebp - 0xc4c]
cmp dword [ebp - 0xc4c], 0x3e8
jl 0x4759d2
mov eax, dword [ebp - 0xc50]
cmp eax, edi
je 0x475a54
cmp word [eax], di
je 0x475a54
push edi
push eax
call fcn.0042e5f5
pop ecx
pop ecx
test eax, eax
jne 0x475a54
mov dword [ebp - 0xc4c], edi
mov esi, dword [ebp - 0xc50]
call fcn.00411019
test al, al
je 0x475a54
push esi
call fcn.0042eb37
pop ecx
test eax, eax
je 0x475a54
push 0xc8
call ebx
inc dword [ebp - 0xc4c]
cmp dword [ebp - 0xc4c], 0x3e8
jl 0x475a21
push 7
pop eax
xor ecx, ecx
mov dword [ebp - 0xc18], eax
mov dword [ebp - 0xc1c], edi
mov word [ebp - 0xc2c], cx
mov dword [ebp - 4], edi
mov dword [ebp - 0xc34], eax
xor eax, eax
mov dword [ebp - 0xc38], edi
mov word [ebp - 0xc48], ax
lea eax, [ebp - 0xc48]
push eax
push dword [ebp - 0xc50]
lea ecx, [ebp - 0xc2c]
mov byte [ebp - 4], 1
call fcn.0040d450
xor eax, eax
push 0x3fe
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x40e]
push edi
push eax
call fcn.0042ee00
add esp, 0x14
lea eax, [ebp - 0x410]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
push 0x7fe
mov word [ebp - 0xc10], ax
lea eax, [ebp - 0xc0e]
push edi
push eax
call fcn.0042ee00
add esp, 0xc
push 0x400
lea eax, [ebp - 0xc10]
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp dword [ebp - 0xc1c], edi
je 0x475b75
cmp dword [ebp - 0xc18], 8
mov eax, dword [ebp - 0xc2c]
jae 0x475b24
lea eax, [ebp - 0xc2c]
lea ecx, [ebp - 0xc10]
push ecx
push eax
call fcn.0042d3e0
pop ecx
pop ecx
test eax, eax
je 0x475b75
cmp dword [ebp - 0xc18], 8
mov eax, dword [ebp - 0xc2c]
jae 0x475b4c
lea eax, [ebp - 0xc2c]
push edi
push eax
call fcn.0042e5f5
pop ecx
pop ecx
test eax, eax
jne 0x475b75
cmp dword [ebp - 0xc18], 8
mov eax, dword [ebp - 0xc2c]
jae 0x475b6e
lea eax, [ebp - 0xc2c]
push eax
call fcn.0042e982
pop ecx
push 1
xor edi, edi
lea esi, [ebp - 0xc48]
call fcn.0040216b
push 1
lea esi, [ebp - 0xc2c]
call fcn.0040216b
call fcn.00433208
ret 4
Function at 0x475cde
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x4a0234]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
mov esi, 0x4abf80
cmp dword [0x4abf90], edi
jne 0x475e0d
lea eax, [ebp - 0x804]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x804]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x475d21
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x804]
call fcn.00401fe9
cmp dword [0x4abf94], 8
mov eax, dword [0x4abf80]
jae 0x475d4b
mov eax, esi
push edi
push eax
call fcn.0042e5f5
pop ecx
pop ecx
test eax, eax
je 0x475d6b
xor eax, eax
mov ecx, 0x48cba4
call fcn.00401fe9
mov ecx, esi
call fcn.00411183
cmp dword [0x4abf90], edi
je 0x475d90
cmp dword [0x4abf94], 8
mov eax, dword [0x4abf80]
jae 0x475d83
mov eax, esi
push edi
push eax
call fcn.0042e5f5
pop ecx
pop ecx
test eax, eax
je 0x475da2
push str.TEMP
call fcn.0042e908
pop ecx
push eax
push esi
call fcn.00402064
cmp dword [0x4abf90], edi
je 0x475dc7
cmp dword [0x4abf94], 8
mov eax, dword [0x4abf80]
jae 0x475dba
mov eax, esi
push edi
push eax
call fcn.0042e5f5
pop ecx
pop ecx
test eax, eax
je 0x475dd9
push 0x491214
call fcn.0042e908
pop ecx
push eax
push esi
call fcn.00402064
cmp dword [0x4abf90], edi
je 0x475dfe
cmp dword [0x4abf94], 8
mov eax, dword [0x4abf80]
jae 0x475df1
mov eax, esi
push edi
push eax
call fcn.0042e5f5
pop ecx
pop ecx
test eax, eax
je 0x475e0d
push 0xffffffffffffffff
push edi
mov eax, 0x4abf48
mov ecx, esi
call fcn.00401d6c
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042cb0b
leave
ret
Function at 0x475eee
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47de6d
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x4a0234]
xor eax, esp
mov dword [esp + 0x440], eax
push ebx
push esi
push edi
mov eax, dword [0x4a0234]
xor eax, esp
push eax
lea eax, [esp + 0x458]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
lea ecx, [esp + 0x14]
push ecx
push 3
push 0x79e
xor ebx, ebx
push eax
mov dword [esp + 0x24], ebx
call fcn.0042b3c0
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x2c]
call fcn.0040ba88
mov dword [esp + 0x460], ebx
mov eax, dword [eax]
cmp eax, ebx
je 0x475f70
mov eax, dword [eax]
jmp 0x475f72
xor eax, eax
push eax
lea esi, [esp + 0x34]
call fcn.00402ef9
lea edi, [esp + 0x2c]
call fcn.00401a5c
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x18]
mov dword [esp + 0x30], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x460], 3
push dword [esp + 0x28]
lea ecx, [esp + 0x1c]
call fcn.00410dd0
pop ecx
cmp eax, 1
jle 0x476046
xor eax, eax
push 0x3fe
mov word [esp + 0x50], ax
lea eax, [esp + 0x52]
push ebx
push eax
call fcn.0042ee00
mov esi, dword [esp + 0x24]
add esp, 0xc
jmp 0x47603a
push 0x200
lea eax, [esp + 0x50]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [esp + 0x44], 8
mov ecx, dword [esp + 0x30]
jae 0x476004
lea ecx, [esp + 0x30]
lea eax, [esp + 0x4c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47602e
cmp dx, bx
je 0x47602a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47602e
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x476008
xor eax, eax
jmp 0x476033
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x476042
add esi, 4
cmp esi, dword [esp + 0x1c]
jne 0x475fe3
jmp 0x47605d
mov eax, dword [esi]
jmp 0x476059
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
sub ecx, eax
sar ecx, 2
test ecx, ecx
je 0x47605d
mov eax, dword [eax]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x18], ebx
je 0x47606d
push dword [esp + 0x18]
call fcn.0042cb00
pop ecx
push 1
xor edi, edi
lea esi, [esp + 0x34]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.0040216b
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x458]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x440]
xor ecx, esp
call fcn.0042cb0b
mov esp, ebp
pop ebp
ret

Function at 0x476933
Capabilities:
Create thread

Disassembly:
push esi
call fcn.0042db9c
mov esi, eax
xor eax, eax
cmp dword [0x4ac19c], eax
jne 0x47697d
cmp word [0x4ac242], 3
jne 0x476960
test byte [0x4ac250], 1
je 0x476960
cmp byte [0x4ac059], al
je 0x47697d
push 0x4ac1a4
push eax
push 0x4ac238
push 0x4082c5
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4ac1a8], eax
mov eax, esi
pop esi
ret
Function at 0x476981
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x47e016
call fcn.00433185
xor ebx, ebx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea eax, [ebp - 0x2c]
push eax
push 0x401
push 0x4abf48
mov dword [ebp - 4], ebx
call fcn.00476150
call fcn.00476175
mov esi, eax
cmp esi, ebx
je 0x4769e7
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4769c9
lea eax, [ebp - 0x2c]
push esi
push 1
push dword [ebp - 0x1c]
push eax
call fcn.0042e41b
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
push esi
inc bl
call fcn.0042e502
add esp, 0x14
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
call fcn.00407fd5
mov al, bl
call fcn.00433208
ret

Function at 0x4769fb
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x47e043
call fcn.00433185
and dword [ebp - 0x1c], 0
mov bl, 1
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
push 0x3fc
push 0x4abf48
call fcn.00476150
call fcn.00476201
mov esi, eax
test esi, esi
je 0x476a84
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x476a46
lea eax, [ebp - 0x2c]
mov eax, dword [eax]
cmp eax, dword [0x49038b]
jne 0x476a7b
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x476a5c
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
push esi
push 1
add ecx, 0xfffffffc
push ecx
add eax, 4
push eax
call fcn.0042e41b
add esp, 0x10
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
push esi
call fcn.0042e502
pop ecx
jmp 0x476a86
xor bl, bl
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
call fcn.00407fd5
mov al, bl
call fcn.00433208
ret
Function at 0x477430
Capabilities:
Create thread

Disassembly:
push 0x64
mov eax, 0x47e3ad
call fcn.004331bb
xor ebx, ebx
lea eax, [ebp - 0x50]
push eax
push ebx
push 0x4abf48
push 0x4036ac
push ebx
push ebx
mov dword [0x4ac1a0], ebx
mov dword [ebp - 0x50], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], ebx
call fcn.00413150
or dword [ebp - 4], 0xffffffff
mov dword [0x4ac1a0], eax
jmp 0x47747d
cmp dword [ebp - 0x50], ebx
je 0x47749a
push ebx
push ebx
push 0x502
push dword [ebp - 0x50]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x4ac1a0], ebx
jne 0x477558
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov dword [ebp - 4], 2
cmp byte [0x4ac05b], bl
push str.KRglXTx2gH3c24R6o3JfvDqdFO9DgW9GgOnUdF
lea ebx, [ebp - 0x4c]
je 0x4774fb
mov ecx, str.FY_izZbA2i5Uge3Hw_PzSVtCqR01pMBk_FJsF6ZxyR3ZTkoZSgTNqAREIIqufCgs8Wbr468wrhj3h5LHfzZoEvizA5WBjWXvxrmfNQiwlmgQMTkwuhOLsRtGday_pkqXYHuV3
call fcn.0040f76e
pop ecx
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00402b41
push 0
push 1
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.0040211d
lea esi, [ebp - 0x30]
call fcn.00412960
jmp 0x477523
mov ecx, str.gbbqE3svfLcyUk3bNyrX4_MkGzsMd1MUZ5vNukEb9Mxb5HkegYFmsZRQtJI5gUSsrElb2D
call fcn.0040f76e
pop ecx
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00402b41
push 0
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.0040211d
lea eax, [ebp - 0x30]
lea esi, [ebp - 0x70]
call fcn.0040a60a
mov eax, esi
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 5
call fcn.0042cc5f
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x54], eax
push 0x49935c
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x60], 0x490794
call fcn.004325ed
call fcn.00433217
ret
Function at 0x407769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40b190
cmp edx, dword [eax]
je 0x40778b
add eax, 8
inc ecx
cmp eax, 0x40b220
jl 0x40777c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40b190]
jne 0x4078b9
mov eax, dword [0x40bbb0]
cmp eax, 1
je 0x407893
test eax, eax
jne 0x4077bc
cmp dword [0x40b0e4], 1
je 0x407893
cmp edx, 0xfc
je 0x4078b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4077f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00408670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00408490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x407836
lea eax, [ebp - 0x1a4]
push eax
call fcn.00408490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40a45c
push edi
call fcn.00408f00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00408670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00408680
lea eax, [ebp - 0xa0]
push 0x40a43c
push eax
call fcn.00408680
push dword [esi + 0x40b194]
lea eax, [ebp - 0xa0]
push eax
call fcn.00408680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00408e75
add esp, 0x2c
pop edi
jmp 0x4078b9
lea eax, [ebp + 8]
lea esi, [esi + 0x40b194]
push 0
push eax
push dword [esi]
call fcn.00408490
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]
pop esi
leave
ret

Function at 0x475716
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x475716
lcall 0x5de5, 0x8b10c483
jmp loc.00b49980
Function at 0x10006cb0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
mov esi, 0x811c9dc5
xor edx, edx
movzx eax, byte [edx + ecx]
xor eax, esi
imul esi, eax, 0x1000193
inc edx
cmp edx, 4
jb 0x10006cb8
mov eax, esi
pop esi
ret
Function at 0x1002de56
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
push 1
push 0x43b1
lea eax, [ebp - 0x10]
push eax
call fcn.1002dce2
add esp, 0x10
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002de8b
xor eax, eax
jmp 0x1002dfa5
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1002dea9
xor eax, eax
jmp 0x1002dfa5
push 0x3718
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 1
call fcn.1002d921
add esp, 0x10
cmp dword [ebp - 0xc], 0
jne 0x1002decc
xor eax, eax
jmp 0x1002dfa5
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x24]
push eax
push 0x7af3
push 1
push dword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
call fcn.1002db84
add esp, 0x1c
push dword [ebp + 8]
push 0
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.1002a0cb
add esp, 0x10
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
lea eax, [ebp - 8]
push eax
call fcn.1002dd2f
add esp, 0x10
lea eax, [ebp - 4]
push eax
push 1
push 0x69f3
lea eax, [ebp - 0x1c]
push eax
call fcn.1002dd9e
add esp, 0x10
push dword [ebp - 4]
call fcn.1002cbd1
pop ecx
test eax, eax
jne 0x1002df3e
xor eax, eax
jmp 0x1002dfa5
push 1
lea eax, [ebp - 4]
push eax
call fcn.1002de11
pop ecx
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002df8d
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x14], ecx
jne 0x1002df6a
xor eax, eax
jmp 0x1002dfa5
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002df83
xor eax, eax
jmp 0x1002dfa5
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002df9e
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
jmp 0x1002dfa2
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret