joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4175b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop ecx
mov eax, dword [ebp - 0x6f0]
mov cx, word [eax]
mov word [ebp - 0x896], cx
mov edx, dword [ebp - 0x6f0]
add edx, 2
mov dword [ebp - 0x6f0], edx
mov ax, word [ebp - 0x896]
mov word [ebp - 0x128], ax
mov ecx, dword [ebp - 0x6f4]
mov dx, word [ecx]
mov word [ebp - 0x898], dx
mov eax, dword [ebp - 0x6f4]
add eax, 2
mov dword [ebp - 0x6f4], eax
mov cx, word [ebp - 0x898]
mov word [ebp - 0x3c], cx
push edx
push edi
add esp, 4
and edx, 0x635c
xor edx, 0xe18a
pop edx
push eax
or eax, 0x1d23
pop eax
push edx
push ecx
add esp, 4
sub edx, 0x17e44
and edx, 0xa935
xor edx, 0x13f5a
pop edx
movzx edx, word [ebp - 0x3c]
test edx, edx
jne 0x41753c
movzx eax, word [ebp - 0x128]
movzx ecx, word [ebp - 0x3c]
sub eax, ecx
mov dword [ebp - 0xbfc], eax
jmp 0x417596
movzx edx, word [ebp - 0x128]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
je 0x417464
movzx ecx, word [ebp - 0x128]
xor ecx, 0x20
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x417464
movzx eax, word [ebp - 0x128]
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
jge 0x417580
mov dword [ebp - 0xbf8], 0xffffffff
jmp 0x41758a
mov dword [ebp - 0xbf8], 1
mov edx, dword [ebp - 0xbf8]
mov dword [ebp - 0xbfc], edx
cmp dword [ebp - 0xbfc], 0
jne 0x4175df
push edi
call 0x4175b0
add byte [esi], bh
dec esp
cmp dh, byte [0x4835433c]
dec esp
push eax
add esp, 4
call 0x4175c2
add byte [edi + 0x4d], al
inc eax
xor al, 0x46
dec ebp
push eax
add esp, 4
add edi, 0x100f3
jmp 0x4175d0
pop edi
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x18c], eax
jmp 0x417647
push esi
push eax
add esp, 4
add esi, 0xd2f7
call 0x4175f8
add byte [edx + esi], bh
inc ebx
inc edx
aas
aas
inc edx
aas
add esp, 4
and esi, 0x1178b
call 0x41760d
add byte [edi], dh
cmp byte [0x834e4345], dh
les eax, [esi + ebx*2]
mov ecx, dword [ebp - 0x244]
mov edx, dword [ecx]
mov dword [ebp - 0x244], edx
mov eax, dword [ebp - 0x244]
cmp eax, dword [ebp - 0x6f8]
je 0x41763d
mov ecx, dword [ebp - 0x244]
cmp dword [ecx + 0x30], 0
jne 0x417408
mov dword [ebp - 0x18c], 0
Function at 0x4175c2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop ecx
mov eax, dword [ebp - 0x6f0]
mov cx, word [eax]
mov word [ebp - 0x896], cx
mov edx, dword [ebp - 0x6f0]
add edx, 2
mov dword [ebp - 0x6f0], edx
mov ax, word [ebp - 0x896]
mov word [ebp - 0x128], ax
mov ecx, dword [ebp - 0x6f4]
mov dx, word [ecx]
mov word [ebp - 0x898], dx
mov eax, dword [ebp - 0x6f4]
add eax, 2
mov dword [ebp - 0x6f4], eax
mov cx, word [ebp - 0x898]
mov word [ebp - 0x3c], cx
push edx
push edi
add esp, 4
and edx, 0x635c
xor edx, 0xe18a
pop edx
push eax
or eax, 0x1d23
pop eax
push edx
push ecx
add esp, 4
sub edx, 0x17e44
and edx, 0xa935
xor edx, 0x13f5a
pop edx
movzx edx, word [ebp - 0x3c]
test edx, edx
jne 0x41753c
movzx eax, word [ebp - 0x128]
movzx ecx, word [ebp - 0x3c]
sub eax, ecx
mov dword [ebp - 0xbfc], eax
jmp 0x417596
movzx edx, word [ebp - 0x128]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
je 0x417464
movzx ecx, word [ebp - 0x128]
xor ecx, 0x20
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x417464
movzx eax, word [ebp - 0x128]
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
jge 0x417580
mov dword [ebp - 0xbf8], 0xffffffff
jmp 0x41758a
mov dword [ebp - 0xbf8], 1
mov edx, dword [ebp - 0xbf8]
mov dword [ebp - 0xbfc], edx
cmp dword [ebp - 0xbfc], 0
jne 0x4175df
push edi
call 0x4175b0
add byte [esi], bh
dec esp
cmp dh, byte [0x4835433c]
dec esp
push eax
add esp, 4
call 0x4175c2
add byte [edi + 0x4d], al
inc eax
xor al, 0x46
dec ebp
push eax
add esp, 4
add edi, 0x100f3
jmp 0x4175d0
pop edi
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x18c], eax
jmp 0x417647
push esi
push eax
add esp, 4
add esi, 0xd2f7
call 0x4175f8
add byte [edx + esi], bh
inc ebx
inc edx
aas
aas
inc edx
aas
add esp, 4
and esi, 0x1178b
call 0x41760d
add byte [edi], dh
cmp byte [0x834e4345], dh
les eax, [esi + ebx*2]
mov ecx, dword [ebp - 0x244]
mov edx, dword [ecx]
mov dword [ebp - 0x244], edx
mov eax, dword [ebp - 0x244]
cmp eax, dword [ebp - 0x6f8]
je 0x41763d
mov ecx, dword [ebp - 0x244]
cmp dword [ecx + 0x30], 0
jne 0x417408
mov dword [ebp - 0x18c], 0
Function at 0x4175f8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop ecx
mov eax, dword [ebp - 0x6f0]
mov cx, word [eax]
mov word [ebp - 0x896], cx
mov edx, dword [ebp - 0x6f0]
add edx, 2
mov dword [ebp - 0x6f0], edx
mov ax, word [ebp - 0x896]
mov word [ebp - 0x128], ax
mov ecx, dword [ebp - 0x6f4]
mov dx, word [ecx]
mov word [ebp - 0x898], dx
mov eax, dword [ebp - 0x6f4]
add eax, 2
mov dword [ebp - 0x6f4], eax
mov cx, word [ebp - 0x898]
mov word [ebp - 0x3c], cx
push edx
push edi
add esp, 4
and edx, 0x635c
xor edx, 0xe18a
pop edx
push eax
or eax, 0x1d23
pop eax
push edx
push ecx
add esp, 4
sub edx, 0x17e44
and edx, 0xa935
xor edx, 0x13f5a
pop edx
movzx edx, word [ebp - 0x3c]
test edx, edx
jne 0x41753c
movzx eax, word [ebp - 0x128]
movzx ecx, word [ebp - 0x3c]
sub eax, ecx
mov dword [ebp - 0xbfc], eax
jmp 0x417596
movzx edx, word [ebp - 0x128]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
je 0x417464
movzx ecx, word [ebp - 0x128]
xor ecx, 0x20
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x417464
movzx eax, word [ebp - 0x128]
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
jge 0x417580
mov dword [ebp - 0xbf8], 0xffffffff
jmp 0x41758a
mov dword [ebp - 0xbf8], 1
mov edx, dword [ebp - 0xbf8]
mov dword [ebp - 0xbfc], edx
cmp dword [ebp - 0xbfc], 0
jne 0x4175df
push edi
call 0x4175b0
add byte [esi], bh
dec esp
cmp dh, byte [0x4835433c]
dec esp
push eax
add esp, 4
call 0x4175c2
add byte [edi + 0x4d], al
inc eax
xor al, 0x46
dec ebp
push eax
add esp, 4
add edi, 0x100f3
jmp 0x4175d0
pop edi
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x18c], eax
jmp 0x417647
push esi
push eax
add esp, 4
add esi, 0xd2f7
call 0x4175f8
add byte [edx + esi], bh
inc ebx
inc edx
aas
aas
inc edx
aas
add esp, 4
and esi, 0x1178b
call 0x41760d
add byte [edi], dh
cmp byte [0x834e4345], dh
les eax, [esi + ebx*2]
mov ecx, dword [ebp - 0x244]
mov edx, dword [ecx]
mov dword [ebp - 0x244], edx
mov eax, dword [ebp - 0x244]
cmp eax, dword [ebp - 0x6f8]
je 0x41763d
mov ecx, dword [ebp - 0x244]
cmp dword [ecx + 0x30], 0
jne 0x417408
mov dword [ebp - 0x18c], 0
Function at 0x41760d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop ecx
mov eax, dword [ebp - 0x6f0]
mov cx, word [eax]
mov word [ebp - 0x896], cx
mov edx, dword [ebp - 0x6f0]
add edx, 2
mov dword [ebp - 0x6f0], edx
mov ax, word [ebp - 0x896]
mov word [ebp - 0x128], ax
mov ecx, dword [ebp - 0x6f4]
mov dx, word [ecx]
mov word [ebp - 0x898], dx
mov eax, dword [ebp - 0x6f4]
add eax, 2
mov dword [ebp - 0x6f4], eax
mov cx, word [ebp - 0x898]
mov word [ebp - 0x3c], cx
push edx
push edi
add esp, 4
and edx, 0x635c
xor edx, 0xe18a
pop edx
push eax
or eax, 0x1d23
pop eax
push edx
push ecx
add esp, 4
sub edx, 0x17e44
and edx, 0xa935
xor edx, 0x13f5a
pop edx
movzx edx, word [ebp - 0x3c]
test edx, edx
jne 0x41753c
movzx eax, word [ebp - 0x128]
movzx ecx, word [ebp - 0x3c]
sub eax, ecx
mov dword [ebp - 0xbfc], eax
jmp 0x417596
movzx edx, word [ebp - 0x128]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
je 0x417464
movzx ecx, word [ebp - 0x128]
xor ecx, 0x20
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x417464
movzx eax, word [ebp - 0x128]
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
jge 0x417580
mov dword [ebp - 0xbf8], 0xffffffff
jmp 0x41758a
mov dword [ebp - 0xbf8], 1
mov edx, dword [ebp - 0xbf8]
mov dword [ebp - 0xbfc], edx
cmp dword [ebp - 0xbfc], 0
jne 0x4175df
push edi
call 0x4175b0
add byte [esi], bh
dec esp
cmp dh, byte [0x4835433c]
dec esp
push eax
add esp, 4
call 0x4175c2
add byte [edi + 0x4d], al
inc eax
xor al, 0x46
dec ebp
push eax
add esp, 4
add edi, 0x100f3
jmp 0x4175d0
pop edi
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x18c], eax
jmp 0x417647
push esi
push eax
add esp, 4
add esi, 0xd2f7
call 0x4175f8
add byte [edx + esi], bh
inc ebx
inc edx
aas
aas
inc edx
aas
add esp, 4
and esi, 0x1178b
call 0x41760d
add byte [edi], dh
cmp byte [0x834e4345], dh
les eax, [esi + ebx*2]
mov ecx, dword [ebp - 0x244]
mov edx, dword [ecx]
mov dword [ebp - 0x244], edx
mov eax, dword [ebp - 0x244]
cmp eax, dword [ebp - 0x6f8]
je 0x41763d
mov ecx, dword [ebp - 0x244]
cmp dword [ecx + 0x30], 0
jne 0x417408
mov dword [ebp - 0x18c], 0

Function at 0x422260
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4222b9
test eax, edx
je 0x4222bc
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x422277
movzx eax, word [eax]
sub eax, ecx
jmp 0x42229e
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x42229f
add ecx, 4
js 0x42228f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x42229c
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x42229e
xor eax, eax
ret
test eax, eax
je 0x4222c8
test edx, edx
jne 0x422268
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x42c2cc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42c2ec
sub eax, 4
mov eax, dword [eax]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x42c306
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42c301
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x42c30b
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x42c379
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x42c3c2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42c337
inc dword [ebp - 0xc]
jmp 0x42c34f
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x42c34f
cmp dword [ebp - 0xc], 0
jle 0x42c34f
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x42c371
xor eax, eax
jmp 0x42c36d
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42c36c
mov eax, esi
jmp 0x42c3c5
inc eax
cmp eax, ecx
jle 0x42c359
inc esi
cmp esi, dword [ebp - 8]
jl 0x42c323
jmp 0x42c3c2
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x42c3c2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42c39a
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x42c3bc
xor eax, eax
jmp 0x42c3b8
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42c3b7
mov eax, esi
jmp 0x42c3c5
inc eax
cmp eax, ecx
jle 0x42c3a4
inc esi
cmp esi, dword [ebp - 8]
jl 0x42c382
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x42e003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219

Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43200c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43201e
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x10001eb0
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, 1
jmp 0x10001ec0
Function at 0x100085b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x1000a160
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov ecx, edi
push 0
call fcn.1000ace0
mov dword [edi + 4], 0
mov byte [edi + 8], 0
mov dword [edi + 0xc], 0
mov byte [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov word [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov word [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov byte [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov byte [edi + 0x30], 0
test esi, esi
mov dword [ebp - 0x20], edi
je 0x1000865f
mov dword [ebp - 0x10], 0
push esi
push edi
call fcn.1000ae08
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp - 0x20]
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [ebp - 0x10], 0
push str.bad_locale_name
call fcn.1000b34f
add esp, 4
nop word cs:[eax + eax]
push ebp
sub esp, 8
add ebp, 0xc
mov eax, dword [ebp - 0x20]
mov esi, eax
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x1000869c
push eax
call fcn.10014dc9
add esp, 4
mov eax, esi
mov dword [esi + 0x2c], 0
mov eax, dword [esi + 0x24]
test eax, eax
je 0x100086b5
push eax
call fcn.10014dc9
add esp, 4
mov eax, esi
mov dword [esi + 0x24], 0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x100086ce
push eax
call fcn.10014dc9
add esp, 4
mov eax, esi
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x100086e7
push eax
call fcn.10014dc9
add esp, 4
mov eax, esi
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10008700
push eax
call fcn.10014dc9
add esp, 4
mov eax, esi
mov dword [esi + 0xc], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10008719
push eax
call fcn.10014dc9
add esp, 4
mov ecx, esi
mov dword [esi + 4], 0
call fcn.1000ad11
add esp, 8
pop ebp
ret
Function at 0x10008f50
Capabilities:
Read file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
cmp ebx, 1
mov eax, edi
sbb eax, 0
jl 0x1000904d
mov esi, ecx
mov ebp, dword [esp + 0x1c]
cmp dword [ecx + 0x38], 0
mov dword [esp], ecx
jne 0x10008ff3
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
test ecx, ecx
je 0x10009056
mov edx, dword [esi + 0x2c]
mov edi, dword [edx]
test edi, edi
je 0x10009065
cmp edi, ebx
cmovae edi, ebx
push edi
push ecx
push ebp
call fcn.1000a1f0
add esp, 0xc
add ebp, edi
mov edx, esi
mov esi, ebx
sub esi, edi
mov eax, dword [edx + 0x2c]
sub dword [eax], edi
mov eax, dword [edx + 0x1c]
add dword [eax], edi
jmp 0x10009069
mov dword [esp + 4], edx
push esi
push eax
push ebp
call fcn.1000a1f0
add esp, 0xc
add ebp, esi
sub ebx, esi
sbb edi, dword [esp + 4]
mov ecx, dword [esp]
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov esi, ecx
mov eax, ebx
neg eax
mov eax, 0
sbb eax, edi
jge 0x10009038
mov eax, dword [esi + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x10009020
mov ecx, dword [esi + 0x2c]
mov ecx, dword [ecx]
test ecx, ecx
jle 0x10009020
cmp ebx, ecx
mov edx, edi
sbb edx, 0
mov edx, edi
mov esi, ebx
jb 0x10008fc0
xor edx, edx
mov esi, ecx
jmp 0x10008fc0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, 0xffffffff
je 0x10009038
mov byte [ebp], al
inc ebp
add ebx, 0xffffffff
adc edi, 0xffffffff
jmp 0x10008fe6
mov eax, dword [esp + 0x20]
sub eax, ebx
mov ebx, eax
mov eax, dword [esp + 0x24]
sbb eax, edi
mov edi, eax
jmp 0x100090ec
xor ebx, ebx
xor edi, edi
jmp 0x100090ec
mov edx, esi
mov esi, ebx
cmp dword [edx + 0x4c], 0
jne 0x10009073
jmp 0x100090e7
mov edx, esi
mov esi, ebx
mov edi, dword [esp + 0x24]
cmp dword [edx + 0x4c], 0
je 0x100090e7
mov ecx, dword [edx + 0xc]
add edx, 0x3c
cmp dword [ecx], edx
jne 0x100090a0
mov edx, dword [esp]
mov edx, dword [edx + 0x50]
mov edi, dword [esp]
mov edi, dword [edi + 0x54]
mov dword [ecx], edx
mov dword [eax], edx
sub edi, edx
mov eax, dword [esp]
mov eax, dword [eax + 0x2c]
mov dword [eax], edi
mov edi, dword [esp + 0x24]
nop dword [eax + eax]
cmp esi, 0x1000
jb 0x100090cb
mov eax, dword [esp]
push dword [eax + 0x4c]
push 0xfff
push 1
push ebp
call fcn.10014bd3
add esp, 0x10
add ebp, eax
sub esi, eax
cmp eax, 0xfff
je 0x100090a0
jmp 0x100090e7
test esi, esi
je 0x100090e5
mov eax, dword [esp]
push dword [eax + 0x4c]
push esi
push 1
push ebp
call fcn.10014bd3
add esp, 0x10
sub esi, eax
jmp 0x100090e7
xor esi, esi
sub ebx, esi
sbb edi, 0
mov eax, ebx
mov edx, edi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 0xc

Function at 0x100127d5
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10012814
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10012814
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10012814
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10012814
cmp dword [ecx + 0x74], 0xe
jbe 0x10012814
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10017430
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001745d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001745d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x10019a01
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1002b5a8
push 0x1002b5a0
push str.FlsAlloc
push 0x1f
call fcn.10019e18
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10019a35
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x10019a3b
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10019a7f
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1002b5b8
push 0x1002b5b0
push str.FlsGetValue
push 0x21
call fcn.10019e18
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10019ab6
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10019abe
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1002b5c0
push 0x1002b5b8
push str.FlsSetValue
push 0x22
call fcn.10019e18
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10019af8
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1001ce8f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.1000c4d0
mov eax, dword [0x10038080]
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.1001c3a1
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x1001ced1
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x1001d02d
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.10025240
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 + 0x1003b158]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.1001cc37
mov ecx, dword [esi*4 + 0x1003b158]
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 0x1001d026
cmp eax, dword [ecx + edi + 0x24]
jne 0x1001d026
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 0x1001d026
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1001cc37
add esp, 0x14
test edx, edx
jl 0x1001d026
jg 0x1001cf9c
test eax, eax
jb 0x1001d026
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x1001d026
jl 0x1001cfb6
cmp dword [ebp - 0x1008], eax
ja 0x1001d026
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x1001cfd4
test ebx, ebx
je 0x1001d00d
cmp ecx, edi
jae 0x1001d00d
mov al, byte [ecx]
cmp al, 0xd
jne 0x1001cfee
lea eax, [edi - 1]
cmp ecx, eax
jae 0x1001cffa
cmp byte [ecx + 1], 0xa
jne 0x1001cffa
inc ecx
jmp 0x1001cffa
movzx eax, al
movsx eax, byte [eax + 0x10038a30]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x1001cfd4
cmp edx, ebx
jne 0x1001cfd4
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x1001d02b
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1000bbcf
leave
ret
Function at 0x1001da52
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 0x1001daef
push ebx
push esi
call fcn.1001daf2
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.10017831
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001da9c
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001daee
push edi
push eax
call fcn.10017721
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001dabc
call fcn.100176e7
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001daed
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10017831
add esp, 0x20
test eax, eax
jne 0x1001dadb
push edi
call fcn.100176e7
jmp 0x1001dae3
push ebx
call fcn.100176e7
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