joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100916d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0x6af90]
push edi
xor ebx, ebx
xor edi, edi
test eax, eax
mov dword [esi + 0x6af80], 2
je 0x100918ee
cmp dword [esi + 0x6af90], 3
jb 0x10091747
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, 0x7fff
mov dword [esi + 0x6af7c], eax
mov ebx, dword [esi + eax*4 + 0x4af70]
and ecx, 0x7fff
mov dword [esi + ecx*4 + 0x2af70], ebx
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
test ebx, ebx
je 0x10091787
mov edx, dword [esi + 0x6af84]
sub edx, ebx
cmp edx, 0x7efa
ja 0x10091787
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x1009176f
mov dword [esi + 0x6afa0], eax
push ebx
push esi
call fcn.1008ed40
mov edi, eax
mov eax, dword [esi + 0x6af90]
add esp, 8
cmp edi, eax
jbe 0x10091787
mov edi, eax
cmp edi, 3
jb 0x10091864
mov ecx, dword [esi + 0x6af84]
lea eax, [edi - 3]
push eax
sub ecx, dword [esi + 0x6af88]
push ecx
push esi
call fcn.1008e780
mov ecx, dword [esi + 0x6af90]
mov edx, dword [esi + 0x6af98]
sub ecx, edi
add esp, 0xc
cmp edi, edx
mov dword [esi + 0x6af90], ecx
ja 0x1009182a
cmp ecx, 3
jb 0x1009182a
dec edi
jmp 0x100917d0
mov ecx, dword [esi + 0x6af84]
mov ebx, dword [esi + 0x6af7c]
inc ecx
mov dword [esi + 0x6af84], ecx
mov edx, ecx
movzx ecx, byte [esi + edx + 0x1af72]
shl ebx, 5
xor ecx, ebx
and ecx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov ebx, dword [esi + ecx*4 + 0x4af70]
and edx, 0x7fff
dec edi
mov dword [esi + edx*4 + 0x2af70], ebx
mov edx, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + edx*4 + 0x4af70], ecx
jne 0x100917d0
jmp 0x1009188b
mov edx, dword [esi + 0x6af84]
add edx, edi
mov dword [esi + 0x6af84], edx
movzx ecx, byte [edx + esi + 0x1af70]
add edx, esi
mov dword [esi + 0x6af7c], ecx
movzx edx, byte [edx + 0x1af71]
shl ecx, 5
xor edx, ecx
xor edi, edi
and edx, 0x7fff
mov dword [esi + 0x6af7c], edx
jmp 0x10091891
mov eax, dword [esi + 0x6af84]
movzx ecx, byte [eax + esi + 0x1af70]
push ecx
push 0
push esi
call fcn.1008e780
mov edx, dword [esi + 0x6af90]
add esp, 0xc
dec edx
mov dword [esi + 0x6af90], edx
inc dword [esi + 0x6af84]
test eax, eax
je 0x100918cb
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x100918a8
lea ecx, [eax + esi + 0x1af70]
jmp 0x100918aa
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 0
sub edx, eax
push edx
push ecx
push esi
call fcn.100914f0
mov eax, dword [esi + 0x6af84]
add esp, 0x10
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x100918e0
push esi
call fcn.1008eee0
add esp, 4
mov eax, dword [esi + 0x6af90]
test eax, eax
jne 0x100916f3
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x10091901
lea ecx, [eax + esi + 0x1af70]
jmp 0x10091903
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 1
sub edx, eax
push edx
push ecx
push esi
call fcn.100914f0
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x10094b20
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test edx, edx
jle 0x10094b4b
push esi
push edi
jmp 0x10094b30
movzx esi, byte [ecx]
movzx esi, byte [esi + 0x10182d08]
lea edi, [eax*8]
xor esi, edi
xor eax, esi
inc ecx
dec edx
jne 0x10094b30
pop edi
pop esi
ret

Function at 0x1009a490
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
xor ebx, ebx
xor edi, edi
cmp ebp, ebx
mov eax, ebp
jne 0x1009a4aa
mov dword [esp + 0x1c], ebx
jmp 0x1009a4c3
cmp byte [ebp], 0
je 0x1009a4b8
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1009a4b0
sub eax, ebp
and eax, 0x3fffffff
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x14]
cmp eax, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
jle 0x1009a58f
push esi
jmp 0x1009a4e0
cmp ebx, 2
mov esi, ebx
jge 0x1009a4ea
xor esi, 1
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1009a50f
mov edx, dword [esp + 0x1c]
mov edx, dword [edx + 0x10]
mov ecx, esi
shl ecx, 4
mov ecx, dword [ecx + edx]
push ecx
push eax
call fcn.10093d00
add esp, 8
test eax, eax
jne 0x1009a570
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x10]
shl esi, 4
mov ecx, dword [esi + eax + 0xc]
mov eax, dword [ecx + 0x14]
add ecx, 8
test eax, eax
je 0x1009a552
mov esi, dword [esp + 0x20]
xor eax, eax
test esi, esi
mov edx, ebp
jle 0x1009a54c
movzx edi, byte [edx]
movzx edi, byte [edi + 0x10182d08]
lea ebx, [eax*8]
xor edi, ebx
xor eax, edi
inc edx
dec esi
jne 0x1009a533
xor edx, edx
div dword [ecx]
jmp 0x1009a554
xor edx, edx
mov ebx, dword [esp + 0x20]
push ebp
call fcn.10094bb0
add esp, 4
test eax, eax
je 0x1009a58b
mov edi, dword [eax + 8]
test edi, edi
jne 0x1009a581
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc ebx
cmp ebx, eax
mov dword [esp + 0x10], ebx
jl 0x1009a4e0
pop esi
mov eax, edi
pop edi
pop ebp
pop ebx
add esp, 8
ret
xor edi, edi
jmp 0x1009a56c
mov eax, edi
pop edi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x1009a5a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
xor ebx, ebx
xor edi, edi
cmp ebp, ebx
mov eax, ebp
jne 0x1009a5ba
mov dword [esp + 0x1c], ebx
jmp 0x1009a5d3
cmp byte [ebp], 0
je 0x1009a5c8
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x1009a5c0
sub eax, ebp
and eax, 0x3fffffff
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x14]
cmp eax, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], eax
jle 0x1009a691
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x10], eax
push esi
mov edi, edi
cmp ebx, 2
mov eax, ebx
jge 0x1009a5fa
xor eax, 1
mov ecx, dword [esp + 0x14]
shl eax, 4
mov esi, dword [eax + ecx + 0xc]
add eax, ecx
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x1009a61f
mov edx, dword [eax]
push edx
push ecx
call fcn.10093d00
add esp, 8
test eax, eax
jne 0x1009a672
mov eax, dword [esi + 0x24]
test eax, eax
lea ecx, [esi + 0x18]
je 0x1009a654
mov esi, dword [esp + 0x20]
xor eax, eax
test esi, esi
mov edx, ebp
jle 0x1009a64e
movzx edi, byte [edx]
movzx edi, byte [edi + 0x10182d08]
lea ebx, [eax*8]
xor edi, ebx
xor eax, edi
inc edx
dec esi
jne 0x1009a635
xor edx, edx
div dword [ecx]
jmp 0x1009a656
xor edx, edx
mov ebx, dword [esp + 0x20]
push ebp
call fcn.10094bb0
add esp, 4
test eax, eax
je 0x1009a68d
mov edi, dword [eax + 8]
test edi, edi
jne 0x1009a683
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
inc ebx
cmp ebx, eax
mov dword [esp + 0x10], ebx
jl 0x1009a5f0
pop esi
mov eax, edi
pop edi
pop ebp
pop ebx
add esp, 0xc
ret
xor edi, edi
jmp 0x1009a66e
mov eax, edi
pop edi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x1009e760
Capabilities:
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
lea eax, [esi*8]
cmp eax, 0x400
jbe 0x1009e779
mov esi, 0x80
cmp esi, dword [ebx]
jne 0x1009e782
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [0x101c8744]
test eax, eax
je 0x1009e78d
call eax
lea ecx, [esi*8]
push edi
push ecx
call fcn.1009dcf0
mov edi, eax
mov eax, dword [0x101c8748]
add esp, 4
test eax, eax
mov dword [esp + 8], edi
je 0x1009e7af
call eax
test edi, edi
jne 0x1009e7b9
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov edx, dword [ebx + 0xc]
push ebp
push edx
call fcn.10093990
push edi
mov dword [ebx + 0xc], edi
call dword [0x101b76bc]
mov ebp, eax
shr ebp, 3
xor eax, eax
lea ecx, [ebp + ebp]
mov dword [ebx], ebp
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 8]
add esp, 8
test ecx, ecx
mov dword [esp + 0x14], ebp
mov dword [ebx + 8], eax
je 0x1009e886
mov esi, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
xor eax, eax
test esi, esi
jle 0x1009e81d
lea ecx, [ecx]
movzx edi, byte [edx]
movzx edi, byte [edi + 0x10182d08]
lea ebp, [eax*8]
xor edi, ebp
xor eax, edi
inc edx
dec esi
jne 0x1009e800
mov ebp, dword [esp + 0x14]
xor edx, edx
div ebp
mov eax, dword [esp + 0xc]
mov edi, dword [ecx]
lea eax, [eax + edx*8]
test eax, eax
je 0x1009e863
mov esi, dword [eax]
test esi, esi
je 0x1009e839
mov edx, dword [eax + 4]
jmp 0x1009e83b
xor edx, edx
inc esi
test edx, edx
mov dword [eax], esi
mov dword [eax + 4], ecx
je 0x1009e863
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x1009e85b
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x1009e87c
mov dword [ebx + 8], ecx
mov dword [edx + 4], ecx
jmp 0x1009e87c
mov edx, dword [ebx + 8]
mov dword [ecx], edx
mov eax, dword [ebx + 8]
test eax, eax
je 0x1009e872
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [ebx + 8], ecx
test edi, edi
mov ecx, edi
jne 0x1009e7f1
pop ebp
pop edi
mov eax, 1
pop esi
pop ecx
ret
Function at 0x100aaf50
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x100ab0cd
push esi
mov esi, dword [esp + 0x18]
test esi, esi
je 0x100aaf73
mov eax, dword [esi + 0x1f0]
test eax, eax
jne 0x100aaf82
dec word [ebx + 0x28]
cmp word [ebx + 0x28], 0
ja 0x100ab0cc
push ebp
mov ebp, dword [ebx + 8]
test ebp, ebp
push edi
mov dword [esp + 0x14], ebp
je 0x100ab064
test esi, esi
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], eax
je 0x100aafac
mov eax, dword [esi + 0x1f0]
test eax, eax
jne 0x100ab041
mov ecx, dword [ebp]
test ecx, ecx
mov eax, ecx
jne 0x100aafb9
xor ebx, ebx
jmp 0x100aafd1
cmp byte [ecx], 0
je 0x100aafc8
mov edi, edi
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x100aafc0
sub eax, ecx
and eax, 0x3fffffff
mov ebx, eax
mov esi, dword [ebp + 0x18]
mov eax, dword [esi + 0x18]
add esi, 0x18
test eax, eax
je 0x100ab01d
xor eax, eax
test ebx, ebx
mov edx, ecx
jle 0x100ab015
mov dword [esp + 0x10], ebx
lea ebx, [ebx]
movzx edi, byte [edx]
movzx edi, byte [edi + 0x10182d08]
lea ebp, [eax*8]
xor edi, ebp
xor eax, edi
mov edi, dword [esp + 0x10]
inc edx
dec edi
mov dword [esp + 0x10], edi
jne 0x100aaff0
mov ebp, dword [esp + 0x14]
xor edx, edx
div dword [esi]
mov edi, edx
jmp 0x100ab01f
xor edi, edi
push ecx
mov edx, edi
mov ecx, esi
call fcn.10094bb0
add esp, 4
test eax, eax
je 0x100ab039
mov edx, edi
mov ecx, esi
call fcn.10094c00
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov eax, dword [ebp + 0x10]
mov ecx, esi
call fcn.10093a30
mov eax, ebp
mov ecx, esi
call fcn.10093a30
mov ebp, dword [esp + 0x18]
test ebp, ebp
mov dword [esp + 0x14], ebp
jne 0x100aaf93
push ebx
call fcn.100a4720
push ebx
mov edi, esi
call fcn.100a3d90
mov eax, dword [ebx]
add esp, 8
mov ecx, esi
call fcn.10093a30
mov eax, dword [ebx + 0x14]
mov ecx, esi
call fcn.10093a30
mov edi, dword [ebx + 0xc]
test edi, edi
je 0x100ab0a2
push edi
push esi
call fcn.1009b520
add esp, 8
mov eax, edi
mov ecx, esi
call fcn.10093a30
mov ecx, dword [ebx + 0x18]
push ecx
push esi
call fcn.100a3240
mov eax, ebx
add esp, 8
mov ebx, esi
call fcn.1009beb0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
pop edi
pop ebp
pop esi
pop ebx
add esp, 0xc
jmp fcn.10093a30
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x100b0870
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x20
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x34]
mov eax, dword [ecx]
push ebx
mov ebx, dword [eax + 0xb0]
movzx eax, byte [edx + 5]
push ebp
mov ebp, dword [edx + 0x38]
push esi
movzx esi, word [edx + 0xc]
mov dword [esp + 0x1c], esi
movzx esi, word [edx + 0x10]
mov dword [esp + 0x18], esi
mov esi, dword [ecx + 0x24]
xor ecx, ecx
mov ch, byte [eax + ebp + 5]
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], 0
mov cl, byte [eax + ebp + 6]
mov edi, ecx
mov ecx, esi
sub ecx, edi
lea esi, [edi + ebp]
add edi, ebx
mov ebx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
lea edi, [esi + ecx*2]
mov dword [esp + 0x20], edi
jle 0x100b0998
add esi, ebp
mov dword [esp + 0x14], esi
jmp 0x100b0900
mov esi, dword [esp + 0x14]
mov edi, edi
xor eax, eax
mov ah, byte [esi]
mov al, byte [esi + 1]
mov esi, eax
cmp esi, edi
mov dword [esp + 0x28], esi
jl 0x100b0a1e
mov eax, dword [esp + 0x10]
add eax, 0xfffffffc
cmp esi, eax
jg 0x100b0a1e
mov ecx, dword [esp + 0x24]
add esi, ecx
push esi
mov eax, edx
call fcn.10097ea0
movzx ecx, ax
sub ebx, ecx
add esp, 4
cmp ebx, edi
jl 0x100b09f8
mov edx, dword [esp + 0x28]
lea eax, [ecx + edx]
cmp eax, dword [esp + 0x10]
jg 0x100b09f8
mov eax, dword [esp + 0x14]
mov edx, ecx
shr ecx, 2
lea edi, [ebx + ebp]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x34]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x20]
mov ecx, ebx
sar ecx, 8
mov byte [eax], cl
mov ecx, dword [esp + 0x18]
mov byte [eax + 1], bl
add eax, 2
inc ecx
mov dword [esp + 0x14], eax
cmp ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
jl 0x100b08fa
mov eax, dword [esp + 0x2c]
mov byte [eax + ebp + 6], bl
mov ecx, ebx
sar ecx, 8
mov byte [eax + ebp + 5], cl
sub ebx, edi
mov byte [eax + ebp + 1], 0
mov byte [eax + ebp + 2], 0
mov byte [eax + ebp + 7], 0
mov ecx, ebx
mov esi, ecx
shr ecx, 2
add edi, ebp
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
movzx edx, word [edx + 0xe]
cmp ebx, edx
je 0x100b0a44
push 0x10187614
push 0xc12a
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.100a7790
add esp, 0x10
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x20
ret
push 0x10187614
push 0xc119
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.100a7790
add esp, 0x10
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x20
ret
push 0x10187614
push 0xc10d
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.100a7790
add esp, 0x10
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x20
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
Function at 0x100b9be0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x44
mov eax, dword [esp + 0x50]
mov eax, dword [eax]
mov cl, byte [eax + 4]
mov edx, dword [eax]
push ebx
mov byte [esp + 0x3f], cl
mov ecx, dword [esp + 0x50]
push ebp
mov dword [esp + 0x20], eax
mov al, byte [ecx]
xor ebx, ebx
cmp al, 0x80
push esi
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x2c], edx
jae 0x100b9c1c
movzx eax, al
mov dword [esp + 0x14], eax
mov eax, 1
jmp 0x100b9c28
lea esi, [esp + 0x14]
call fcn.10094820
movzx eax, al
mov ebp, dword [esp + 0x14]
movzx edi, al
cmp edi, ebp
mov eax, dword [esp + 0x28]
movzx ecx, word [eax + 6]
mov dword [esp + 0x24], ecx
jae 0x100b9d19
add eax, 0xc
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x60]
movzx eax, word [edx + 4]
cmp ebx, eax
jge 0x100b9d19
mov ecx, dword [esp + 0x5c]
mov al, byte [ecx + edi]
add ecx, edi
cmp al, 0x80
jae 0x100b9c7d
movzx eax, al
mov dword [esp + 0x20], eax
mov ecx, 1
jmp 0x100b9c8d
lea esi, [esp + 0x20]
call fcn.10094820
movzx ecx, al
mov eax, dword [esp + 0x20]
movzx edx, cl
mov ecx, dword [esp + 0x58]
add edi, edx
cmp ebp, ecx
jl 0x100b9cb1
cmp eax, 0xc
jb 0x100b9ca6
lea ecx, [eax - 0xc]
shr ecx, 1
jmp 0x100b9cad
movzx ecx, byte [eax + 0x10183480]
test ecx, ecx
ja 0x100b9d19
mov ecx, dword [esp + 0x5c]
add ecx, ebp
lea esi, [esp + 0x2c]
call fcn.10099020
add ebp, eax
cmp ebx, dword [esp + 0x24]
jge 0x100b9cd0
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
jmp 0x100b9cd2
xor eax, eax
mov esi, dword [esp + 0x60]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esi + 0x10]
add eax, edx
lea edx, [esp + 0x30]
call fcn.100b9620
mov ecx, eax
add esp, 4
test ecx, ecx
mov dword [esp + 0x10], ecx
jne 0x100b9d38
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
add edx, 4
add ecx, 0x28
inc ebx
cmp edi, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
jb 0x100b9c52
mov eax, dword [esp + 0x60]
mov al, byte [eax + 6]
test al, 1
je 0x100b9d7e
pop edi
pop esi
mov dword [esp + 8], 0xffffffff
mov eax, dword [esp + 8]
pop ebp
pop ebx
add esp, 0x44
ret
cmp ebx, dword [esp + 0x24]
jge 0x100b9d51
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 8]
cmp byte [ebx + edx], 0
je 0x100b9d51
neg ecx
mov dword [esp + 0x10], ecx
mov al, byte [esi + 6]
test al, 4
je 0x100b9d74
movzx edx, word [esi + 4]
dec edx
cmp ebx, edx
jne 0x100b9d74
mov edx, dword [esp + 0x40]
and al, 0xfb
mov byte [esi + 6], al
mov eax, dword [esp + 0x3c]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x44
ret
test al, 2
jne 0x100b9d90
cmp edi, dword [esp + 0x14]
jae 0x100b9d90
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
Function at 0x100c3ce0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [edi + 0x3c]
mov eax, dword [edx]
sub esp, 8
push ebp
xor ebp, ebp
test eax, eax
push esi
mov esi, dword [esp + 0x14]
jne 0x100c3d16
mov eax, dword [edi + 0x78]
mov ecx, dword [edi]
or eax, 0x1e
push ebp
and eax, 0x87f7f
push eax
push edx
push ebp
push ecx
call dword [ecx + 0x18]
mov ebp, eax
add esp, 0x14
test ebp, ebp
jne 0x100c3e13
mov ecx, dword [edi + 0x18]
cmp ecx, dword [edi + 0x24]
jbe 0x100c3d50
mov eax, dword [edi + 0x80]
push 0
cdq
push ecx
push edx
push eax
call fcn.101046a0
mov dword [esp + 0xc], edx
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax]
push 5
push eax
call dword [ecx + 0x28]
mov eax, dword [edi + 0x18]
add esp, 0xc
mov dword [edi + 0x24], eax
push ebx
test esi, esi
je 0x100c3e0a
mov ebx, dword [esi + 0x14]
cmp ebx, dword [edi + 0x18]
ja 0x100c3dfb
test byte [esi + 0x18], 0x20
jne 0x100c3dfb
mov eax, dword [edi + 0x80]
cdq
push edx
push eax
lea ecx, [ebx - 1]
push 0
push ecx
call fcn.101046a0
cmp ebx, 1
mov dword [esp + 0xc], eax
mov ebp, edx
jne 0x100c3d93
call fcn.10096ea0
mov ecx, dword [edi + 0x80]
mov esi, dword [esi + 4]
mov eax, dword [edi + 0x3c]
mov edx, dword [eax]
push ebp
mov ebp, dword [esp + 0x10]
push ebp
push ecx
push esi
push eax
call dword [edx + 0xc]
add esp, 0x14
cmp ebx, 1
mov ebp, eax
jne 0x100c3dd3
add esi, 0x18
mov ecx, dword [esi]
lea eax, [edi + 0x64]
mov dword [eax], ecx
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 8]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0xc]
mov dword [eax + 0xc], edx
cmp ebx, dword [edi + 0x20]
jbe 0x100c3ddb
mov dword [edi + 0x20], ebx
mov edx, dword [edi + 0xa8]
mov esi, dword [esp + 0x18]
inc edx
mov dword [edi + 0xa8], edx
mov eax, dword [esi + 4]
push eax
mov eax, dword [edi + 0x58]
call fcn.100b95b0
add esp, 4
test ebp, ebp
mov esi, dword [esi + 0xc]
mov dword [esp + 0x18], esi
je 0x100c3d51
pop ebx
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret
Function at 0x100f7a81
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
je 0x100f7ad4
call fcn.1015c849
mov edi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebx
je 0x100f7ad4
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x100f7aca
xor eax, eax
jmp 0x100f7bed
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], 1
je 0x100f7b04
mov eax, dword [esi]
push edi
push dword [ebp - 4]
mov ecx, esi
push ebx
call dword [eax + 0x1c]
cmp dword [ebp - 8], 0
mov dword [ebp - 0xc], eax
je 0x100f7b04
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x100f7bea
mov ecx, dword [eax + 0x40]
and dword [ebp + 0xc], 0
test ecx, ecx
mov dword [ebp + 8], ecx
mov dword [ebp - 8], ecx
je 0x100f7b31
lea ecx, [eax + 0x3c]
lea eax, [ebp + 8]
push eax
call fcn.100f767a
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
xor eax, eax
cmp dword [edi + 8], eax
mov dword [ebp - 4], eax
jbe 0x100f7bea
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x100f7b7a
mov ecx, dword [ecx + 4]
mov edx, dword [edi + 0xc]
mov ecx, dword [ecx + 0x28]
cmp ecx, dword [edx + eax*8]
jne 0x100f7b7a
mov eax, dword [ebp + 8]
test eax, eax
mov dword [ebp - 8], eax
je 0x100f7b74
mov ecx, dword [ebx + 0x48]
lea eax, [ebp + 8]
add ecx, 0x3c
push eax
call fcn.100f767a
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x100f7bda
and dword [ebp + 0xc], 0
jmp 0x100f7bda
mov ecx, dword [edi + 0xc]
shl eax, 3
cmp dword [eax + ecx], 0
mov dword [ebp - 0x10], eax
je 0x100f7bda
push 0xc
call fcn.1015294a
mov esi, eax
test esi, esi
pop ecx
je 0x100f7bbc
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x1c]
add eax, edx
push dword [eax]
mov edi, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
and dword [esi + 4], 0
mov dword [esi + 8], edi
mov edi, dword [ebp + 0x10]
mov dword [esi], eax
jmp 0x100f7bbe
xor esi, esi
mov ecx, dword [ebx + 0x48]
add ecx, 0x3c
cmp dword [ebp - 8], 0
push esi
je 0x100f7bd5
push dword [ebp - 8]
call fcn.101516ea
jmp 0x100f7bda
call fcn.101516c1
mov eax, dword [ebp - 4]
inc eax
cmp eax, dword [edi + 8]
mov dword [ebp - 4], eax
jb 0x100f7b3f
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x101021ba
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
test edi, edi
jne 0x101021d7
call fcn.10105902
mov dword [eax], 0x16
xor eax, eax
jmp 0x10102241
push esi
push 0x8c
push 1
call fcn.101045e3
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x1010222c
push esi
call fcn.10107be8
mov eax, dword [ebp + 0x14]
or dword [esi + 4], 0xffffffff
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
pop ecx
mov dword [esi + 0x4c], edi
jne 0x1010220a
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x18]
push esi
push 0x10102125
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x10102240
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
call fcn.1010168d
test ebx, ebx
pop ecx
je 0x1010223e
push ebx
call fcn.10105914
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10104500
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.10101f10
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1010459b
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x101ca924]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x1010459b
cmp eax, 1
je 0x101045bc
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1010459b
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x10104568
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x10104597
xor eax, eax
inc eax
jmp 0x101045db
cmp edi, eax
jae 0x1010459f
xor eax, eax
jmp 0x101045db
cmp eax, esi
jae 0x101045a6
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x101ca924]
jmp 0x101045bf
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret