joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005b1e7
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov ebx, ecx
push edi
lea edi, [ebp - 0xc]
mov esi, dword [ebx + 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
mov eax, esi
sub eax, 9
je 0x1005b27d
sub eax, 1
je 0x1005b25f
sub eax, 3
je 0x1005b25f
test dword [ebx + 0x4c0], 0x2000
je 0x1005b235
push esi
call fcn.100d4f3f
pop ecx
test eax, eax
jne 0x1005b235
cmp esi, 0x2d
je 0x1005b235
cmp esi, 0x2e
je 0x1005b235
cmp esi, 0x2c
jne 0x1005b2b2
mov ecx, dword [ebx + 0x4c0]
test cl, 8
je 0x1005b24d
lea eax, [esi - 0x61]
cmp eax, 0x19
ja 0x1005b24d
add esi, 0xffffffe0
jmp 0x1005b29b
test cl, 0x10
je 0x1005b298
lea eax, [esi - 0x41]
cmp eax, 0x19
ja 0x1005b298
add esi, 0x20
jmp 0x1005b29b
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x1005b298
test dword [ebx + 0x4c0], 0x1000
jmp 0x1005b296
test byte [ebx + 0x4c4], 0x80
jne 0x1005b298
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x1005b2b2
mov esi, dword [ebp - 8]
mov eax, dword [ebx + 0x4d8]
push 0
push dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push esi
push dword [ebp - 0xc]
mov eax, dword [ecx]
call dword [eax + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1005b635
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x30
mov eax, 0x1012666a
call fcn.100a4f7d
mov esi, ecx
mov edx, esi
lea eax, [esi + 8]
neg edx
lea ecx, [ebp - 0x3c]
sbb edx, edx
and edx, eax
push edx
call fcn.100158ab
mov dword [ebp - 0x3c], 0x10141aa8
mov eax, dword [ebp + 0x10]
lea edi, [esi + 8]
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x3c]
and dword [ebp - 4], 0
and dword [ebp - 0x14], 0
mov dword [ebp - 0x18], eax
mov eax, dword [edi]
push ecx
push edi
mov dword [ebp - 0x1c], ebx
call dword [eax + 0x1f4]
cmp dword [ebp - 0x14], 0
jne 0x1005b6ab
cmp ebx, 0xd
jne 0x1005b6b6
test dword [esi + 0x4c0], 0x1000
jne 0x1005b6b6
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x1005b6b6
push 0
mov ecx, edi
call fcn.10025769
jmp 0x1005b6d1
mov eax, dword [esi + 0x4d8]
push 0
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x70]
mov edx, dword [ecx]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [edx + 0xc]
lea ecx, [ebp - 0x3c]
call fcn.10016144
call fcn.100a4f27
ret 0xc
Function at 0x1005eb13
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x28
mov eax, 0x10126a2e
call fcn.100a4f49
mov dword [ebp - 0x10], ecx
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call esi
push 0x11
mov edi, eax
call esi
mov ebx, eax
push 0x10
and ebx, 0x8000
call esi
and eax, 0x8000
and edi, 0x8000
jne 0x1005eb63
test ebx, ebx
jne 0x1005eb57
test eax, eax
je 0x1005eb89
push 4
jmp 0x1005eb88
test eax, eax
jne 0x1005eb5f
push 2
jmp 0x1005eb88
push 6
jmp 0x1005eb88
test ebx, ebx
jne 0x1005eb72
test eax, eax
jne 0x1005eb6e
inc eax
jmp 0x1005eb89
test ebx, ebx
je 0x1005eb7e
test eax, eax
jne 0x1005eb7a
push 3
jmp 0x1005eb88
test ebx, ebx
jne 0x1005eb86
test eax, eax
je 0x1005eb86
push 5
jmp 0x1005eb88
push 7
pop eax
mov ebx, dword [ebp - 0x10]
cmp ax, word [ebx + 0x260]
jne 0x1005eb9c
mov ax, word [ebx + 0x262]
lea esi, [ebx + 4]
mov word [ebx + 0x25c], ax
push esi
lea ecx, [ebp - 0x34]
call fcn.100158ab
mov dword [ebp - 0x34], 0x1014329c
mov ax, word [ebx + 0x25c]
lea ecx, [ebp - 0x34]
and dword [ebp - 4], 0
mov word [ebp - 0x12], ax
mov ax, word [ebx + 0x25e]
mov word [ebp - 0x14], ax
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0x1f4]
lea ecx, [ebp - 0x34]
call fcn.10016144
call fcn.100a4f12
ret
Function at 0x10060710
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x18
mov eax, 0x10126c4a
call fcn.100a4f49
mov esi, ecx
mov edi, dword [ebp + 8]
movzx eax, di
cmp eax, 0x25
jb 0x10060781
cmp eax, 0x26
jbe 0x10060756
cmp eax, 0x28
ja 0x10060781
mov eax, dword [esi]
push esi
call dword [eax + 0x10]
mov ecx, dword [esi]
push esi
lea edi, [eax + 1]
call dword [ecx + 0x14]
cmp edi, eax
jge 0x10060872
mov ecx, dword [esi]
push edi
push esi
call dword [ecx + 0x18]
jmp 0x10060872
mov eax, dword [esi]
push esi
call dword [eax + 0x10]
mov ecx, dword [esi]
push esi
lea edi, [eax - 1]
call dword [ecx + 0x14]
cmp edi, eax
jge 0x10060872
test edi, edi
js 0x10060872
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x18]
jmp 0x10060872
push eax
call fcn.100d4fc8
pop ecx
test eax, eax
je 0x10060872
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
sub eax, dword [esi + 0x2cc]
cmp eax, 0x12c
jbe 0x100607b1
lea eax, [esi + 0x2c0]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
call ebx
lea ecx, [esi + 0x2c0]
mov dword [esi + 0x2cc], eax
push edi
call fcn.1000481f
mov eax, dword [esi]
push esi
call dword [eax + 0x10]
mov ecx, dword [esi]
mov ebx, eax
push esi
lea edi, [ebx + 1]
call dword [ecx + 0x14]
jmp 0x10060812
push 0
push edi
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.10060103
and dword [ebp - 4], 0
lea eax, [esi + 0x2c0]
push 1
push eax
lea ecx, [ebp - 0x18]
call fcn.100057df
test al, al
jne 0x10060857
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
inc edi
call fcn.100046b0
mov eax, dword [esi]
push esi
call dword [eax + 0x14]
cmp edi, eax
jl 0x100607d8
xor edi, edi
test ebx, ebx
js 0x10060872
push 0
push edi
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.10060103
xor eax, eax
lea ecx, [ebp - 0x24]
inc eax
push eax
mov dword [ebp - 4], eax
lea eax, [esi + 0x2c0]
push eax
call fcn.100057df
test al, al
jne 0x10060863
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
inc edi
call fcn.100046b0
cmp edi, ebx
jle 0x1006081c
jmp 0x10060872
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x18]
lea ecx, [ebp - 0x18]
jmp 0x1006086d
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x18]
lea ecx, [ebp - 0x24]
call fcn.100046b0
call fcn.100a4f12
ret 0xc
Function at 0x10078528
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push edi
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x100785af
push esi
push edi
call fcn.100c4812
mov esi, eax
pop ecx
test esi, esi
je 0x100785ae
push esi
push edi
push dword [ebp - 4]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x10132aac
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x100785a4
cmp dword [ebp - 8], 0x34
jb 0x100785a4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x18]
mov cx, word [edx + 0xc]
mov word [eax], cx
mov eax, dword [ebp + 0x14]
mov cx, word [edx + 0xe]
mov word [eax], cx
mov eax, dword [ebp + 0x10]
mov cx, word [edx + 8]
mov word [eax], cx
mov eax, dword [ebp + 0xc]
mov cx, word [edx + 0xa]
mov word [eax], cx
push esi
call fcn.100c480d
xor eax, eax
pop ecx
inc eax
pop esi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x100860e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 9
je 0x100860ed
xor eax, eax
jmp 0x1008611a
push dword [ecx + 4]
call fcn.10034dbe
pop ecx
test eax, eax
je 0x10086107
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14c]
test al, 2
jne 0x100860e9
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movzx eax, ax
xor eax, 0x8000
shr eax, 0xf
pop ebp
ret 4
Function at 0x10086264
Capabilities:
Log keystrokes via polling

Disassembly:
push 8
mov eax, 0x101290f2
call fcn.100a4f49
mov ebx, ecx
mov edi, dword [ebp + 8]
push edi
call fcn.100860e0
test eax, eax
je 0x1008629f
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, ebx
and al, 1
movzx eax, al
push eax
call fcn.10085b48
xor eax, eax
inc eax
jmp 0x100863b4
push dword [ebx + 4]
call fcn.10034dbe
mov esi, eax
mov dword [ebp + 8], esi
pop ecx
test esi, esi
je 0x1008635e
mov ecx, dword [esi]
push esi
call dword [ecx + 0x1d0]
test eax, eax
je 0x1008635e
cmp edi, 0x25
je 0x100862de
cmp edi, 0x27
je 0x100862ec
cmp edi, 0x26
je 0x100862de
cmp edi, 0x28
jne 0x1008635e
cmp edi, 0x27
je 0x100862ec
cmp edi, 0x28
je 0x100862ec
push 2
jmp 0x100862ee
push 3
pop edi
jmp 0x100862fe
mov ecx, dword [esi]
push esi
call dword [ecx + 0x1d0]
test eax, eax
jne 0x1008631f
push edi
mov ecx, esi
call fcn.10022043
mov esi, eax
test esi, esi
jne 0x100862f1
mov ecx, dword [ebp + 8]
cmp edi, 3
setne al
push eax
call fcn.10021afc
mov ecx, eax
jmp 0x10086339
mov eax, dword [esi]
push 1
push esi
call dword [eax + 0x58]
jmp 0x10086351
mov ecx, dword [esi]
push esi
call dword [ecx + 0x1d0]
test eax, eax
jne 0x10086349
push edi
mov ecx, esi
call fcn.10022043
mov esi, eax
test esi, esi
jne 0x10086329
jmp 0x10086297
mov ecx, dword [esi]
push 1
push esi
call dword [ecx + 0x58]
push eax
mov ecx, ebx
call fcn.10086690
jmp 0x10086297
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push 0x12
call esi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push 0x11
call esi
shr eax, 0xf
lea ecx, [ebp - 0x14]
and al, 1
movzx eax, al
push eax
push edi
call fcn.1008d321
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
call fcn.10086408
xor ebx, ebx
lea ecx, [ebp - 0x14]
test al, al
setne bl
call fcn.1008d380
mov eax, ebx
call fcn.100a4f12
ret 4
Function at 0x1008d48b
Capabilities:
Log keystrokes
Parse credit card information

Disassembly:
push 0x10
mov eax, 0x101297a3
call fcn.100a4f49
xor esi, esi
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.1000459e
mov ecx, dword [ebp + 0xc]
movzx edx, cx
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], 1
cmp edx, 0x25
ja 0x1008d539
je 0x1008d52f
mov eax, edx
sub eax, 0xd
je 0x1008d525
sub eax, 0xe
je 0x1008d51b
sub eax, 5
je 0x1008d511
sub eax, 1
je 0x1008d507
sub eax, 1
je 0x1008d4fd
sub eax, 1
je 0x1008d4f3
sub eax, 1
jne 0x1008d572
push str.Home
jmp 0x1008d677
push 0x1014e008
jmp 0x1008d677
push str.PageDown
jmp 0x1008d677
push str.PageUp
jmp 0x1008d677
push str.Space
jmp 0x1008d677
push 0x1014dfbc
jmp 0x1008d677
push 0x1014dfc4
jmp 0x1008d677
push str.Left
jmp 0x1008d677
mov eax, edx
sub eax, 0x26
je 0x1008d672
sub eax, 1
je 0x1008d66b
sub eax, 1
je 0x1008d664
dec eax
sub eax, 1
je 0x1008d65d
sub eax, 3
je 0x1008d656
sub eax, 1
je 0x1008d64f
cmp cx, 0x30
jb 0x1008d57e
cmp cx, 0x39
jbe 0x1008d587
lea eax, [ecx - 0x41]
cmp ax, 0x19
ja 0x1008d594
push ecx
mov ecx, edi
call fcn.100047ad
jmp 0x1008d67e
lea eax, [ecx - 0x60]
cmp ax, 9
ja 0x1008d5a8
lea eax, [edx - 0x60]
push eax
push str.Num__d
jmp 0x1008d5ea
cmp cx, 0x6a
jne 0x1008d5b8
push 0x1014e07c
jmp 0x1008d677
cmp cx, 0x6b
jne 0x1008d5c8
push str.Num_
jmp 0x1008d677
cmp cx, 0x6e
jne 0x1008d5d8
push str.Num_Del
jmp 0x1008d677
lea eax, [ecx - 0x70]
cmp ax, 0xb
ja 0x1008d608
lea eax, [edx - 0x6f]
push eax
push 0x1014e0a4
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.10004e91
add esp, 0x10
mov esi, eax
push 3
pop ecx
rep lodsd eax, dword [esi]
lea ecx, [ebp - 0x1c]
call fcn.100046b0
jmp 0x1008d67e
push 2
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
movsx ecx, al
cmp ecx, 0x3d
jg 0x1008d631
je 0x1008d640
cmp ecx, 0x27
je 0x1008d640
cmp ecx, 0x2b
jle 0x1008d67e
cmp ecx, 0x2f
jle 0x1008d640
cmp ecx, 0x3b
je 0x1008d640
jmp 0x1008d67e
cmp ecx, 0x5b
jl 0x1008d67e
cmp ecx, 0x5d
jle 0x1008d640
cmp ecx, 0x60
jne 0x1008d67e
cbw
mov ecx, edi
movzx eax, ax
push eax
call fcn.1000481f
jmp 0x1008d67e
push str.Delete
jmp 0x1008d677
push str.Insert
jmp 0x1008d677
push str.Print
jmp 0x1008d677
push str.Down
jmp 0x1008d677
push str.Right
jmp 0x1008d677
push 0x1014dfd0
mov ecx, edi
call fcn.10004770
mov eax, edi
call fcn.100a4f12
ret
Function at 0x1009ae91
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 8]
and edi, 7
je 0x1009aeb5
cmp dword [esi + 8], edi
jge 0x1009aead
push esi
call fcn.10095a38
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edx, dword [esi + 8]
xor ecx, ecx
test edx, edx
jle 0x1009aed9
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x1009aec1
mov dword [esi + 8], edx
cmp dword [esi + 8], 0
jge 0x1009aeef
push str.zlib_corrupt
call fcn.1009595b
pop ecx
jmp 0x1009af75
cmp ecx, 4
jge 0x1009af0f
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x1009aeff
xor edx, edx
jmp 0x1009af05
movzx edx, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x1009aef6
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
jne 0x1009aedf
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x1009af45
push str.read_past_buffer
jmp 0x1009aee4
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x1009af5f
push edi
push ecx
push esi
call fcn.1009e901
add esp, 0xc
test eax, eax
je 0x1009af75
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.100a68e0
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret
Function at 0x1009fa1c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
jne 0x1009fa35
mov eax, 0x80070057
jmp 0x1009fbeb
push 0x1014326c
push dword [ebp + 0x18]
call fcn.100d42c6
mov edi, eax
mov dword [ebp - 0xc], edi
pop ecx
pop ecx
test edi, edi
jne 0x1009fa57
mov eax, 0x80004005
jmp 0x1009fbeb
xor esi, esi
push esi
push esi
push esi
push str.1.5.19
call fcn.101039ce
add esp, 0x10
mov dword [ebp - 4], eax
test eax, eax
jne 0x1009fa79
push edi
call fcn.100d440f
pop ecx
jmp 0x1009fa4d
push eax
call fcn.1010684d
mov dword [ebp - 8], eax
pop ecx
test eax, eax
jne 0x1009fa9c
push edi
call fcn.100d440f
push esi
lea eax, [ebp - 4]
push eax
call fcn.10103b1b
add esp, 0xc
jmp 0x1009fa4d
push 0x40
push 0x100a99d7
push dword [ebp - 4]
call fcn.101054d0
push esi
push eax
call fcn.100a99f0
add esp, 0x14
push dword [ebp - 0xc]
test eax, eax
je 0x1009fac7
call fcn.100d440f
lea eax, [ebp - 8]
push eax
jmp 0x1009fa8e
push dword [ebp - 4]
call fcn.101070ce
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
push esi
push esi
push esi
push 6
push 8
push edi
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.10107703
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.10104826
mov eax, ebx
imul eax, edi
shl eax, 2
push eax
call fcn.100a5025
add esp, 0x38
mov dword [ebp - 0x1c], eax
push 4
pop edx
test edi, edi
je 0x1009fb80
mov esi, dword [ebp + 0xc]
mov eax, edi
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0xff
test ebx, ebx
je 0x1009fb73
mov dword [ebp - 0x14], ebx
mov bl, byte [esi + 3]
xor edx, edx
movzx eax, byte [esi]
movzx ecx, bl
imul eax, ecx
push 4
div dword [ebp - 0x10]
xor edx, edx
mov byte [edi + 2], al
movzx eax, byte [esi + 1]
imul eax, ecx
div dword [ebp - 0x10]
xor edx, edx
mov byte [edi + 1], al
movzx eax, byte [esi + 2]
imul eax, ecx
mov ecx, 0xff
mov byte [edi + 3], bl
div ecx
pop edx
mov byte [edi], al
add esi, edx
add edi, edx
sub dword [ebp - 0x14], 1
jne 0x1009fb28
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x18]
sub eax, 1
mov dword [ebp - 0x18], eax
jne 0x1009fb21
mov edi, dword [ebp + 0x14]
xor esi, esi
cmp edi, 0x3fffffff
ja 0x1009fbf4
xor ecx, ecx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100a5025
pop ecx
mov ecx, eax
mov dword [ebp - 0x18], ecx
test edi, edi
je 0x1009fbb5
mov eax, dword [ebp - 0x1c]
shl ebx, 2
mov dword [ecx + esi*4], eax
inc esi
add eax, ebx
cmp esi, edi
jb 0x1009fbab
push ecx
push dword [ebp - 4]
call fcn.101047c7
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.1010452b
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.10103b1b
push dword [ebp - 0x18]
call fcn.100a502e
push dword [ebp - 0xc]
call fcn.100d440f
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push str.Image_is_too_tall_to_process_in_memory
push dword [ebp - 4]
call fcn.10105130
int3
Function at 0x100e6ad1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100e66d6

Function at 0x100e6adc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100e6857

Function at 0x100ed3e4
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100ecbbe

Function at 0x100ed3ef
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100ecdf9

Function at 0x100f7510
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100f7297

Function at 0x100fccdc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x100fccf1
mov eax, dword [esi]
and eax, 0xf
jmp 0x100fccf3
xor eax, eax
cmp eax, 1
jb 0x100fce04
cmp eax, 5
ja 0x100fce04
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
cmp eax, 1
jbe 0x100fcdba
push edi
lea ecx, [ebp + 0xc]
call fcn.100ff1b4
push eax
push ebx
call fcn.100fceab
add esp, 0xc
lea ecx, [ebp + 0xc]
push edi
call fcn.101030f6
push eax
push ebx
call fcn.100fceab
add esp, 0xc
lea eax, [ebp - 0xc]
lea ecx, [ebp + 0xc]
push eax
call fcn.100fd89c
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0xc]
and dword [ebp - 0x14], 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
call fcn.100fc009
test al, al
je 0x100fcdab
and dword [ebp - 0x14], 0
mov esi, dword [ebp - 0xc]
push edi
lea ecx, [ebp - 0xc]
call fcn.100ff1a1
push eax
push ebx
call fcn.100fceab
add esp, 0xc
lea ecx, [ebp - 0xc]
push edi
call fcn.101030e3
push eax
push ebx
call fcn.100fceab
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0xc]
mov esi, dword [esi + 0x14]
add esp, 0xc
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], esi
push eax
call fcn.100fc009
test al, al
jne 0x100fcd69
push edi
push 0
push ebx
call fcn.100fceab
mov esi, dword [ebp + 0xc]
add esp, 0xc
test esi, esi
je 0x100fcde7
mov esi, dword [esi + 0x14]
jmp 0x100fcde9
mov al, byte [esi]
and al, 0xf
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push eax
call fcn.100d794d
push edi
push esi
push ebx
call fcn.100fccdc
add esp, 0x1c
test esi, esi
je 0x100fcde7
mov esi, dword [esi + 0x1c]
jmp 0x100fcde9
xor esi, esi
push edi
push 1
push 1
test esi, esi
jne 0x100fcdc3
lea eax, [ebp - 2]
mov byte [ebp - 2], 0
push eax
call fcn.100d794d
add esp, 0x10
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100fce09
Capabilities:
Write file on windows

Disassembly:
push 0x44
mov eax, 0x1012a077
call fcn.100a4f7d
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x50]
push 0xa
sub esp, 0xc
mov dword [esp + 8], 0x40100000
mov dword [esp + 4], 0x3e800000
mov dword [esp], 0x3f400000
push 0x11
call fcn.100fba4d
and dword [ebp - 4], 0
lea eax, [ebp - 0x50]
push eax
push dword [ebp + 8]
call fcn.100fc8c0
lea eax, [ebp - 0x50]
push eax
call fcn.100fcadd
mov ecx, dword [ebp - 0x4c]
push esi
push 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push 1
push eax
mov dword [ebp - 0x20], 0x6c6d7873
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x18], ecx
call fcn.100d794d
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.100fcf3c
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x50]
push eax
call fcn.100fccdc
add esp, 0x30
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 1
call fcn.100fc730
call fcn.100a4f27
ret

Function at 0x100fceab
Capabilities:
Write file on windows

Disassembly:
push 0x18
mov eax, 0x1012a0ac
call fcn.100a4f49
mov esi, dword [ebp + 8]
push dword [esi + 4]
call fcn.100fe60d
and dword [ebp + 8], 0
mov edi, eax
pop ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
call fcn.100044bd
and dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push 0xfde9
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10007337
add esp, 0xc
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.100046b0
lea eax, [ebp - 0x18]
push eax
call fcn.10006853
test eax, eax
jne 0x100fcf1c
lea ecx, [ebp - 0x18]
call fcn.10005f01
push eax
mov ecx, esi
call fcn.100fc562
mov eax, dword [eax + 0xc]
mov dword [ebp + 8], eax
push dword [ebp + 0x10]
lea eax, [ebp + 8]
push edi
push 1
push eax
call fcn.100d794d
add esp, 0x10
lea ecx, [ebp - 0x18]
call fcn.10005ddc
call fcn.100a4f12
ret

Function at 0x100fcf3c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push edi
call fcn.100fc4a8
mov edi, eax
test edi, edi
je 0x100fcf7d
push esi
mov ecx, dword [ebp + 0xc]
mov esi, edi
push edi
call fcn.100fc37a
push dword [ebp + 8]
mov edi, eax
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
inc eax
push eax
mov eax, dword [esi]
push 1
push esi
call dword [eax + 0x20]
push eax
call fcn.100d794d
add esp, 0x10
test edi, edi
jne 0x100fcf4f
pop esi
pop edi
pop ebp
ret
Function at 0x100ff038
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [ebp + 0x10], esi
jne 0x100ff058
mov eax, dword [ebp + 8]
mov dword [eax], 1
mov dword [eax + 8], esi
mov dword [eax + 4], esi
jmp 0x100ff116
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 0x10]
call fcn.100fe249
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
je 0x100ff076
mov eax, dword [ebp + 8]
mov dword [eax], ecx
jmp 0x100ff04d
push ebx
push edi
mov edi, dword [ebp - 4]
lea eax, [edi + 2]
push eax
call dword [0x1018bf5c]
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x100ff097
mov eax, dword [ebp + 8]
mov dword [eax], 3
jmp 0x100ff0bb
push dword [ebp + 0x10]
push edi
push 1
push ebx
call fcn.100d46f3
add esp, 0x10
cmp eax, edi
je 0x100ff0c3
push ebx
call dword [0x1018bf60]
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], 2
mov dword [eax + 8], esi
mov dword [eax + 4], esi
jmp 0x100ff114
push edi
push ebx
push dword [ebp + 0x18]
call fcn.100fe218
mov edx, eax
add esp, 0xc
cmp edx, 2
je 0x100ff0e5
push 2
push edx
call fcn.100ff1c7
pop ecx
pop ecx
test al, al
je 0x100ff0f3
shr edi, 1
xor ecx, ecx
lea eax, [edi + edi]
mov word [eax + ebx], cx
lea edi, [eax + 2]
push dword [ebp + 0x1c]
push 1
push 1
push edx
push dword [ebp + 0x14]
push edi
push ebx
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100fee22
mov eax, dword [ebp + 8]
add esp, 0x28
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x101032ef
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ecx + 4]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.100d794d
add esp, 0x10
pop ebp
ret 8