joyce8/EMBER2024-capa huggingface dataset:
Function at 0x102ce2a1
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x102f6204]
test eax, eax
je 0x102ce2e0
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x102ce2e0
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x102ce2e0
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x102ce2e0
cmp dword [ecx + 0x74], 0xe
jbe 0x102ce2e0
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x102e7090
Capabilities:
Parse pe header

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

Function at 0x10877058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x108771a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1087707e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1087706a
add dl, dl
jne 0x10877089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x108770dc
xor eax, eax
add dl, dl
jne 0x10877096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1087717d
add dl, dl
jne 0x108770a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108770b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108770bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108770c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x108770d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10877075
mov eax, 1
add dl, dl
jne 0x108770ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108770f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x108770e1
sub eax, ebx
mov ebx, 1
jne 0x10877128
mov ecx, 1
add dl, dl
jne 0x1087710e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10877119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10877105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10877075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1087713f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1087714a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10877136
cmp eax, 0x7d00
jae 0x1087716d
cmp eax, 0x500
jb 0x10877168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10877075
cmp eax, 0x7f
ja 0x10877170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10877075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1087719e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10877075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x47e087
Capabilities:
Encode data using xor

Disassembly:
push 0x10
push 0x4be640
call 0xff568d6e
xor byte [ebp - 0x1b], bh
out 0x4b, al
add al, ch
fld xword [esi + ecx - 0x1a82cf01]
xor edi, esi
mov al, 0xff
jne 0x47e08b
mov eax, dword [ebp + 0x10]
invalid

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

Disassembly:
jmp 0x48042d
add edi, 4
xor eax, eax
sub ecx, 1
je 0x480443

Function at 0x492107
Capabilities:
Encode data using xor

Disassembly:
je 0x492127
test dword [edi + 0x74], ecx
mov ch, 0x33
leave
push ecx
push ecx
push ecx
dec eax
push ebp
jne 0x49212e
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
jb 0x492194
or al, ch
or esi, ebx
invalid
sub esi, eax
jne 0x492130
push 2
pop esi
jmp 0x492139
sar esi, 0x1f
and esi, 0xffffff80
invalid
mov eax, esi
salc
pop ebp
ret
invalid
stc
cld
mov esi, dword [esi + 8]
and ecx, dword [ebp - 0x5d]
idiv byte [ebx]
inc ebp
enter 0x458b, 0xc
mov eax, dword [ebp + 0xc]
push esi
xor byte [ebp + 0x18], 0x89
inc ebp
lodsb al, byte [esi]
mov esp, dword [ecx + 0x14]
mov dword [ebp - 0x31], eax
mov dword [ebx - 0x97aa820], esi
jle 0x4921a0
push esi
push eax
sbb byte [ecx + ecx + 0x1e], 0
pop ecx
pop ecx
mov ecx, dword [edi]
loopne 0x492150
invalid
Function at 0x1e7a4680
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.1e7a43c1
sar byte [edi + 0xf], cl
leave
lea eax, [ebp - 0x58]
push eax
call fcn.1e7a43d1
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.1e7a4386
add esp, 0x10
les edx, [eax]
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x1e7a46af
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.1e7a43c1
invalid

Function at 0x1e7a4740
Capabilities:
Contain obfuscated stackstrings

Disassembly:
salc
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.1e7a43d1
push eax
push esi

Function at 0x1e7a4770
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [ebp + 8]
call fcn.1e7a4386
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22

Function at 0x1e7a47c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.1e7a43d1
push eax
push esi
push dword [ebp + 8]
call fcn.1e7a4386
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
Function at 0x1e7a47e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.1e7a43d1
push eax
push esi
push dword [ebp + 8]
call fcn.1e7a4386
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1e7a43c1
xchg edx, eax
shr dword [edx + 0x69], cl
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.1e7a43c1
outsb dx, byte [esi]
mov ebx, 0x858da0d4
jl 0x1e7a48ac
invalid
invalid

Function at 0x1e7a4ad0
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1e7a4a98
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1e7a4ab6
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov dword [ecx + eax], 0x948b0000
invalid
or byte [ecx], al
add byte [eax], al
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
inc ebp
invalid
ja 0x1e7a4b14
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
or al, 0x66
cmp ecx, dword [eax + 6]
or al, 0x66
cmp ecx, dword [eax + 6]
jbe 0x1e7a4a7a
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1e7a4b61
dec eax
je 0x1e7a4b58
pop ss
sub eax, 3
je 0x1e7a4b4f
mov dword [ebp - 4], 0x40
jmp 0x1e7a4b7e
mov dword [ebp - 4], 4
jmp 0x1e7a4b64
mov dword [ebp - 4], 0x20
jmp 0x1e7a4b64
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x1e7a4bb0
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1e7a4b30
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.1e7a43c1
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
Function at 0x1e7a4af0
Capabilities:
Inspect section memory permissions

Disassembly:
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1e7a4afb
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1e7a4b04
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1e7a4b0e
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe sym.pywintypes27.dll_public:_int___thiscall_PyIID::IsEqual_struct__object__

Function at 0x1e7a4c20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc esi
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
invalid

Function at 0x1e7a4c50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [ebp - 0x3a]
test dword [esi + 0x25fffffc], edi

Function at 0x1e7a4c80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec dword [ecx - 0x6737b]
inc edi
test dword [esp + edi*8 - 1], edi
inc dword [eax + eax]
add byte [eax], al
add byte [eax - 0x3335b], al
inc dword [eax]

Function at 0x1e7a4c90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax - 0x3335b], al
inc dword [eax]
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
invalid
call dword [edx]

Function at 0x1e7a4eb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1e7a4386
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.1e7a43c1
add ecx, esi
adc dword [edx - 0x80], 0xfff99ca5
inc dword [eax]
and byte [ebp - 0x663], 0
mov byte [ebp - 0x662], 7
and byte [ebp - 0x661], 0
mov byte [ebp - 0x660], 0xb0
mov byte [ebp - 0x65f], 0x9d
mov byte [ebp - 0x65e], 0x99
mov byte [ebp - 0x65d], 0x88
mov byte [ebp - 0x65c], 0xb9
mov byte [ebp - 0x65b], 0x94
mov byte [ebp - 0x65a], 0x94
mov byte [ebp - 0x659], 0x97
mov byte [ebp - 0x658], 0x9b
mov byte [ebp - 0x657], 0xf8
lea eax, [ebp - 0x664]
push eax
call fcn.1e7a43d1
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1e7a4386
add esp, 0xc
mov dword [ebp - 0x67c], eax
and byte [ebp - 0x524], 0
and byte [ebp - 0x523], 0
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
invalid

Function at 0x1e7a5090
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov esp, 0x1fffffa
cmp dword [ebp - 0x398], 0
je 0x1e7a50b5
cmp dword [ebp - 0x398], 0
je 0x1e7a527f
cmp dword [ebp + 0xc], 1
invalid
Function at 0x1e7a52c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.1e7a439f
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.1e7a43d1
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1e7a4386
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.1e7a43c1
xor dword [ebx + 0x2d], esi
push 0x104
lea eax, [ebp - 0x12c]
push eax
call dword [ebp - 0x3d4]
invalid

Function at 0x1e7a5850
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec edi
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.1e7a43c1
and al, 0xab
leave
add cl, byte [ebp - 0x72b7b]
call dword [eax - 0x18]
pop ss
jmp 0x1e7a58b8
invalid

Function at 0x1e7a6430
Capabilities:
Contain obfuscated stackstrings

Disassembly:
je 0x1e7a6457
lea eax, [ebp - 0x714]
push eax
call fcn.1e7a43d1
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.1e7a4386
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x1e7a6462
jmp 0x1e7a6467
jmp 0x1e7a5d63

Function at 0x1e7a7500
Capabilities:
Compare security identifiers

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 4], 0x1e7ba2c0
je 0x1e7a751c
mov eax, dword [sym.imp.python27.dll__Py_NotImplementedStruct]
inc dword [eax]
mov eax, dword [sym.imp.python27.dll__Py_NotImplementedStruct]
ret 8
mov eax, dword [eax + 8]
mov ecx, dword [ecx + 8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov ecx, dword [esp + 8]
cmp ecx, 2
jne 0x1e7a7541
test eax, eax
je 0x1e7a754a
mov eax, dword [sym.imp.python27.dll__Py_TrueStruct]
inc dword [eax]
ret 8
cmp ecx, 3
jne 0x1e7a7554
test eax, eax
je 0x1e7a7537
mov eax, dword [sym.imp.python27.dll__Py_ZeroStruct]
inc dword [eax]
ret 8
mov eax, dword [sym.imp.python27.dll__Py_NotImplementedStruct]
inc dword [eax]
ret 8
Function at 0x1013eeee
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102c4198]
jne 0x1013eef8
repz ret
jmp fcn.10140e79

Function at 0x1014420f
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.1013fef6
and dword [ebp - 4], 0
cmp dword [0x102c6968], 0
mov ebx, eax
jne 0x101442c0
push 0x10293208
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10144371
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x102931fc
push edi
call esi
test eax, eax
je 0x10144371
push eax
call fcn.1013fe84
mov dword [esp], 0x102931ec
push edi
mov dword [0x102c6968], eax
call esi
push eax
call fcn.1013fe84
mov dword [esp], 0x102931d8
push edi
mov dword [0x102c696c], eax
call esi
push eax
call fcn.1013fe84
mov dword [esp], 0x102931bc
push edi
mov dword [0x102c6970], eax
call esi
push eax
call fcn.1013fe84
pop ecx
mov dword [0x102c6978], eax
test eax, eax
je 0x101442c0
push 0x102931a4
push edi
call esi
push eax
call fcn.1013fe84
pop ecx
mov dword [0x102c6974], eax
mov eax, dword [0x102c6974]
cmp eax, ebx
je 0x10144318
cmp dword [0x102c6978], ebx
je 0x10144318
push eax
call fcn.1013feff
push dword [0x102c6978]
mov esi, eax
call fcn.1013feff
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10144318
test edi, edi
je 0x10144318
call esi
test eax, eax
je 0x1014430f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1014430f
test byte [ebp - 0xc], 1
jne 0x10144318
or dword [ebp + 0x10], 0x200000
jmp 0x10144351
mov eax, dword [0x102c696c]
cmp eax, ebx
je 0x10144351
push eax
call fcn.1013feff
pop ecx
test eax, eax
je 0x10144351
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10144351
mov eax, dword [0x102c6970]
cmp eax, ebx
je 0x10144351
push eax
call fcn.1013feff
pop ecx
test eax, eax
je 0x10144351
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x102c6968]
call fcn.1013feff
pop ecx
test eax, eax
je 0x10144371
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10144373
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10145197
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa0
mov eax, dword [0x102c4134]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffdcf
mov dword [0x102c4134], eax
call fcn.1000108e
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x28], ecx
je 0x10145256
jmp 0x1014527f
mov eax, dword [esp + 0x24]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x20], eax
jmp 0x101452f8
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x48], ecx
mov dword [0x102c4138], 0x2382
mov edx, dword [esp + 0x1c]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x68], esi
mov dword [0x102c4134], 0x17e8
mov esi, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.10145e0d
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x102c4134]
add ecx, 0xfffff71a
mov dword [0x102c4134], ecx
mov dword [esp + 0x18], eax
jmp 0x10145331
lea eax, [esp + 0x40]
mov dword [0x102c4138], 0xcff
mov dword [esp + 0x14], eax
call fcn.10145a73
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x18], ecx
je 0x10145289
jmp 0x10145331
mov eax, dword [esp + 0x28]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.10144edf
lea ecx, [0x1014644b]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x64], edx
mov dword [esp + 0x90], 0x127200
mov edx, dword [0x102c4120]
mov dword [esp + 0x7c], edx
mov edx, dword [0x102c4124]
mov dword [esp + 0x84], edx
mov edx, dword [0x102c4128]
mov dword [esp + 0x44], edx
mov edx, dword [0x102c412c]
mov dword [esp + 0x78], edx
mov edx, dword [0x102c4130]
mov dword [esp + 0x88], edx
mov dword [0x102c4134], 0xfffff70e
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x20]
cmp word [eax], 0x5a4d
mov dword [esp + 0x24], eax
jne 0x101451d6
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x3c]
add eax, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0xc]
cmp dword [eax], 0x4550
je 0x101451ed
jmp 0x101451d6
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
jmp 0x1014527f
Function at 0x1014553e
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x102c4140], 0
mov byte [0x102c4144], 0
mov dword [0x102c4134], 0x2002
mov dword [0x102c4138], 0xf6c
mov dword [0x102c413c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10145654
xor eax, eax
mov dword [0x102c4138], 0x1a2c
mov dword [0x102c413c], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x102c4148], 0
mov edx, dword [0x102c4140]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x102c4148], edi
mov dword [0x102c4138], 0x232c
mov eax, edi
cdq
idiv ecx
mov dword [0x102c4140], edx
mov dword [0x102c4134], 0x347
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x102c4144], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x102c4144]
mov edx, dword [0x102c4140]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x102c413c]
add edx, 1
mov dword [0x102c413c], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x101455ab
jmp 0x10145689
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x102c4134], 0x142c
mov eax, dword [0x102c413c]
add eax, 1
mov dword [0x102c413c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10145654
jmp 0x10145592
mov eax, dword [0x102c4138]
add eax, 0xffffeb75
mov dword [0x102c4138], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret