joyce8/EMBER2024-capa huggingface dataset:
Function at 0x67017cca
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, 0xe3
push edi
mov ebp, 0x7fffffff
lea edi, [esi + 0x9c4]
mov eax, dword [edi]
lea edx, [edi + 4]
mov ecx, dword [edx]
xor ecx, eax
and ecx, ebp
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi - 0x9c0], eax
lea edi, [edx]
mov eax, dword [edx]
sub ebx, 1
jne 0x67017ce2
lea edi, [esi + 0xd50]
mov ebx, 0x18c
mov eax, dword [edi]
lea edx, [edi + 4]
mov ecx, dword [edx]
xor ecx, eax
and ecx, ebp
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd4c]
xor eax, ecx
mov dword [edi - 0x9c0], eax
lea edi, [edx]
mov eax, dword [edx]
sub ebx, 1
jne 0x67017d23
mov ecx, dword [esi + 0x1380]
xor ecx, dword [esi + 4]
and ecx, ebp
xor ecx, dword [esi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
and dword [esi], 0
pop esi
pop ebp
pop ebx
ret

Function at 0x67017d90
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea edx, [ecx + 8]
mov esi, 0x270
mov ecx, dword [edx - 4]
xor ecx, dword [edx]
lea edx, [edx + 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x67017d99
pop esi
ret

Function at 0x67018040
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
push esi
xor esi, esi
mov dword [ecx + 4], edx
push edi
inc esi
lea edi, [ecx + 8]
mov ebx, 0x270
mov eax, edx
shr eax, 0x1e
xor edx, eax
imul edx, dword [esp + 0x14]
add edx, esi
inc esi
mov dword [edi], edx
lea edi, [edi + 4]
cmp esi, ebx
jl 0x67018055
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
ret 8
Function at 0x6701876a
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x671a5a31
mov eax, dword fs:[0]
push eax
push ecx
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6744365c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov edx, dword [esi + 0x24]
mov eax, dword [0x6744841c]
cmp edx, eax
jne 0x670187b1
mov dword [0x6744841c], 0
call fcn.670193d9
mov ecx, dword [esi + 0x24]
mov dword [esi + 0x24], 0
test ecx, ecx
je 0x670187c6
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
lea edi, [esi + 0x10]
xor ebx, ebx
mov eax, dword [edi]
cmp dword [eax + 4], ebx
jle 0x67018819
xor edx, edx
mov dword [ebp - 0x10], edx
mov ecx, dword [eax + 0xc]
add ecx, edx
add ecx, eax
cmp dword [ecx + 4], 0
je 0x67018808
mov eax, dword [ecx]
mov esi, 0xfffe
mov eax, dword [eax + 4]
dec dword [eax + 0x14]
mov eax, dword [ecx + 4]
and word [eax + 0xa], si
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x67018808
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [ebp - 0x10]
mov eax, dword [edi]
inc ebx
add edx, 0xc
mov dword [ebp - 0x10], edx
cmp ebx, dword [eax + 4]
jl 0x670187d7
mov esi, dword [ebp - 0x14]
lea ecx, [esi + 0x30]
call fcn.67009c62
lea ecx, [edi + 0x10]
call sym.Ordinal_816
mov ecx, edi
call fcn.6701861c
lea ecx, [esi + 0xc]
call fcn.67009c62
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x6702d6ae
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
sub esp, 0x128
mov eax, dword [0x6744365c]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x13c]
xor esi, esi
mov dword [esp + 0x30], edi
lea edx, [edi + 0x2b]
movzx ecx, byte [edx - 1]
movzx eax, byte [edx]
lea edx, [edx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 2]
shl ecx, 8
or ecx, eax
mov dword [esp + esi*4 + 0x34], ecx
inc esi
cmp esi, 0x10
jl 0x6702d6d6
push 0x30
lea ebx, [esp + 0x70]
pop ebp
mov ecx, dword [ebx - 0x34]
mov esi, ecx
mov edx, dword [ebx]
mov eax, ecx
rol esi, 0xe
lea ebx, [ebx + 4]
ror eax, 7
xor esi, eax
shr ecx, 3
xor esi, ecx
mov eax, edx
mov ecx, edx
rol eax, 0xd
rol ecx, 0xf
xor ecx, eax
shr edx, 0xa
xor ecx, edx
add esi, ecx
add esi, dword [ebx - 0x3c]
add esi, dword [ebx - 0x18]
mov dword [ebx + 4], esi
sub ebp, 1
jne 0x6702d708
mov eax, dword [edi]
xor ebx, ebx
mov edx, dword [edi + 0x14]
mov ebp, eax
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x1c]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], eax
jmp 0x6702d787
mov edx, dword [esp + 0x14]
mov esi, edi
mov eax, edi
rol eax, 7
and edx, edi
ror esi, 0xb
mov ecx, edi
xor esi, eax
not ecx
and ecx, dword [esp + 0x18]
mov eax, edi
ror eax, 6
xor ecx, edx
xor esi, eax
mov edx, ebp
ror edx, 0xd
mov eax, ebp
rol eax, 0xa
add esi, ecx
add esi, dword [ebx + 0x671c4478]
xor edx, eax
add esi, dword [esp + ebx + 0x34]
mov eax, ebp
add esi, dword [esp + 0x28]
add ebx, 4
ror eax, 2
xor edx, eax
mov eax, dword [esp + 0x1c]
mov ecx, eax
and eax, ebp
xor ecx, ebp
and ecx, dword [esp + 0x10]
xor ecx, eax
mov eax, dword [esp + 0x18]
add edx, ecx
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
add edi, esi
mov dword [esp + 0x20], eax
mov ecx, ebp
mov eax, dword [esp + 0x1c]
lea ebp, [edx + esi]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
cmp ebx, 0x100
jl 0x6702d783
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], edi
add eax, ebp
mov edi, dword [esp + 0x30]
add dword [edi + 4], ecx
mov ecx, dword [esp + 0x10]
add dword [edi + 8], ecx
mov ecx, dword [esp + 0x20]
add dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x14]
add dword [edi + 0x14], ecx
mov ecx, dword [esp + 0x18]
add dword [edi + 0x18], ecx
mov ecx, dword [esp + 0x28]
add dword [edi + 0x1c], ecx
mov ecx, dword [esp + 0x134]
mov dword [edi], eax
mov eax, dword [esp + 0x24]
add dword [edi + 0x10], eax
xor eax, eax
mov word [edi + 0x28], ax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.671a2e48
add esp, 0x128
ret
Function at 0x6702ee24
Capabilities:
Enumerate pe sections

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push 0x40
pop eax
mov ecx, dword [esi]
lea edi, [esi + 0x18]
and ecx, 0x3f
mov byte [ecx + esi + 0x18], 0x80
inc ecx
sub eax, ecx
cmp eax, 8
jae 0x6702ee61
push eax
lea eax, [esi + 0x18]
add eax, ecx
push 0
push eax
call fcn.671a4d9e
push 0x40
push edi
push esi
call fcn.6702e563
add esp, 0x18
xor ecx, ecx
push 0x40
pop eax
add eax, 0xfffffff8
push eax
lea eax, [esi + 0x18]
add eax, ecx
push 0
push eax
call fcn.671a4d9e
shl dword [esi], 3
mov al, byte [esi]
mov byte [esi + 0x50], al
mov eax, dword [esi]
shr eax, 8
mov byte [esi + 0x51], al
mov al, byte [esi + 2]
mov byte [esi + 0x52], al
mov al, byte [esi + 3]
mov byte [esi + 0x53], al
mov al, byte [esi + 4]
mov byte [esi + 0x54], al
mov eax, dword [esi + 4]
shr eax, 8
mov byte [esi + 0x55], al
mov al, byte [esi + 6]
push 0x40
mov byte [esi + 0x56], al
mov al, byte [esi + 7]
push edi
push esi
mov byte [esi + 0x57], al
call fcn.6702e563
mov ecx, dword [esp + 0x28]
mov al, byte [esi + 8]
push 0x98
push 0
mov byte [ecx], al
mov eax, dword [esi + 8]
shr eax, 8
mov byte [ecx + 1], al
mov al, byte [esi + 0xa]
mov byte [ecx + 2], al
mov al, byte [esi + 0xb]
mov byte [ecx + 3], al
mov al, byte [esi + 0xc]
mov byte [ecx + 4], al
mov eax, dword [esi + 0xc]
shr eax, 8
mov byte [ecx + 5], al
mov al, byte [esi + 0xe]
mov byte [ecx + 6], al
mov al, byte [esi + 0xf]
mov byte [ecx + 7], al
mov al, byte [esi + 0x10]
mov byte [ecx + 8], al
mov eax, dword [esi + 0x10]
shr eax, 8
mov byte [ecx + 9], al
mov al, byte [esi + 0x12]
mov byte [ecx + 0xa], al
mov al, byte [esi + 0x13]
mov byte [ecx + 0xb], al
mov al, byte [esi + 0x14]
mov byte [ecx + 0xc], al
mov eax, dword [esi + 0x14]
shr eax, 8
mov byte [ecx + 0xd], al
mov al, byte [esi + 0x16]
mov byte [ecx + 0xe], al
mov al, byte [esi + 0x17]
push esi
mov byte [ecx + 0xf], al
call fcn.671a4d9e
add esp, 0x24
pop edi
pop esi
ret

Function at 0x67030924
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov edx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
test esi, esi
je 0x67030959
movzx ecx, word [edi]
lea edi, [edi + 2]
shl edx, 4
add ecx, edx
mov edx, ecx
shr edx, 0x17
and edx, 0x1e0
xor edx, ecx
and edx, 0xfffffff
sub esi, 1
jne 0x67030936
pop edi
mov eax, edx
pop esi
ret
Function at 0x67035b1a
Capabilities:
Encode data using xor

Disassembly:
push 0x11c
mov eax, 0x671a6fe3
call fcn.671a2e7f
mov esi, ecx
cmp byte [esi + 0x10], 0
jne 0x67035c2c
push dword [esi + 0xc]
mov byte [esi + 0x10], 1
call fcn.67035c32
mov ebx, eax
add esp, 4
mov eax, dword [esi]
xor edi, edi
cmp dword [eax + 4], ebx
jle 0x67035b98
push dword [esi + 0xc]
lea ecx, [ebp - 0x10]
call sym.Ordinal_179
push esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], edi
call sym.Ordinal_2002
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.6702f0ed
mov edx, dword [esi]
mov ecx, dword [eax]
mov dword [esi], ecx
lea ecx, [ebp - 0x14]
mov dword [eax], edx
call sym.Ordinal_737
lea ecx, [ebp - 0x10]
call fcn.6702efbd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sym.Ordinal_753
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
cmp eax, ebx
jge 0x67035bcb
push ebx
mov ecx, esi
call fcn.67052576
mov ecx, esi
call fcn.6700348a
mov ecx, dword [esi]
mov eax, ebx
sub eax, dword [ebp - 0x18]
push eax
push edi
mov eax, dword [ecx + 0xc]
add eax, ecx
add eax, dword [ebp - 0x18]
push eax
call fcn.671a4d9e
add esp, 0xc
push ebx
lea ecx, [ebp - 0x128]
call fcn.67035979
mov eax, dword [esi]
mov dword [ebp - 4], 1
mov edx, dword [eax + 0xc]
add edx, eax
test ebx, ebx
jle 0x67035bfd
mov cl, byte [edi + edx]
mov eax, dword [ebp - 0x120]
xor cl, 0x36
mov byte [eax + edi], cl
inc edi
cmp edi, ebx
jl 0x67035be9
push dword [ebp - 0x124]
lea ecx, [esi + 8]
push dword [ebp - 0x120]
call sym.Ordinal_2003
lea eax, [ebp - 0x118]
cmp dword [ebp - 0x120], eax
je 0x67035c2c
push dword [ebp - 0x120]
call dword [0x671bd44c]
pop ecx
call fcn.671a2e59
ret
Function at 0x671249a7
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x1c]
xor ecx, ecx
push edi
xor edi, edi
mov dword [esp + 0x10], edi
test ebp, ebp
jne 0x671249c3
xor eax, eax
jmp 0x67124ad3
push esi
push ebx
mov edi, dword [esp + 0x24]
xor bh, bh
mov byte [esp + 0x28], bh
mov bh, 1
movzx eax, byte [ecx + edi]
mov esi, 0x3e8
mov edx, dword [esp + 0x20]
mov bl, 1
mov dword [esp + 0x14], eax
test al, 0x10
je 0x671249f2
push 0xa
mov eax, edx
cdq
pop esi
idiv esi
jmp 0x67124a0d
test al, 0x20
je 0x671249fa
push 0x64
jmp 0x671249ea
test al, 0x40
je 0x67124a11
cmp edx, esi
jl 0x67124a11
mov eax, edx
cdq
idiv esi
mov edx, eax
cmp edx, esi
jge 0x67124a02
mov eax, dword [esp + 0x14]
movzx esi, byte [ecx + edi + 1]
and eax, 7
add ecx, 2
sub eax, 1
je 0x67124a53
sub eax, 1
je 0x67124a4c
sub eax, 1
je 0x67124a45
sub eax, 1
jne 0x67124a58
movzx eax, byte [ecx + edi]
inc ecx
cmp edx, esi
jl 0x67124a41
cmp edx, eax
jg 0x67124a41
mov bl, 1
jmp 0x67124a58
xor bl, bl
jmp 0x67124a58
cmp edx, esi
setle bl
jmp 0x67124a58
cmp edx, esi
setl bl
jmp 0x67124a58
cmp edx, esi
sete bl
mov edx, dword [esp + 0x14]
mov al, bl
xor al, 1
and dl, 8
movzx eax, al
mov dword [esp + 0x14], eax
mov edx, eax
movzx eax, bl
cmove edx, eax
test bh, bh
je 0x67124a7e
test dl, dl
je 0x67124a7e
mov bh, 1
jmp 0x67124a80
xor bh, bh
cmp ecx, ebp
je 0x67124a90
cmp byte [ecx + edi], 0xfd
jne 0x67124a90
inc ecx
jmp 0x671249d1
mov byte [esp + 0x13], bh
mov bh, byte [esp + 0x28]
test bh, bh
jne 0x67124aa2
cmp byte [esp + 0x13], bh
je 0x67124aa4
mov bh, 1
mov byte [esp + 0x28], bh
cmp ecx, ebp
je 0x67124ab8
cmp byte [ecx + edi], 0xfe
jne 0x67124ab8
inc ecx
jmp 0x671249cf
mov edi, dword [esp + 0x18]
test bh, bh
jne 0x67124acf
inc edi
mov dword [esp + 0x18], edi
cmp ecx, ebp
je 0x67124acf
inc ecx
jmp 0x671249c5
pop ebx
mov eax, edi
pop esi
pop edi
pop ebp
add esp, 0xc
ret

Function at 0x6713058c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 4
add esi, 2
pop edi
mov bh, byte [esi + 1]
mov al, byte [esi - 2]
mov bl, bh
mov ch, byte [esi]
mov cl, al
mov dl, byte [esi - 1]
xor bl, ch
mov byte [ebp - 1], al
xor cl, dl
mov dh, bl
xor dh, al
mov al, cl
shr al, 7
add cl, cl
movzx eax, al
xor dh, dl
imul eax, eax, 0x1b
xor al, cl
mov cl, dl
xor al, byte [ebp - 1]
xor cl, ch
xor al, dh
mov byte [esi - 2], al
mov al, cl
shr al, 7
add cl, cl
movzx eax, al
imul eax, eax, 0x1b
xor al, cl
mov cl, byte [ebp - 1]
xor al, dl
xor cl, bh
xor al, dh
mov byte [esi - 1], al
mov al, bl
shr al, 7
add bl, bl
movzx eax, al
imul eax, eax, 0x1b
xor al, bl
xor al, ch
xor al, dh
mov byte [esi], al
mov al, cl
shr al, 7
lea esi, [esi + 4]
movzx eax, al
add cl, cl
imul eax, eax, 0x1b
xor al, cl
xor al, bh
xor al, dh
mov byte [esi - 3], al
sub edi, 1
jne 0x6713059c
pop edi
pop esi
pop ebx
leave
ret
Function at 0x6715643f
Capabilities:
Parse credit card information

Disassembly:
push 0xc
mov eax, 0x671ba2e7
call fcn.671a2e7f
mov dword [ebp - 0x10], ecx
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.67004e21
mov edx, dword [esi + 8]
xor bl, bl
sub edx, 1
mov edi, eax
js 0x6715652f
mov eax, 0x100
cmp word [edi + edx*2], ax
jae 0x671564d4
mov bl, byte [edi + edx*2]
cmp bl, 0x3b
ja 0x671564a0
cmp bl, 0x3a
jae 0x671564cf
cmp bl, 0xa
je 0x671564cf
cmp bl, 0xd
je 0x671564cf
cmp bl, 0x1f
jbe 0x671564b4
cmp bl, 0x25
jbe 0x671564cf
cmp bl, 0x26
jbe 0x671564b4
cmp bl, 0x2f
jbe 0x671564cf
jmp 0x671564b4
cmp bl, 0x3d
je 0x671564cf
cmp bl, 0x3e
jbe 0x671564b4
cmp bl, 0x40
jbe 0x671564cf
cmp bl, 0x5f
je 0x671564cf
cmp bl, 0x61
jb 0x671564be
cmp bl, 0x7a
jbe 0x671564cf
cmp bl, 0x41
jb 0x671564c8
cmp bl, 0x5a
jbe 0x671564cf
lea eax, [ebx - 0x30]
cmp al, 9
ja 0x671564d4
sub edx, 1
jns 0x67156468
test edx, edx
js 0x6715652f
push 0xffffffffffffffff
push 0
push str.Unexpected_character__1_in_public_id_literal.
lea eax, [ebp + 8]
push 0x673222d0
push eax
call fcn.6710b8f4
and dword [ebp - 4], 0
add esp, 0x10
mov eax, esp
movzx ecx, bl
push 0x20
pop edx
push 0
mov word [eax], dx
lea eax, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp + 8]
call sym.Ordinal_2185
mov ecx, dword [ebp - 0x10]
push eax
push 3
mov byte [ebp - 4], 1
call fcn.6715b61d
lea ecx, [ebp - 0x14]
call sym.Ordinal_855
lea ecx, [ebp + 8]
call sym.Ordinal_855
call fcn.671a2e59
ret 4

Function at 0x6715731e
Capabilities:
Parse credit card information

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor ebx, ebx
call fcn.6715789e
mov esi, dword [esp + 0x14]
mov edx, eax
cmp edx, 0xffffffff
je 0x671573c2
push 0x3a
pop edi
cmp edx, edi
ja 0x67157387
je 0x67157377
cmp edx, 0x23
ja 0x67157364
cmp edx, 0x20
jae 0x671573fa
cmp edx, 9
jb 0x671573a0
cmp edx, 0xa
jbe 0x671573fa
cmp edx, 0xd
jmp 0x6715739e
cmp edx, 0x25
jb 0x671573a0
cmp edx, 0x2c
jbe 0x671573fa
cmp edx, 0x2f
jmp 0x6715739e
test esi, esi
je 0x671573f0
cmp dword [esi], 0
jne 0x671573f0
lea eax, [ebx + 2]
mov dword [esi], eax
jmp 0x671573a0
cmp edx, 0x3f
jbe 0x671573fa
cmp edx, 0x5b
je 0x671573fa
cmp edx, 0x5c
jbe 0x671573a0
cmp edx, 0x5e
jbe 0x671573fa
cmp edx, 0x7c
je 0x671573fa
movzx eax, dx
lea ecx, [ebp + 0x198]
push eax
call sym.Ordinal_1692
mov ecx, ebp
inc ebx
call fcn.6715789e
mov edx, eax
cmp edx, 0xffffffff
jne 0x6715733d
test esi, esi
je 0x671573c9
and dword [esi], 0
lea edi, [ebp + 0x198]
mov ecx, ebp
mov eax, dword [edi]
mov esi, dword [eax + 4]
sub esi, ebx
push esi
push edi
call fcn.6715b564
push esi
mov ecx, edi
call fcn.6706d5ef
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
push edi
mov ecx, ebp
call fcn.6715b479
jmp 0x67157419
push edx
mov ecx, ebp
call fcn.6715b479
test esi, esi
je 0x67157419
lea eax, [ebx + 1]
cmp dword [esi], eax
jne 0x67157419
and dword [esi], 0
mov ecx, ebp
push edi
call fcn.6715b479
dec ebx
mov eax, ebx
jmp 0x671573e9
Function at 0x6717d324
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [esp + 4]
push 0x76
pop edx
mov eax, dword [ecx]
cmp word [eax], dx
jne 0x6717d33b
movzx eax, byte [0x673a8316]
jmp 0x6717d33f
movzx eax, word [eax + 6]
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
push edi
xor edi, edi
mov dword [esi], eax
cmp dword [edx + 0xb0], edi
jne 0x6717d35c
xor eax, eax
jmp 0x6717d400
mov eax, dword [ecx + 0x50]
shr eax, 1
inc eax
push ebx
mov ebx, dword [edx + 0xa8]
push ebp
lea ebp, [ecx + 0x4c]
push 0x76
mov dword [ebx + 8], eax
mov eax, dword [ecx + 0x48]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], ebp
mov eax, dword [edx + 0x78]
mov dword [ebx + 0x14], eax
mov eax, dword [ecx + 0x38]
sub eax, dword [edx + 0x5c]
sar eax, 1
mov dword [ebx + 0x24], eax
mov eax, dword [ecx]
pop esi
movzx eax, word [eax + 2]
mov dword [ebx + 0x28], eax
mov eax, dword [ecx]
movzx eax, word [eax + 4]
mov dword [ebx + 0x2c], eax
mov eax, dword [ecx]
cmp word [eax], si
mov esi, dword [esp + 0x1c]
jne 0x6717d3bb
movzx eax, word [eax + 6]
mov dword [ebx + 4], eax
mov eax, edi
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x38], edi
jmp 0x6717d3d4
mov dword [ebx + 4], edi
mov eax, dword [ecx]
movzx eax, word [eax + 8]
mov dword [ebx + 0x30], eax
mov eax, dword [ecx]
add eax, 0xc
mov dword [ebx + 0x38], eax
mov eax, dword [esi]
sub eax, 7
mov dword [ebx + 0x34], eax
mov edi, dword [ebp]
mov esi, dword [ebp + 4]
or dword [ebp + 4], 0xffffffff
or dword [ebp], 0xffffffff
push dword [edx + 0xac]
push ebx
call dword [edx + 0xb0]
pop ecx
pop ecx
mov dword [ebp], edi
mov dword [ebp + 4], esi
and dword [ebx + 0x3c], 0
pop ebp
pop ebx
pop edi
pop esi
ret
Function at 0x10003917
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x1000395d
call fcn.1000bcfc
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1000395d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x100039a0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x10003989
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x10003989
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x1000399d
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x10004e88
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x10004ea8
cmp dword [edi + 0x54], 0
jne 0x10004ea8
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.1000bcfc
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.10004e4f
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x1000b584
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x1000b5c7
call fcn.1000bcfc
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1000b5c7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1000b5e2
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.1000b13e
test ebx, ebx
mov esi, eax
je 0x1000b5e0
test edi, edi
je 0x1000b5e0
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x1000c70d
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x1003c2bf
call fcn.1001e5b9
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x1000c732
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1000c77e
call fcn.1000de38
push eax
lea ecx, [ebp - 0x10]
call fcn.100016e0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1000c04b
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.10001160
mov eax, esi
call fcn.1001e691
ret 8
Function at 0x1001c920
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10064728]
jne 0x1001c92a
repz ret
jmp fcn.1002136c

Function at 0x1002a32b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.100214d3
xor ebx, ebx
cmp dword [0x1006850c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x1002a400
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x1002a36b
xor eax, eax
jmp 0x1002a4c4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x1002a364
push eax
call fcn.10021470
mov dword [esp], 0x100428e0
push edi
mov dword [0x1006850c], eax
call esi
push eax
call fcn.10021470
mov dword [esp], 0x100428cc
push edi
mov dword [0x10068510], eax
call esi
push eax
call fcn.10021470
mov dword [0x10068514], eax
lea eax, [ebp - 8]
push eax
call fcn.1001e76c
test eax, eax
pop ecx
pop ecx
je 0x1002a3ce
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10022de1
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x1002a400
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.10021470
cmp eax, ebx
pop ecx
mov dword [0x1006851c], eax
je 0x1002a400
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10021470
pop ecx
mov dword [0x10068518], eax
mov eax, dword [0x10068518]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x1002a479
cmp dword [0x1006851c], esi
je 0x1002a479
push eax
call fcn.100214dc
pop ecx
call eax
cmp eax, ebx
je 0x1002a446
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x1006851c]
call fcn.100214dc
pop ecx
call eax
test eax, eax
je 0x1002a446
test byte [ebp - 0x18], 1
jne 0x1002a479
lea eax, [ebp - 0xc]
push eax
call fcn.1001e7a3
test eax, eax
pop ecx
je 0x1002a461
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10022de1
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x1002a470
or dword [ebp + 0x10], 0x200000
jmp 0x1002a4aa
or dword [ebp + 0x10], 0x40000
jmp 0x1002a4aa
mov eax, dword [0x10068510]
cmp eax, esi
je 0x1002a4aa
push eax
call fcn.100214dc
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1002a4aa
mov eax, dword [0x10068514]
cmp eax, esi
je 0x1002a4aa
push dword [ebp - 4]
push eax
call fcn.100214dc
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x1006850c]
call fcn.100214dc
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret