joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004dbe0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp dword [ecx + 4], 0xffffffff
mov dword [esp], ecx
jne 0x1004dc0a
cmp dword [ecx + 8], 0
jne 0x1004dc0a
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1004dc04
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push str.Failed_to_write_because_file_is_not_open.
call edx
xor al, al
pop ecx
ret 0x14
push ebx
mov ebx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x1004dc25
mov dword [edi], 0
mov dword [edi + 4], 0
push ebp
mov ebp, dword [esp + 0x18]
mov eax, ebp
or eax, dword [esp + 0x1c]
push esi
je 0x1004dcfd
mov edx, dword [esp + 0x18]
jmp 0x1004dc40
cmp dword [esp + 0x20], 0
jl 0x1004dc58
jg 0x1004dc51
cmp ebp, 0x989680
jbe 0x1004dc58
mov esi, 0x989680
jmp 0x1004dc5a
mov esi, ebp
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x1004dcb8
push 0
lea ecx, [esp + 0x1c]
push ecx
push esi
push ebx
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1004dc86
mov edx, dword [esp + 0x18]
cmp edx, esi
je 0x1004dcd7
mov esi, dword [esp + 0x28]
test esi, esi
je 0x1004dcae
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
push 1
push str.WriteFileError
mov ecx, esi
call eax
mov ecx, esi
call fcn.1004d110
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
pop esi
pop ebp
pop edi
xor al, al
pop ebx
pop ecx
ret 0x14
mov eax, dword [ecx + 8]
test eax, eax
je 0x1004dcdb
push eax
push 1
push esi
push ebx
call fcn.1009455c
add esp, 0x10
cmp eax, 1
jne 0x1004dd07
mov edx, esi
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x10]
add ebx, esi
sub ebp, esi
mov eax, 0
sbb dword [esp + 0x20], eax
cmp edi, eax
je 0x1004dcf1
add dword [edi], edx
adc dword [edi + 4], eax
mov eax, ebp
or eax, dword [esp + 0x20]
jne 0x1004dc40
pop esi
pop ebp
pop edi
mov al, 1
pop ebx
pop ecx
ret 0x14
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x1004dd1b
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push str.fwrite_failed.
call eax
pop esi
pop ebp
pop edi
xor al, al
pop ebx
pop ecx
ret 0x14
Function at 0x10050510
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0x11c
mov eax, dword [0x101252d0]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
mov ebx, dword [esp + 0x124]
push ebp
mov ebp, dword [esp + 0x130]
push esi
mov esi, dword [esp + 0x130]
test esi, esi
push edi
mov edi, dword [esp + 0x13c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], edi
je 0x100506f0
test ebx, ebx
je 0x100506f0
lea ecx, [esi + esi*4 + 0xa]
mov eax, 0xaaaaaaab
mul ecx
mov ecx, edx
shr ecx, 1
lea eax, [ecx + ecx]
xor edx, edx
div esi
lea ecx, [ecx + eax + 3]
push ecx
mov ecx, edi
call fcn.10037060
mov eax, 0xaaaaaaab
mul dword [esp + 0x134]
xor esi, esi
xor ecx, ecx
shr edx, 1
mov dword [esp + 0x10], edx
je 0x10050650
mov dword [esp + 0x18], edx
jmp 0x100505a4
mov ebx, dword [esp + 0x14]
movzx eax, byte [ebx + esi]
movzx edi, byte [ebx + esi + 1]
add esi, 1
movzx edx, byte [ebx + esi + 1]
mov ebx, eax
add esi, 1
sar ebx, 2
and ebx, 0x3f
mov bl, byte [ebx + ebp]
mov byte [esp + ecx + 0x20], bl
and eax, 3
mov ebx, edi
shl eax, 4
sar ebx, 4
and ebx, 0xf
or ebx, eax
movzx eax, byte [ebx + ebp]
mov byte [esp + ecx + 0x21], al
add ecx, 1
and edi, 0xf
mov eax, edx
sar eax, 6
add edi, edi
and eax, 3
add edi, edi
or eax, edi
movzx eax, byte [eax + ebp]
mov edi, dword [esp + 0x1c]
add ecx, 1
mov byte [esp + ecx + 0x20], al
and edx, 0x3f
mov dl, byte [edx + ebp]
add ecx, 1
mov byte [esp + ecx + 0x20], dl
add ecx, 1
add esi, 1
cmp ecx, 0x100
jl 0x1005062c
push ecx
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.10037530
xor ecx, ecx
sub dword [esp + 0x18], 1
jne 0x100505a0
test ecx, ecx
je 0x10050648
push ecx
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.10037530
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x134]
lea edx, [edx + edx*2]
sub eax, edx
sub eax, 1
je 0x100506b4
sub eax, 1
jne 0x100506f0
movzx eax, byte [ebx + esi]
movzx esi, byte [ebx + esi + 1]
mov dword [esp + 0x10], eax
sar eax, 2
and eax, 0x3f
movzx eax, byte [eax + ebp]
push eax
mov ecx, edi
call fcn.1003bd20
mov eax, dword [esp + 0x10]
mov ecx, esi
sar ecx, 4
and eax, 3
and ecx, 0xf
shl eax, 4
or ecx, eax
movzx edx, byte [ecx + ebp]
push edx
mov ecx, edi
call fcn.1003bd20
and esi, 0xf
movzx eax, byte [ebp + esi*4]
push eax
jmp 0x100506e0
movzx esi, byte [ebx + esi]
mov ecx, esi
sar ecx, 2
and ecx, 0x3f
movzx edx, byte [ecx + ebp]
push edx
mov ecx, edi
call fcn.1003bd20
and esi, 3
shl esi, 4
movzx eax, byte [esi + ebp]
push eax
mov ecx, edi
call fcn.1003bd20
push 0x3d
mov ecx, edi
call fcn.1003bd20
push 0x3d
mov ecx, edi
call fcn.1003bd20
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10091714
add esp, 0x11c
ret
Function at 0x1005d100
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 4]
fld qword [ecx]
sub esp, 0x24
lea eax, [esp]
push eax
sub esp, 8
fstp qword [esp]
call fcn.1005ced0
add esp, 0xc
test al, al
je 0x1005d178
push esi
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.100788f0
movzx edx, word [esp + 0x18]
movzx eax, word [esp + 0x14]
movzx ecx, word [esp + 0x1c]
mov word [esi], dx
movzx edx, word [esp + 0x10]
mov word [esi + 2], ax
movzx eax, word [esp + 0xc]
mov word [esi + 4], cx
movzx ecx, word [esp + 8]
mov word [esi + 6], dx
movzx edx, word [esp + 4]
mov word [esi + 8], ax
mov word [esi + 0xa], cx
mov word [esi + 0xc], dx
mov word [esi + 0xe], 0
mov byte [esi + 0x10], 1
pop esi
add esp, 0x24
ret
mov ecx, dword [esp + 0x2c]
add esp, 0x24
jmp fcn.100792d0

Function at 0x10063470
Capabilities:
Hash data with md5

Disassembly:
mov eax, ecx
xor ecx, ecx
mov dword [eax], vtable.Md5.0
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 4], 0x67452301
mov dword [eax + 8], 0xefcdab89
mov dword [eax + 0xc], 0x98badcfe
mov dword [eax + 0x10], 0x10325476
ret

Function at 0x100636d0
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0xc]
push eax
push ecx
mov ecx, esi
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
call fcn.100634d0
mov edx, dword [esp + 0x10]
push edx
mov ecx, esi
call fcn.100635a0
pop esi
ret 0xc
Function at 0x10065c50
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
push esi
xor eax, eax
cmp dword [esp + 0x14], eax
push edi
mov esi, ecx
jg 0x10065c6f
jl 0x10065c67
cmp dword [esp + 0x14], eax
jae 0x10065c6f
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov edi, dword [esi + 0x30]
push ebx
mov ebx, dword [esi + 0x2c]
push ebp
mov ebp, dword [esi + 0x34]
push ebx
mov byte [esp + 0x17], al
mov eax, dword [esi + 0x28]
push eax
push ebp
push edi
call fcn.100659a0
mov dword [esp + 0x14], eax
mov al, byte [esi + 0x40]
test al, al
jne 0x10065cbb
add edi, dword [esp + 0x1c]
adc ebp, dword [esp + 0x20]
mov dword [esi + 0x30], edi
mov ecx, ebp
cmp ecx, ebx
mov dword [esi + 0x34], ebp
jl 0x10065cbb
jg 0x10065cb2
mov edx, edi
cmp edx, dword [esi + 0x28]
jbe 0x10065cbb
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], ebx
xor edi, edi
test al, al
jne 0x10065cd7
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x30]
push ebx
push eax
mov eax, dword [esi + 0x34]
push eax
push ecx
mov ecx, esi
call fcn.100659a0
mov edi, eax
mov eax, dword [esi + 0x18]
test eax, eax
pop ebp
pop ebx
je 0x10065d67
cmp byte [esi + 0x40], 0
jne 0x10065d1d
cmp edi, dword [esp + 0xc]
jbe 0x10065d1d
cmp edi, dword [esi + 0x14]
jbe 0x10065d1d
call sub.KERNEL32.dll_GetTickCount
cmp byte [esi + 0x42], 0
mov dword [esi + 0x20], eax
je 0x10065d08
cmp edi, 0x64
je 0x10065d5c
mov ecx, dword [esi + 0x18]
lea eax, [esp + 0xb]
mov dword [esi + 0x14], edi
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push eax
push edi
call edx
jmp 0x10065d5c
test eax, eax
je 0x10065d67
cmp byte [esi + 0x41], 0
jne 0x10065d67
cmp dword [esi + 0x38], 0
je 0x10065d67
call sub.KERNEL32.dll_GetTickCount
mov edx, dword [esi + 0x38]
mov ecx, eax
sub ecx, dword [esi + 0x20]
test edx, edx
jne 0x10065d43
mov edx, 0x12c
cmp ecx, edx
jbe 0x10065d67
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x3c], eax
mov dword [esi + 0x20], eax
mov eax, dword [ecx]
mov eax, dword [eax + 8]
lea edx, [esp + 0xb]
push edx
call eax
cmp byte [esp + 0xb], 0
je 0x10065d67
mov byte [esi + 0x1c], 1
mov al, byte [esi + 0x1c]
pop edi
pop esi
add esp, 8
ret 8
Function at 0x10070f20
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
lea eax, [edi + 0x24]
mov esi, 0x10
lea ecx, [ecx]
mov dl, byte [eax + 0x20]
mov cl, byte [eax - 0x10]
xor cl, dl
mov byte [eax], dl
mov byte [eax + 0x10], cl
add eax, 1
sub esi, 1
jne 0x10070f30
xor dl, dl
xor ebx, ebx
lea esi, [edi + 0x15]
lea esp, [esp]
mov eax, esi
mov ecx, 8
jmp 0x10070f60
movzx edx, dl
movzx edx, byte [edx + str._.C]
xor byte [eax - 1], dl
movzx edx, byte [eax - 1]
movzx edx, byte [edx + str._.C]
xor byte [eax], dl
movzx edx, byte [eax]
movzx edx, byte [edx + str._.C]
xor byte [eax + 1], dl
movzx edx, byte [eax + 1]
movzx edx, byte [edx + str._.C]
xor byte [eax + 2], dl
movzx edx, byte [eax + 2]
movzx edx, byte [edx + str._.C]
xor byte [eax + 3], dl
movzx edx, byte [eax + 3]
movzx edx, byte [edx + str._.C]
xor byte [eax + 4], dl
mov dl, byte [eax + 4]
add eax, 6
sub ecx, 1
jne 0x10070f60
add dl, bl
add ebx, 1
cmp ebx, 0x12
jl 0x10070f50
pop edi
pop esi
pop ebx
ret

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

Disassembly:
mov dl, byte [ecx + 0x13]
push esi
lea eax, [ecx + 4]
mov esi, 4
lea esp, [esp]
movzx ecx, byte [eax + 0x40]
movzx edx, dl
xor ecx, edx
movzx ecx, byte [ecx + str._.C]
xor byte [eax], cl
mov cl, byte [eax]
movzx edx, byte [eax + 0x41]
movzx ecx, cl
xor edx, ecx
movzx edx, byte [edx + str._.C]
xor byte [eax + 1], dl
mov cl, byte [eax + 1]
movzx edx, byte [eax + 0x42]
movzx ecx, cl
xor edx, ecx
movzx edx, byte [edx + str._.C]
xor byte [eax + 2], dl
mov cl, byte [eax + 2]
movzx edx, byte [eax + 0x43]
movzx ecx, cl
xor edx, ecx
movzx edx, byte [edx + str._.C]
xor byte [eax + 3], dl
mov dl, byte [eax + 3]
add eax, 4
sub esi, 1
jne 0x10070fe0
pop esi
ret
Function at 0x10073314
Capabilities:
Hash data using ripemd320
Hash data using sha1

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
push 0x4e28
mov dword [esi + 0x54], 0x67452301
mov dword [esi + 0x58], 0xefcdab89
mov dword [esi + 0x5c], 0x98badcfe
mov dword [esi + 0x60], 0x10325476
mov dword [esi + 0x64], 0xc3d2e1f0
mov dword [esi + 0x68], 0x76543210
mov dword [esi + 0x6c], 0xfedcba98
mov dword [esi + 0x70], 0x89abcdef
mov dword [esi + 0x74], 0x1234567
mov dword [esi + 0x78], 0x3c2d1e0f
mov dword [esi + 0x50], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.10031270
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x10073387
pop edi
pop esi
xor al, al
pop ebx
add esp, 8
ret 0x14
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], ebx
mov byte [esp + 0xf], 1
call fcn.100897d0
test al, al
jne 0x10073427
mov ebx, dword [esp + 0x20]
push ebp
mov ebp, dword [esp + 0x20]
lea ebx, [ebx]
mov ecx, dword [esp + 0x1c]
push ebx
push ebp
lea eax, [esp + 0x1c]
push eax
push 0x4e20
push edi
call fcn.10089fe0
test al, al
je 0x10073426
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10073404
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x100733e5
push eax
push edi
call fcn.1001f7a0
mov eax, dword [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.10072e60
test ebp, ebp
je 0x10073404
mov ecx, dword [esp + 0x14]
push 0
push ecx
mov ecx, ebp
call fcn.10065c50
test al, al
jne 0x10073413
mov ecx, dword [esp + 0x1c]
call fcn.100897d0
test al, al
je 0x100733b0
jmp 0x10073426
mov edx, dword [ebx]
mov eax, dword [edx + 0x14]
push str.RIPEMD128_aborted_by_application
mov ecx, ebx
call eax
mov byte [esp + 0x13], 0
pop ebp
push edi
call fcn.10093ed5
mov ecx, dword [esp + 0x28]
add esp, 4
push ecx
mov ecx, esi
call fcn.10072f10
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
add esp, 8
ret 0x14
Function at 0x10074754
Capabilities:
Hash data using ripemd256
Hash data with md5

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
push 0x4e28
mov dword [esi + 0x54], 0x67452301
mov dword [esi + 0x58], 0xefcdab89
mov dword [esi + 0x5c], 0x98badcfe
mov dword [esi + 0x60], 0x10325476
mov dword [esi + 0x64], 0x76543210
mov dword [esi + 0x68], 0xfedcba98
mov dword [esi + 0x6c], 0x89abcdef
mov dword [esi + 0x70], 0x1234567
mov dword [esi + 0x50], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.10031270
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x100747b9
pop edi
pop esi
xor al, al
pop ebx
add esp, 8
ret 0x14
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], ebx
mov byte [esp + 0xf], 1
call fcn.100897d0
test al, al
jne 0x10074857
mov ebx, dword [esp + 0x20]
push ebp
mov ebp, dword [esp + 0x20]
lea esp, [esp]
mov ecx, dword [esp + 0x1c]
push ebx
push ebp
lea eax, [esp + 0x1c]
push eax
push 0x4e20
push edi
call fcn.10089fe0
test al, al
je 0x10074856
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10074834
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x10074815
push eax
push edi
call fcn.1001f7a0
mov eax, dword [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.10074310
test ebp, ebp
je 0x10074834
mov ecx, dword [esp + 0x14]
push 0
push ecx
mov ecx, ebp
call fcn.10065c50
test al, al
jne 0x10074843
mov ecx, dword [esp + 0x1c]
call fcn.100897d0
test al, al
je 0x100747e0
jmp 0x10074856
mov edx, dword [ebx]
mov eax, dword [edx + 0x14]
push str.RIPEMD128_aborted_by_application
mov ecx, ebx
call eax
mov byte [esp + 0x13], 0
pop ebp
push edi
call fcn.10093ed5
mov ecx, dword [esp + 0x28]
add esp, 4
push ecx
mov ecx, esi
call fcn.100743c0
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
add esp, 8
ret 0x14
Function at 0x10083750
Capabilities:
Encode data using xor

Disassembly:
mov dl, byte [eax + 0x34]
push ebx
push esi
xor esi, esi
cmp dword [eax + 0x38], esi
mov ebx, 1
jle 0x10083796
push ebp
push edi
movzx edi, dl
jmp 0x10083770
mov ecx, dword [eax + 0x260]
mov ebp, ecx
shr ebp, 0x18
xor ebp, edi
shl ecx, 8
xor ecx, dword [ebp*4 + 0x10124898]
add esi, ebx
mov dword [eax + 0x260], ecx
cmp esi, dword [eax + 0x38]
jl 0x10083770
pop edi
pop ebp
mov ecx, dword [eax + 0x34]
mov byte [eax + ecx + 0x58], bl
mov esi, dword [eax + 0x38]
mov ecx, esi
sub ecx, ebx
je 0x1008381e
sub ecx, ebx
je 0x10083803
sub ecx, ebx
je 0x100837f7
mov byte [esi + eax + 0x54], bl
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov dl, byte [eax + 0x38]
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
sub dl, 4
mov byte [esi + ecx], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
ret
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
ret
Function at 0x1008df20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100c8253
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101252d0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.FileDataSource.0
cmp byte [esi + 0x28], 0
mov dword [esp + 0x14], 1
je 0x1008df6b
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x1008df6b
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
lea ecx, [esi + 0x30]
mov dword [esi + 0x2c], 0
mov byte [esp + 0x14], 0
call fcn.100377e0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.100898d0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x1008ed20
Capabilities:
Hash data using crc32b

Disassembly:
cmp byte [0x1012bb60], 0
jne 0x1008ee82
cmp byte [0x1012bb61], 0
jne 0x1008ee7a
cmp dword [0x1012bb64], 0
jne 0x1008ee82
push ebp
push esi
push edi
push 0x400
mov byte [0x1012bb61], 1
call fcn.10094f37
add esp, 4
mov edi, eax
xor esi, esi
push 8
push esi
call fcn.1008e900
shl eax, 0x18
mov ecx, eax
and ecx, 0x80000000
add esp, 8
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
lea edx, [eax + eax]
and ecx, 0x4c11db7
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
lea edx, [eax + eax]
and ecx, 0x4c11db7
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov dword [edi + esi*4], eax
xor edx, edx
mov ecx, 0x1f
test al, 1
je 0x1008ee32
mov ebp, 1
shl ebp, cl
or edx, ebp
sub ecx, 1
shr eax, 1
cmp ecx, 0xffffffff
jg 0x1008ee25
mov dword [edi + esi*4], edx
add esi, 1
cmp esi, 0xff
jbe 0x1008ed62
cmp dword [0x1012bb64], 0
jne 0x1008ee5f
mov dword [0x1012bb64], edi
jmp 0x1008ee68
push edi
call fcn.10093ed5
add esp, 4
pop edi
pop esi
mov byte [0x1012bb60], 1
mov byte [0x1012bb61], 0
pop ebp
ret
push 1
call fcn.1004f690
pop ecx
ret

Function at 0x10091714
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101252d0]
jne 0x1009171e
repz ret
jmp fcn.10099510
Function at 0x100b0a01
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1009b06c
and dword [ebp - 4], 0
cmp dword [0x1012c5d8], 0
mov ebx, eax
jne 0x100b0ab2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100b0b63
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10105fd8
push edi
call esi
test eax, eax
je 0x100b0b63
push eax
call fcn.1009affa
mov dword [esp], 0x10105fc8
push edi
mov dword [0x1012c5d8], eax
call esi
push eax
call fcn.1009affa
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1012c5dc], eax
call esi
push eax
call fcn.1009affa
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1012c5e0], eax
call esi
push eax
call fcn.1009affa
pop ecx
mov dword [0x1012c5e8], eax
test eax, eax
je 0x100b0ab2
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1009affa
pop ecx
mov dword [0x1012c5e4], eax
mov eax, dword [0x1012c5e4]
cmp eax, ebx
je 0x100b0b0a
cmp dword [0x1012c5e8], ebx
je 0x100b0b0a
push eax
call fcn.1009b075
push dword [0x1012c5e8]
mov esi, eax
call fcn.1009b075
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100b0b0a
test edi, edi
je 0x100b0b0a
call esi
test eax, eax
je 0x100b0b01
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100b0b01
test byte [ebp - 0xc], 1
jne 0x100b0b0a
or dword [ebp + 0x10], 0x200000
jmp 0x100b0b43
mov eax, dword [0x1012c5dc]
cmp eax, ebx
je 0x100b0b43
push eax
call fcn.1009b075
pop ecx
test eax, eax
je 0x100b0b43
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100b0b43
mov eax, dword [0x1012c5e0]
cmp eax, ebx
je 0x100b0b43
push eax
call fcn.1009b075
pop ecx
test eax, eax
je 0x100b0b43
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1012c5d8]
call fcn.1009b075
pop ecx
test eax, eax
je 0x100b0b63
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100b0b65
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100bde40
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x100bdeb1
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x100bdeb1
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x100bde9a
jmp 0x100bdeb1
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x100be580
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x1012c7b8], 0
je 0x100be599
mov eax, dword [0x1012c7b8]
jmp 0x100be73b
mov dword [0x1012c7b8], 0x1012c790
push 0x28
push 0
push 0x1012c790
call fcn.10095ce0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x1012c790], eax
push str.imagehlp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1012c794], eax
cmp dword [0x1012c794], 0
jne 0x100be5df
xor eax, eax
jmp 0x100be73b
push str.ImagehlpApiVersionEx
mov eax, dword [0x1012c794]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1012c798], eax
push str.SymInitialize
mov ecx, dword [0x1012c794]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1012c79c], eax
push str.SymSetOptions
mov edx, dword [0x1012c794]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1012c7a0], eax
push str.SymGetOptions
mov eax, dword [0x1012c794]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1012c7a4], eax
push str.SymLoadModule
mov ecx, dword [0x1012c794]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1012c7a8], eax
push str.SymGetModuleInfo
mov edx, dword [0x1012c794]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1012c7ac], eax
push str.SymGetSymFromName
mov eax, dword [0x1012c794]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1012c7b0], eax
push str.BindImage
mov ecx, dword [0x1012c794]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1012c7b4], eax
push 8
push 0
lea edx, [ebp - 8]
push edx
call fcn.10095ce0
add esp, 0xc
mov word [ebp - 8], 7
cmp dword [0x1012c798], 0
je 0x100be6bd
lea eax, [ebp - 8]
push eax
call dword [0x1012c798]
cmp dword [0x1012c798], 0
je 0x100be6d4
mov ecx, dword [ebp - 8]
and ecx, 0xffff
cmp ecx, 7
jge 0x100be6ef
mov edx, dword [0x1012c794]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x1012c794], 0
xor eax, eax
jmp 0x100be73b
cmp dword [0x1012c79c], 0
je 0x100be708
push 0
push 0
mov eax, dword [0x1012c790]
push eax
call dword [0x1012c79c]
cmp dword [0x1012c7a4], 0
je 0x100be736
cmp dword [0x1012c7a0], 0
je 0x100be736
call dword [0x1012c7a4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
and ecx, 7
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [0x1012c7a0]
mov eax, dword [0x1012c7b8]
mov esp, ebp
pop ebp
ret