joyce8/EMBER2024-capa huggingface dataset:
Function at 0x61ad70
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x70d514]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov eax, dword [ebx + 0xc]
mov edi, dword [eax + 0x320]
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x88], 0x80
lea eax, [ebp - 0x84]
push eax
mov eax, dword [edi + 0x13c]
lea esi, [edi + 0x148]
push 0
add eax, 4
push eax
push dword [esi]
push dword [edi + 0x14]
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [edi + 0x130], 0
mov dword [edi + 0x134], eax
jne 0x61adfe
push dword [ebp - 0x88]
lea eax, [ebp - 0x84]
push eax
lea eax, [edi + 0xb0]
push eax
call fcn.0062baa0
mov eax, dword [ebp - 0x88]
add esp, 0xc
mov dword [edi + 0x130], eax
mov edx, dword [edi + 0x134]
cmp edx, 4
jge 0x61ae31
push str.Received_too_short_packet
push ebx
call fcn.005f1090
add esp, 8
mov dword [edi + 0xc], 7
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00628dca
mov esp, ebp
pop ebp
ret
push esi
call fcn.0061a980
movzx eax, ax
add esp, 4
mov dword [edi + 0xc], eax
dec eax
cmp eax, 5
ja case.0x61ae4a.1
jmp dword [eax*4 + 0x61af8c]
cmp edx, 4
jle case.0x61ae4a.4
push esi
call fcn.0061a960
movzx ecx, word [edi + 0x144]
add esp, 4
inc ecx
cmp cx, ax
jne case.0x61ae4a.4
lea eax, [edx - 4]
push eax
mov eax, dword [esi]
add eax, 4
push eax
push 1
push ebx
call fcn.005f0fe0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x61aead
push 5
push edi
call fcn.0061b7e0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00628dca
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x134]
sub eax, 4
cdq
add dword [ebx + 0x90], eax
adc dword [ebx + 0x94], edx
push dword [ebx + 0x94]
push dword [ebx + 0x90]
push ebx
call fcn.005fe4f0
jmp 0x61af55
mov eax, dword [esi]
lea esi, [edx - 4]
add eax, 4
mov dword [ebp - 0x8c], eax
lea eax, [edi + 0x148]
push eax
call fcn.0061a960
push esi
push dword [ebp - 0x8c]
movzx eax, ax
mov dword [edi + 8], eax
call fcn.0061b910
add esp, 0xc
cmp eax, esi
jae case.0x61ae4a.4
push dword [ebp - 0x8c]
push str.TFTP_error:__s
push ebx
call fcn.005f1150
jmp 0x61af55
lea eax, [edx - 2]
push eax
mov eax, dword [esi]
add eax, 2
push eax
push edi
call fcn.0061ab40
add esp, 0xc
test eax, eax
je case.0x61ae4a.4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00628dca
mov esp, ebp
pop ebp
ret
push str.Internal_error:_Unexpected_packet
push 0x6f3d14
push ebx
call fcn.005f1090
add esp, 0xc
push ebx
call fcn.005fe800
add esp, 4
test eax, eax
je 0x61ae1e
push 5
push edi
call fcn.0061b7e0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
mov eax, 0x2a
pop edi
pop esi
pop ebx
call fcn.00628dca
mov esp, ebp
pop ebp
ret
Function at 0x61b7e0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [eax + 0x10]
cmp edx, 3
ja case.default.0x61b7f0
jmp dword [edx*4 + 0x61b844]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0061b290
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0061afb0
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0061ba40
push str.TFTP_finished
push 0x6f3d14
push ecx
call fcn.005f1150
add esp, 0xc
xor eax, eax
pop ebp
ret
push str.Internal_state_machine_error
push 0x6f3d14
push ecx
call fcn.005f1090
add esp, 0xc
mov eax, 0x47
pop ebp
ret
Function at 0x626560
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push esi
push edi
mov byte [edi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [edi + esi - 1], 0
test eax, eax
jne 0x626593
push 0x2e
push edi
call fcn.0062e060
add esp, 8
test eax, eax
je 0x626591
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0x627f60
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x70d4c4]
mov edi, eax
add esp, 4
test edi, edi
jne 0x627f8d
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x627fd7
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call eax
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
mov eax, dword [esi + 8]
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov ecx, dword [edi + 4]
mov dword [ebp + 0x10], ebx
jmp 0x627fdd
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [esi]
push ecx
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp + 0x10]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x62803b
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], eax
nop dword [eax + eax]
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor al, 0x5c
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub dword [ebp + 0x10], 1
jne 0x628000
mov ebx, dword [ebp - 8]
cmp ebx, dword [esi + 0x10]
jae 0x628067
mov eax, dword [esi + 4]
push 1
push 0x675904
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x675905
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x628040
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x6490ea
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00648f60

Function at 0x64b720
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0064b273
Function at 0x8a47e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x8a4805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x8a4878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x8a483a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x8a486d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x8a486b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x8a4831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x8a47fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x5a72f1
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x59f410]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
push edi
test eax, eax
jne 0x5a7314
push ebx
call dword [0x5b801c]
mov esi, dword [eax + 0x3c]
add esi, eax
mov dword [ebp - 0xc], 0x646f632e
mov dword [ebp - 8], 0x65
movzx edi, word [esi + 0x14]
push dword [esi + 0x88]
add edi, 0x18
push esi
add edi, esi
call fcn.005a0824
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x5a73bd
movzx edx, word [esi + 6]
xor ecx, ecx
test edx, edx
jle 0x5a736a
lea eax, [ebp - 0xc]
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x5a7362
lea eax, [ebp - 0xc]
mov eax, dword [eax + 4]
cmp eax, dword [edi + 4]
je 0x5a736a
add edi, 0x28
inc ecx
cmp ecx, edx
jl 0x5a734e
cmp ecx, edx
je 0x5a73bd
mov ecx, dword [esi + 0x34]
add ecx, dword [edi + 0xc]
mov edi, 0x5a0e30
xor edx, edx
mov eax, dword [ecx + edx*4]
cmp eax, dword [edi + edx*4]
jne 0x5a73bd
inc edx
cmp edx, 4
jne 0x5a737b
xor edx, edx
mov eax, dword [ecx + edx*4 + 0x140]
cmp eax, dword [edi + edx*4]
jne 0x5a73bd
inc edx
cmp edx, 4
jne 0x5a738b
cmp dword [ecx + 0x124], 0
je 0x5a73ad
push 0x5a767c
jmp 0x5a73b2
push 0x5a7661
push esi
push ebx
push ecx
call fcn.005a73ce
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005a8d46
mov esp, ebp
pop ebp
ret
Function at 0x5e8540
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
mov ecx, esi
push edi
call fcn.005fbf00
mov ebx, dword [esp + 0x30]
mov ecx, esi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], eax
call fcn.005fb780
add eax, ebx
push eax
call dword [0x100df290]
test eax, eax
jne 0x5e8625
mov ecx, esi
call fcn.005fb780
mov ecx, dword [esp + 0x2c]
mov esi, dword [eax + ebx + 8]
mov edi, dword [eax + ebx + 0xc]
call fcn.005fb780
mov ecx, dword [esp + 0x2c]
add eax, ebx
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov dword [esp + 0x14], ebx
call fcn.005fb780
mov ebx, dword [esp + 0x2c]
sub esp, 0x10
mov edx, esp
mov ecx, dword [eax + esi + 0x10]
mov eax, dword [eax + esi + 0x14]
mov dword [edx + 8], ecx
mov ecx, ebx
mov dword [edx], ebx
mov dword [edx + 0xc], eax
call fcn.005fb780
mov ebx, dword [esp + 0x20]
lea ecx, [ebx + eax]
call fcn.005e5cc0
mov ecx, dword [esp + 0x2c]
sub esp, 0x10
mov eax, esp
mov dword [eax + 8], esi
mov esi, ecx
mov dword [eax], ecx
mov dword [eax + 0xc], edi
call fcn.005fb780
lea ecx, [ebx + eax]
call fcn.005e5cc0
mov ebx, dword [esp + 0x14]
sub esp, 0x10
mov eax, esp
mov ecx, esi
mov dword [eax], esi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebp
call fcn.005fb780
add eax, dword [esp + 0x20]
mov ecx, eax
call fcn.005e5cc0
push dword [esp + 0x34]
mov ecx, esi
push dword [esp + 0x34]
call fcn.005fb5b0
mov ecx, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
jmp fcn.005fca50

Function at 0x5e8640
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
mov ecx, esi
push edi
call fcn.005fbf00
mov ebx, dword [esp + 0x30]
mov ecx, esi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], eax
call fcn.005fb780
add eax, ebx
push eax
call dword [0x100df290]
test eax, eax
jne 0x5e8725
mov ecx, esi
call fcn.005fb780
mov ecx, dword [esp + 0x2c]
mov esi, dword [eax + ebx + 8]
mov edi, dword [eax + ebx + 0xc]
call fcn.005fb780
mov ecx, dword [esp + 0x2c]
add eax, ebx
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov dword [esp + 0x14], ebx
call fcn.005fb780
mov ebx, dword [esp + 0x2c]
sub esp, 0x10
mov edx, esp
mov ecx, dword [eax + esi + 0x10]
mov eax, dword [eax + esi + 0x14]
mov dword [edx + 8], ecx
mov ecx, ebx
mov dword [edx], ebx
mov dword [edx + 0xc], eax
call fcn.005fb780
mov ebx, dword [esp + 0x20]
lea ecx, [ebx + eax]
call fcn.005e5d60
mov ecx, dword [esp + 0x2c]
sub esp, 0x10
mov eax, esp
mov dword [eax + 8], esi
mov esi, ecx
mov dword [eax], ecx
mov dword [eax + 0xc], edi
call fcn.005fb780
lea ecx, [ebx + eax]
call fcn.005e5d60
mov ebx, dword [esp + 0x14]
sub esp, 0x10
mov eax, esp
mov ecx, esi
mov dword [eax], esi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebp
call fcn.005fb780
add eax, dword [esp + 0x20]
mov ecx, eax
call fcn.005e5d60
push dword [esp + 0x34]
mov ecx, esi
push dword [esp + 0x34]
call fcn.005fb5b0
mov ecx, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
jmp fcn.005fca50
Function at 0x5e8740
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
mov ecx, ebx
push edi
call fcn.005fbf00
mov ecx, ebx
call fcn.005fb780
mov edi, eax
add edi, dword [esp + 0x20]
push edi
call dword [0x100df290]
test eax, eax
jne 0x5e87cf
mov ecx, ebx
call fcn.005fbf00
cmp dword [edi + 0x28], 0xffffffff
jne 0x5e877b
cmp dword [edi + 0x2c], 0xffffffff
je 0x5e87b9
push esi
mov esi, dword [edi + 0x28]
lea ecx, [esp + 0xc]
mov edi, dword [edi + 0x2c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x18], 0xffffffff
call fcn.005e84f0
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
call fcn.005e84f0
pop esi
push dword [esp + 0x24]
mov ecx, ebx
push dword [esp + 0x24]
call fcn.005fb5b0
mov ecx, ebx
call fcn.005fca50
pop edi
mov ecx, ebx
pop ebx
add esp, 0x10
jmp fcn.005fca50

Function at 0x5e87e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [esp + 0x18]
mov ecx, esi
push edi
call fcn.005fbf00
mov ecx, esi
call fcn.005fb780
mov edi, eax
add edi, dword [esp + 0x20]
push edi
call dword [0x100df290]
test eax, eax
jne 0x5e8862
mov ecx, esi
call fcn.005fbf00
cmp dword [edi + 0x28], 0xffffffff
jne 0x5e881b
cmp dword [edi + 0x2c], 0xffffffff
je 0x5e884c
push dword [edi + 0x2c]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
push dword [edi + 0x28]
mov dword [esp + 0x18], 0xffffffff
push esi
mov dword [esp + 0x20], 0xffffffff
call fcn.005e49e0
lea ecx, [esp + 8]
call fcn.005e30e0
push dword [esp + 0x24]
mov ecx, esi
push dword [esp + 0x24]
call fcn.005fb5b0
mov ecx, esi
call fcn.005fca50
pop edi
mov ecx, esi
pop esi
add esp, 0x10
jmp fcn.005fca50

Function at 0x5e8870
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov ecx, edi
call fcn.005fbf00
mov ecx, edi
call fcn.005fb780
mov esi, eax
add esi, dword [esp + 0x10]
lea ecx, [esi + 4]
push ecx
call dword [0x100df290]
test eax, eax
jne 0x5e890d
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x3c]
cmp ecx, 0xffffffff
jne 0x5e88a7
cmp eax, ecx
je 0x5e88b0
push eax
push ecx
mov ecx, edi
call fcn.005fb5b0
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
cmp ecx, 0xffffffff
jne 0x5e88bf
cmp eax, ecx
je 0x5e88c8
push eax
push ecx
mov ecx, edi
call fcn.005fb5b0
cmp dword [esi + 0x18], 0xffffffff
jne 0x5e88d4
cmp dword [esi + 0x1c], 0xffffffff
je 0x5e88e3
push dword [esi + 0x1c]
push dword [esi + 0x18]
push edi
call fcn.005e8540
add esp, 0xc
cmp dword [esi + 0x20], 0xffffffff
jne 0x5e88ef
cmp dword [esi + 0x24], 0xffffffff
je 0x5e88fe
push dword [esi + 0x24]
push dword [esi + 0x20]
push edi
call fcn.005e8640
add esp, 0xc
push dword [esp + 0x14]
mov ecx, edi
push dword [esp + 0x14]
call fcn.005fb5b0
mov ecx, edi
pop edi
pop esi
jmp fcn.005fca50
Function at 0x5e8920
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, dword [esp + 8]
mov ecx, esi
push edi
call fcn.005fbf00
mov ecx, esi
call fcn.005fb780
mov edi, eax
add edi, dword [esp + 0x10]
lea ecx, [edi + 4]
push ecx
call dword [0x100df290]
test eax, eax
jne 0x5e8984
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
cmp ecx, 0xffffffff
jne 0x5e8957
cmp eax, ecx
je 0x5e8960
push eax
push ecx
mov ecx, esi
call fcn.005fb5b0
mov edx, dword [edi + 0x10]
mov eax, edx
mov ecx, dword [edi + 0x14]
or eax, ecx
je 0x5e8975
push ecx
push edx
mov ecx, esi
call fcn.005fb5b0
push dword [esp + 0x14]
mov ecx, esi
push dword [esp + 0x14]
call fcn.005fb5b0
pop edi
mov ecx, esi
pop esi
jmp fcn.005fca50
Function at 0x68f130
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
xor ebp, ebp
push edi
test ebx, ebx
je 0x68f196
mov eax, dword [ebx + 0x3c]
xor esi, esi
add eax, ebx
mov dword [esp + 0x14], eax
mov edi, dword [eax + 0x78]
add edi, ebx
cmp dword [edi + 0x18], esi
jbe 0x68f196
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x20]
lea eax, [eax + esi*4]
mov ecx, dword [eax + ebx]
add ecx, ebx
test ecx, 0xffff0000
je 0x68f185
test edx, 0xffff0000
je 0x68f185
push edx
push ecx
call dword [0x100df134]
mov edx, dword [esp + 0x18]
neg eax
sbb eax, eax
inc eax
jmp 0x68f18c
xor eax, eax
cmp ecx, edx
sete al
test eax, eax
jne 0x68f19d
inc esi
cmp esi, dword [edi + 0x18]
jb 0x68f157
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret
mov eax, dword [edi + 0x24]
lea eax, [eax + esi*2]
movzx ecx, word [eax + ebx]
mov eax, dword [edi + 0x1c]
lea eax, [eax + ecx*4]
mov ebp, dword [eax + ebx]
add ebp, ebx
cmp ebp, edi
jb 0x68f196
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x7c]
add eax, edi
cmp ebp, eax
ja 0x68f196
xor ecx, ecx
mov eax, ebp
cmp byte [ebp], cl
je 0x68f1d9
lea esp, [esp]
lea eax, [eax + 1]
inc ecx
cmp byte [eax], 0
jne 0x68f1d0
lea esi, [ecx + 1]
xor edi, edi
test esi, esi
je 0x68f1ed
push esi
call fcn.00689600
add esp, 4
mov edi, eax
push esi
push ebp
push edi
call fcn.00600f90
add esp, 0xc
mov esi, edi
cmp byte [edi], 0
je 0x68f20b
nop
cmp byte [esi], 0x2e
je 0x68f21d
inc esi
cmp byte [esi], 0
jne 0x68f200
push edi
xor esi, esi
call fcn.006895f0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
mov byte [esi], 0
call dword [0x100df1e0]
mov ecx, eax
lea eax, [esi + 1]
push eax
push ecx
call fcn.0068f130
add esp, 8
mov esi, eax
push edi
call fcn.006895f0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4253c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x441f9c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0042d730
add esp, 8
test eax, eax
jne 0x4253ef
mov eax, 0x80004005
jmp 0x425522
push dword [ebp + 0x14]
call fcn.00429a50
add esp, 4
lea ecx, [ebp - 0x1c]
mov edi, eax
mov dword [ebp - 8], edi
call fcn.0042db50
mov esi, dword [ebp + 0x18]
lea ecx, [ebp - 0x1c]
push esi
push edi
call fcn.0042e6f0
test al, al
jne 0x425422
mov esi, 1
jmp 0x425518
test esi, esi
je 0x42547d
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425430
sub ecx, edx
sar ecx, 1
lea ebx, [ecx + 1]
cmp ebx, 0x3fffffff
jg 0x42547d
add ebx, ebx
mov eax, ebx
call fcn.00434b20
mov edi, esp
test edi, edi
je 0x42547a
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push esi
push 0
push 3
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [ebp - 8]
jmp 0x42547f
mov edi, dword [ebp - 8]
xor eax, eax
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x425516
mov esi, dword [ebp + 0x1c]
test esi, esi
je 0x4254f7
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4254b0
sub ecx, edx
sar ecx, 1
lea ebx, [ecx + 1]
cmp ebx, 0x3fffffff
jg 0x4254f7
add ebx, ebx
mov eax, ebx
call fcn.00434b20
mov edi, esp
test edi, edi
je 0x4254f7
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push esi
push 0
push 3
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, edi
jmp 0x4254f9
xor eax, eax
push 4
lea ecx, [ebp + 0x20]
push ecx
push 4
push 0
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
lea ecx, [ebp - 0x1c]
call fcn.0042dd70
mov eax, esi
lea esp, [ebp - 0x28]
Function at 0x40545e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x40546d
pop dword [ebp - 0x50]
mov eax, 0x40546d
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x8a547f55
sub dword [ebp - 0x60], 0x3c023a0a
mov dword [ebp - 0x5c], 0x766e1db
add dword [ebp - 0x5c], 0x2acc6a6a
mov dword [ebp - 0x58], 0x92321898
sub dword [ebp - 0x58], 0x45e5d46a
mov dword [ebp - 0x54], 0x9f9cd6a9
sub dword [ebp - 0x54], 0x9f9cd6a9
lea eax, [ebp - 0x60]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xfcaaad08
sub dword [ebp - 0x60], 0x883843b2
mov dword [ebp - 0x5c], 0xce9aca37
add dword [ebp - 0x5c], 0x72d1973e
mov dword [ebp - 0x58], 0x270f5f03
sub dword [ebp - 0x58], 0xc39ff297
mov dword [ebp - 0x54], 0xc797949f
sub dword [ebp - 0x54], 0xc797949f
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x21d38720
sub eax, 0x219155fc
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x412c3
push 0
call eax
mov ecx, 0xa9906a96
sub ecx, 0xa9901540
mov edi, eax
mov edx, 0xb980eb25
add edx, 0x46c258db
add edx, dword [ebp - 0x50]
mov esi, 0xe7c206ea
sub esi, 0xd80d4807
xor dword [ebp - 0x48], 0x4e4379dd
mov ebx, dword [edx]
sub dword [ebp - 0x24], ecx
add ebx, esi
sub dword [ebp - 0x2c], 0x39826bad
mov dword [edi], ebx
add dword [ebp - 0x2c], esi
add edi, 0x139a2f8e
sub edi, 0x139a2f8a
add edx, 4
loop 0x405585
add eax, 0x1482b
xor ebx, ebx
add ebx, eax
add eax, 0x9a4b71bf
sub eax, 0x9a4b71ba
mov ecx, 0xa417c00a
sub ecx, 0xa3d7c00a
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c
Function at 0x10001592
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
xor eax, eax
lea ecx, [esp + 0x70]
lea edx, [esp + 0x88]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x54]
mov ecx, 0xfa93e5
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], ecx
mov ecx, esp
lea edx, [esp + 0x6c]
mov dword [ecx + 0x20], edx
mov edx, dword [esp + 0x5c]
mov dword [ecx + 0x1c], edx
lea esi, [esp + 0x78]
mov dword [ecx + 0x14], esi
mov esi, dword [esp + 0x58]
mov dword [ecx + 0xc], esi
mov dword [ecx + 0x18], 0x16d
mov dword [ecx + 0x10], 0x53b
mov dword [ecx + 8], 0x53b
mov dword [ecx + 4], 0x53b
mov dword [ecx], 0xbffced
mov ecx, dword [sym.imp.ADVAPI32.dll_CreateRestrictedToken]
mov dword [esp + 0x50], eax
call ecx
sub esp, 0x24
xor ecx, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ecx
jmp 0x1000166f
mov eax, esp
mov dword [eax + 8], 0x38b
mov dword [eax + 4], 0x636
mov dword [eax], 0x75707e
mov eax, dword [sym.imp.USER32.dll_EnableMenuItem]
call eax
sub esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x1000171a
mov eax, dword [esp + 0x48]
mov ecx, 0x4ec4ec4f
mov dword [esp + 0x40], eax
mul ecx
shr edx, 2
imul eax, edx, 0xd
mov ecx, dword [esp + 0x40]
sub ecx, eax
mov eax, ecx
sub eax, 3
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
je 0x100016aa
jmp 0x1000169b
mov eax, dword [esp + 0x3c]
sub eax, 8
mov dword [esp + 0x34], eax
jne 0x100016c9
jmp 0x100016aa
mov eax, esp
lea ecx, [esp + 0x60]
mov dword [eax + 4], ecx
mov dword [eax], 0xf15beb
mov eax, dword [sym.imp.GDI32.dll_GetBitmapDimensionEx]
call eax
sub esp, 8
mov dword [esp + 0x30], eax
jmp 0x100016c9
mov eax, dword [esp + 0x40]
add eax, 1
cmp eax, 0x387
mov dword [esp + 0x48], eax
jne 0x1000166f
mov eax, dword [esp + 0x50]
sub eax, 8
mov dword [esp + 0x2c], eax
je 0x10001646
jmp 0x100016f0
mov eax, dword [esp + 0x50]
sub eax, 0x5b
mov dword [esp + 0x28], eax
jne 0x1000171a
jmp 0x100016ff
mov eax, esp
mov dword [eax], 0x9dc7da
mov eax, dword [sym.imp.GDI32.dll_GetFontLanguageInfo]
call eax
sub esp, 4
mov dword [esp + 0x24], eax
jmp 0x10001646
mov eax, dword [esp + 0x50]
add eax, 1
cmp eax, 0x54
mov dword [esp + 0x54], eax
jne 0x100015b8
lea esp, [ebp - 4]
pop esi
pop ebp
ret