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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004272f0
mov eax, dword [0x45c080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0043ae0d
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x43c39a
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x43c4f6
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00449480
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x45dde8]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.0043d52e
mov ecx, dword [esi*4 + 0x45dde8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x43c4ef
cmp eax, dword [ecx + edi + 0x24]
jne 0x43c4ef
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43c4ef
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0043d52e
add esp, 0x14
test edx, edx
jl 0x43c4ef
jg 0x43c465
test eax, eax
jb 0x43c4ef
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x43c4ef
jl 0x43c47f
cmp dword [ebp - 0x1008], eax
ja 0x43c4ef
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x43c49d
test ebx, ebx
je 0x43c4d6
cmp ecx, edi
jae 0x43c4d6
mov al, byte [ecx]
cmp al, 0xd
jne 0x43c4b7
lea eax, [edi - 1]
cmp ecx, eax
jae 0x43c4c3
cmp byte [ecx + 1], 0xa
jne 0x43c4c3
inc ecx
jmp 0x43c4c3
movzx eax, al
movsx eax, byte [eax + 0x45c338]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x43c49d
cmp edx, ebx
jne 0x43c49d
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x43c4f4
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0042625b
leave
ret
Function at 0x43c9c6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x45dde8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x43ca06
cmp byte [ebx], 0xa
jne 0x43ca06
or byte [edi + eax + 0x28], 4
jmp 0x43ca0b
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x43cb0a
mov dl, byte [eax]
cmp dl, 0x1a
je 0x43caed
inc eax
cmp dl, 0xd
je 0x43ca37
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x43ca5d
cmp eax, ecx
jae 0x43ca6b
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x43ca1f
jmp 0x43cb0a
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43cae8
cmp dword [ebp - 0x10], 0
je 0x43cae8
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x45dde8]
test byte [eax + edi + 0x28], 0x48
je 0x43cac2
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x43caad
mov byte [esi], dl
jmp 0x43cabe
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x45dde8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x43cb0a
cmp byte [ebp - 1], 0xa
jne 0x43cad1
cmp esi, ebx
jne 0x43cad1
mov byte [esi], 0xa
jmp 0x43cb09
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0043d54c
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x43cb0a
mov byte [esi], 0xd
jmp 0x43cb09
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x45dde8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x43cb07
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x43cb0a
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x43cb13
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x45dde8]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x43cb59
cmp word [ebx], dx
jne 0x43cb59
or byte [eax + edi + 0x28], 4
jmp 0x43cb5e
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x43ccc1
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x43cca1
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x43cb9f
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x43cbd5
cmp eax, edx
jae 0x43cbe3
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x43cb7a
jmp 0x43ccc1
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43cc9c
cmp dword [ebp - 0x18], 0
je 0x43cc9c
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x45dde8]
test byte [eax + edi + 0x28], 0x48
je 0x43cc72
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x43cc36
mov word [esi], cx
jmp 0x43cc6d
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x45dde8]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x45dde8]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x45dde8]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x43ccc1
pop eax
cmp word [ebp - 4], ax
jne 0x43cc82
cmp esi, ebx
jne 0x43cc82
mov word [esi], ax
jmp 0x43ccbe
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0043d54c
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x43ccc1
push 0xd
pop eax
jmp 0x43cc7d
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x45dde8]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x43ccbb
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x43ccc1
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x43ebbe
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043eb40
Function at 0x441537
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x4415d4
push ebx
push esi
call fcn.00441500
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00440341
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x441581
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4415d3
push edi
push eax
call fcn.0043d72d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4415a1
call fcn.00439ef7
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4415d2
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00440341
add esp, 0x20
test eax, eax
jne 0x4415c0
push edi
call fcn.00439ef7
jmp 0x4415c8
push ebx
call fcn.00439ef7
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x443d4c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00439680
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x443dbb
cmp esi, dword [ebp - 4]
je 0x443db6
cmp dword [ebp + 0xc], 0
je 0x443db6
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x443d93
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0044389e
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x443dbd
xor eax, eax
inc eax
jmp 0x443dbd
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x443e22
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x45c080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00439680
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00439680
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x443e99
cmp word [ecx], dx
je 0x443e99
mov eax, dword [0x453bdc]
push edi
dec eax
push eax
push 0x453ac8
call fcn.00443dc1
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x443f0c
cmp word [eax], dx
je 0x443f0c
mov eax, dword [edi]
test eax, eax
je 0x443ebd
cmp word [eax], dx
je 0x443ebd
lea eax, [ebp - 0x10]
push eax
call fcn.004437a4
jmp 0x443ec6
lea eax, [ebp - 0x10]
push eax
call fcn.0044383f
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x443f36
mov eax, dword [0x453ac4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x4537b8
call fcn.00443dc1
add esp, 0xc
test al, al
je 0x443f36
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x443f01
cmp word [eax], di
je 0x443f01
lea eax, [ebp - 0x10]
push eax
call fcn.004437a4
pop ecx
jmp 0x443f38
lea eax, [ebp - 0x10]
push eax
call fcn.0044383f
jmp 0x443efe
mov eax, dword [edi]
test eax, eax
je 0x443f23
cmp word [eax], dx
je 0x443f23
lea eax, [ebp - 0x10]
push eax
call fcn.00443759
pop ecx
jmp 0x443f36
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x444001
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00443c46
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x444001
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x444001
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x444001
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x443f8e
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0043a876
test ebx, ebx
je 0x443ffc
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0043a876
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x444001
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x444001
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0043e820
add esp, 0x10
xor eax, eax
inc eax
jmp 0x444003
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042625b
leave
ret
Function at 0x447f65
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00447ee1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4480d4
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4480d4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x448089
jg 0x447fc1
test eax, eax
je 0x44807f
push 1
push 0x1000
call fcn.0043a12e
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x447fe4
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x448076
push 0x8000
push ebx
call fcn.00437479
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x44800d
jg 0x448008
cmp ecx, 0x1000
jb 0x44800d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0043bba7
add esp, 0x10
cmp eax, 0xffffffff
je 0x448052
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x448008
jl 0x448039
test ecx, ecx
jne 0x447ffa
push dword [ebp - 0xc]
push ebx
call fcn.00437479
push esi
call fcn.00439ef7
add esp, 0xc
xor ebx, ebx
jmp 0x4480e2
cmp byte [edi + 0x24], 0
je 0x448069
cmp dword [edi + 0x20], 5
jne 0x448069
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x448074
mov ebx, dword [edi + 0x18]
jmp 0x448076
xor ebx, ebx
push esi
call fcn.00439ef7
pop ecx
jmp 0x4480e2
test ecx, ecx
jg 0x44804b
jl 0x448089
test eax, eax
jae 0x44804b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0043d54c
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4480a9
cmp byte [edi + 0x1c], 0
je 0x44804b
jmp 0x4480da
push ebx
call fcn.00441e10
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x44804b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4480e2
cmp byte [edi + 0x1c], 0
je 0x4480df
mov ebx, dword [edi + 0x18]
jmp 0x4480e2
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0043d54c
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x449440
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44946d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44946d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40b370
Capabilities:
Check if file exists

Disassembly:
mov byte [ecx + 0x3330], 0
jmp fcn.00428160
Function at 0x413580
Capabilities:
Hash data using sha256

Disassembly:
cmp dword [0x4a86c4], 2
jl 0x4135a5
movaps xmm0, xmmword [0x47d9e0]
movaps xmmword [0x48da90], xmm0
movaps xmm0, xmmword [0x47d9d0]
movaps xmmword [0x48daa0], xmm0
push esi
mov esi, dword [esp + 8]
push 0xf0
push 0
push esi
call fcn.00468da0
mov dword [esi + 0x100], 0
add esp, 0xc
mov byte [esi + 0x104], 0
mov eax, dword [esi + 0xf4]
mov dword [eax], 0x6a09e667
mov eax, dword [esi + 0xf4]
mov dword [eax + 4], 0xbb67ae85
mov eax, dword [esi + 0xf4]
mov dword [eax + 8], 0x3c6ef372
mov eax, dword [esi + 0xf4]
mov dword [eax + 0xc], 0xa54ff53a
mov eax, dword [esi + 0xf4]
mov dword [eax + 0x10], 0x510e527f
mov eax, dword [esi + 0xf4]
mov dword [eax + 0x14], 0x9b05688c
mov eax, dword [esi + 0xf4]
mov dword [eax + 0x18], 0x1f83d9ab
mov eax, dword [esi + 0xf4]
mov dword [eax + 0x1c], 0x5be0cd19
mov eax, dword [esi + 0xf4]
xor dword [eax], 0x2080020
mov ecx, dword [esi + 0xf4]
mov eax, dword [esp + 0xc]
xor dword [ecx + 8], eax
mov ecx, dword [esi + 0xf4]
mov eax, dword [esp + 0x10]
or eax, 0x2000
shl eax, 0x10
xor dword [ecx + 0xc], eax
pop esi
ret 0xc

Function at 0x413810
Capabilities:
Hash data using sha256

Disassembly:
push ecx
push esi
push edi
mov edi, dword [esp + 0x10]
push 0x200
push 0
lea eax, [edi + 0x948]
push eax
call fcn.00468da0
add esp, 0xc
mov dword [edi + 0xb48], 0
lea eax, [edi + 0x840]
push 1
push 0
push eax
call fcn.00413580
mov dword [esp + 8], 0
lea esi, [edi + 0xf4]
cmp dword [0x4a86c4], 2
jl 0x41387a
movaps xmm0, xmmword [0x47d9e0]
movaps xmmword [0x48da90], xmm0
movaps xmm0, xmmword [0x47d9d0]
movaps xmmword [0x48daa0], xmm0
push 0xf0
lea eax, [esi - 0xf4]
push 0
push eax
call fcn.00468da0
mov dword [esi + 0xc], 0
add esp, 0xc
mov byte [esi + 0x10], 0
mov eax, dword [esi]
mov ecx, dword [esp + 8]
mov dword [eax], 0x6a09e667
mov eax, dword [esi]
mov dword [eax + 4], 0xbb67ae85
mov eax, dword [esi]
mov dword [eax + 8], 0x3c6ef372
mov eax, dword [esi]
mov dword [eax + 0xc], 0xa54ff53a
mov eax, dword [esi]
mov dword [eax + 0x10], 0x510e527f
mov eax, dword [esi]
mov dword [eax + 0x14], 0x9b05688c
mov eax, dword [esi]
mov dword [eax + 0x18], 0x1f83d9ab
mov eax, dword [esi]
mov dword [eax + 0x1c], 0x5be0cd19
mov eax, dword [esi]
xor dword [eax], 0x2080020
mov eax, dword [esi]
xor dword [eax + 8], ecx
inc ecx
mov eax, dword [esi]
add esi, 0x108
mov dword [esp + 8], ecx
xor dword [eax + 0xc], 0x20000000
cmp ecx, 8
jb 0x413855
mov byte [edi + 0x944], 1
mov byte [edi + 0x83c], 1
pop edi
pop esi
pop ecx
ret 4
Function at 0x413b10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a6e0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x48d1f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 0x14]
call fcn.0043f0c0
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x14]
push 0x40000
push eax
push 0x414120
mov dword [ebp - 4], 0
mov dword [edi], eax
mov dword [edi + 0x3c], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 1
mov dword [edi + 4], 0
call fcn.0043f3f0
lea ecx, [edi + 0x14]
call fcn.0043f1f0
mov dword [edi + 0x10], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x417d70
Capabilities:
Terminate process

Disassembly:
sub esp, 0xa4
mov eax, dword [0x48d1f4]
xor eax, esp
mov dword [esp + 0xa0], eax
push esi
mov esi, ecx
cmp byte [esi + 0x9508], 0
jne 0x417e79
cmp byte [esi + 0x714d], 0
jne 0x417e79
cmp byte [0x48e0bc], 0
jne 0x417e79
push 0xb
push 6
push 0x47daa4
lea eax, [esp + 0x10]
mov byte [0x48e0bc], 1
push 0x50
push eax
call fcn.00407ec0
add esp, 0x14
lea eax, [esp + 4]
push 0x50
push 0x47dab4
push eax
call fcn.00456a50
push 0x50
push 0xbd4
call fcn.00450560
push eax
lea eax, [esp + 0xc]
push eax
call fcn.00456a50
cmp byte [esi + 0x7150], 0
jne 0x417edd
push 0x7e6
push 2
call fcn.00457dd0
push eax
push 3
push 0x7e6
lea eax, [esp + 0x14]
push eax
push 0xbc8
call fcn.00450560
push eax
call fcn.0041c520
add esp, 0x18
call fcn.004171d0
mov esi, eax
call fcn.004171e0
test al, al
je 0x417e4c
push esi
push 0xbca
call fcn.00450560
push eax
jmp 0x417e71
push 0xbcc
call fcn.00450560
push eax
call fcn.0041c520
lea eax, [esi + 0x400]
add esp, 4
cmp word [eax], 0
je 0x417e79
push eax
push 0x47dab8
call fcn.0041c520
add esp, 8
xor esi, esi
jmp 0x417e80
mov eax, dword [esi + 0x48b1d8]
cmp eax, 0xccc
je 0x417e9c
push eax
call fcn.00450560
push eax
call fcn.0041c520
add esp, 4
add esi, 4
cmp esi, 0x1e4
jb 0x417e80
push 0x47d710
call fcn.0041c520
add esp, 4
mov ecx, 0x49d17c
push dword [esp + 0xac]
call fcn.00421270
mov ecx, dword [esp + 0xa4]
pop esi
xor ecx, esp
call fcn.004669f1
add esp, 0xa4
ret 4
lea eax, [esp + 4]
push eax
push 0x47dab8
call fcn.0041c520
add esp, 8
push 0
call fcn.0046ddad
int3
Function at 0x417f10
Capabilities:
Terminate process

Disassembly:
sub esp, 0xa4
mov eax, dword [0x48d1f4]
xor eax, esp
mov dword [esp + 0xa0], eax
push esi
mov esi, ecx
cmp byte [esi + 0x9508], 0
jne 0x418019
cmp byte [esi + 0x714d], 0
jne 0x418019
cmp byte [0x48e0bc], 0
jne 0x418019
push 0xb
push 6
push 0x47daa4
lea eax, [esp + 0x10]
mov byte [0x48e0bc], 1
push 0x50
push eax
call fcn.00407ec0
add esp, 0x14
lea eax, [esp + 4]
push 0x50
push 0x47dab4
push eax
call fcn.00456a50
push 0x50
push 0xbd4
call fcn.00450560
push eax
lea eax, [esp + 0xc]
push eax
call fcn.00456a50
cmp byte [esi + 0x7150], 0
jne 0x41802f
push 0x7e6
push 2
call fcn.00457dd0
push eax
push 3
push 0x7e6
lea eax, [esp + 0x14]
push eax
push 0xbc8
call fcn.00450560
push eax
call fcn.0041c520
add esp, 0x18
call fcn.004171d0
mov esi, eax
call fcn.004171e0
test al, al
je 0x417fec
push esi
push 0xbca
call fcn.00450560
push eax
jmp 0x418011
push 0xbcc
call fcn.00450560
push eax
call fcn.0041c520
lea eax, [esi + 0x400]
add esp, 4
cmp word [eax], 0
je 0x418019
push eax
push 0x47dab8
call fcn.0041c520
add esp, 8
mov ecx, dword [esp + 0xa4]
pop esi
xor ecx, esp
call fcn.004669f1
add esp, 0xa4
ret
lea eax, [esp + 4]
push eax
push 0x47dab8
call fcn.0041c520
add esp, 8
push 0
call fcn.0046ddad
int3
Function at 0x418390
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
xor ecx, ecx
push edi
mov word [esi + 0x950a], cx
mov byte [esi + 0x9501], cl
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebp, eax
mov byte [esp + 0x13], 1
push 0
push 0
push ebp
call fcn.00456420
mov edi, eax
test edi, edi
je 0x418521
sub edi, ebp
sar edi, 1
add edi, 2
lea ecx, [edi + edi]
push ecx
call fcn.0046a8f8
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x418521
push edi
push ebx
push ebp
call fcn.00456420
mov ebp, eax
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x418521
cmp byte [esp + 0x13], 0
jne 0x4184c1
cmp byte [esp + 0x1c], 0
je 0x418506
movzx eax, word [ebx]
cmp eax, 0x2d
je 0x418423
cmp eax, 0x2f
jne 0x4184d4
cmp byte [esi + 0x9501], 0
jne 0x4184d4
cmp word [ebx + 2], 0x2d
lea edi, [ebx + 2]
jne 0x418448
cmp word [edi + 2], 0
jne 0x418448
mov byte [esi + 0x9501], 1
push 0x47dae8
push edi
call fcn.0045a3c0
test eax, eax
jne 0x41845e
mov byte [esi + 0x2014], 1
push 4
push str.ilog
push edi
call fcn.0045a410
test eax, eax
jne 0x41848b
push edi
mov ecx, esi
call fcn.00418c40
push dword [esi + 0x4020]
lea ebp, [esi + 0x612e]
push ebp
call fcn.0041bc20
jmp 0x418491
lea ebp, [esi + 0x612e]
push 2
push 0x47db00
push edi
call fcn.0045a410
test eax, eax
jne 0x4184bd
push edi
mov ecx, esi
call fcn.00418c40
cmp word [ebp], 0
je 0x4184bd
push dword [esi + 0x4020]
push ebp
call fcn.0041bc20
mov ebp, dword [esp + 0x14]
push ebx
call fcn.0046a8f3
add esp, 4
mov byte [esp + 0x13], 0
jmp 0x4183b5
cmp word [esi + 0x950a], 0
lea eax, [esi + 0x950a]
jne 0x4184c1
push 0x810
push ebx
push eax
call fcn.0046debe
add esp, 0xc
push ebx
call fcn.0046a8f3
add esp, 4
mov byte [esp + 0x13], 0
jmp 0x4183b5
push ebx
mov ecx, esi
call fcn.00418050
push ebx
call fcn.0046a8f3
add esp, 4
mov byte [esp + 0x13], 0
jmp 0x4183b5
cmp byte [esp + 0x1c], 0
jne 0x41859e
cmp dword [esi + 0xb544], 0
jne 0x41854a
cmp byte [esi + 0x9500], 0
jne 0x41854a
push 0x47d6f0
lea ecx, [esi + 0xb52c]
call fcn.00456b50
movzx eax, word [esi + 0x950a]
push eax
call fcn.0045a3b0
movzx eax, ax
cmp eax, 0x58
je 0x41856d
cmp eax, 0x45
je 0x41856d
cmp eax, 0x50
je 0x41856d
xor cl, cl
jmp 0x41856f
mov cl, 1
cmp byte [esi + 0x7419], 0
je 0x418583
test cl, cl
je 0x418583
mov byte [esi + 0x7419], 0
cmp eax, 0x4c
je 0x41858d
cmp eax, 0x56
jne 0x41859e
cmp word [esi + 0x950c], 0x42
jne 0x41859e
mov byte [esi + 0x9508], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc