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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x1001591f
pop dword [ebp - 0xc]
mov eax, 0x244bad10
add eax, 0xebb5ac0f
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x94574434
add dword [ebp - 0x1c], 0xb9fb0117
mov dword [ebp - 0x18], 0xc3962f73
add dword [ebp - 0x18], 0x6e9d1cd2
mov dword [ebp - 0x14], 0x9aff993f
add dword [ebp - 0x14], 0xb14caaef
mov dword [ebp - 0x10], 0x79fe1e2e
sub dword [ebp - 0x10], 0x79fe1e2e
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xdb1cfa98
add dword [ebp - 0x1c], 0x99556ebe
mov dword [ebp - 0x18], 0xbe6323df
sub dword [ebp - 0x18], 0x7cf6c26a
mov dword [ebp - 0x14], 0x5c80a8df
add dword [ebp - 0x14], 0x6eec38d
mov dword [ebp - 0x10], 0xf6bcd97c
sub dword [ebp - 0x10], 0xf6bcd97c
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x38d8f
push 0
call eax
mov ecx, 0x31264fff
sub ecx, 0x31261daa
xor edx, edx
add edx, eax
mov ebx, 0x1002b000
add ebx, dword [ebp - 0xc]
mov esi, 0x446f6eb
sub esi, 0x72de0831
xor dword [ebp - 4], 0x2515c1b8
mov edi, dword [ebx]
add dword [ebp - 4], 0x4d1abb2b
sub edi, esi
add dword [ebp - 4], ecx
mov dword [edx], edi
sub dword [ebp - 8], eax
add edx, 0x9250147a
add edx, 0x6dafeb8a
add ebx, 4
loop 0x10015a33
add eax, 0x10ae60c3
add eax, 0xef525b64
mov ebx, eax
add eax, 0x98e4516
sub eax, 0x98e4511
mov ecx, 0xb9169cda
sub ecx, 0xa9169cda
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x1000a644
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000a6e1
push ebx
push esi
call fcn.1000a60d
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000a556
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000a68e
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000a6e0
push edi
push eax
call fcn.10007450
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000a6ae
call fcn.10007416
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000a6df
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000a556
add esp, 0x20
test eax, eax
jne 0x1000a6cd
push edi
call fcn.10007416
jmp 0x1000a6d5
push ebx
call fcn.10007416
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1000a94c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10014bc0
push 0x10014bb8
push str.FlsAlloc
push 0x1e
call fcn.1000a86a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000a980
push dword [ebp + 8]
mov ecx, esi
call dword [0x10013108]
call esi
jmp 0x1000a986
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000a9ca
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10014bd0
push 0x10014bc8
push str.FlsGetValue
push 0x20
call fcn.1000a86a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000aa01
push dword [ebp + 8]
mov ecx, esi
call dword [0x10013108]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x100120b0
Capabilities:
Parse pe header

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

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x43dc40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x421015
lea edi, [esi - 0x20015]
push edi
or ebp, 0xffffffff
jmp 0x43dc62
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43dc69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43dc58
mov eax, 1
add ebx, ebx
jne 0x43dc7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43dc70
jne 0x43dc8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43dc70
xor ecx, ecx
sub eax, 3
jb 0x43dca0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43dd12
mov ebp, eax
add ebx, ebx
jne 0x43dcab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x43dcb8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43dcdc
inc ecx
add ebx, ebx
jne 0x43dcc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43dcbd
jne 0x43dcd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43dcbd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43dcfc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43dced
jmp 0x43dc5e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43dcfc
add edi, ecx
jmp 0x43dc5e
pop esi
mov edi, esi
mov ecx, 0x237
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43dd1a
cmp byte [edi], 5
jne 0x43dd1a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x43dd1f
lea edi, [esi + 0x3b000]
mov eax, dword [edi]
or eax, eax
je 0x43dd8e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x418f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x41964]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43dd4c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4196c]
or eax, eax
je 0x43dd88
mov dword [ebx], eax
add ebx, 4
jmp 0x43dd69
call dword [esi + 0x41968]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x43ddbf
cmp al, 0xef
ja 0x43ddb2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x43dd94
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x43dda1
mov ebp, dword [esi + 0x41970]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x3de1a]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x43de0b
sub esp, 0xffffff80
jmp 0x4013e0
Function at 0x415f53
Capabilities:
Parse pe header

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

Function at 0x428360
Capabilities:
Parse pe header

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

Function at 0x401000
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
jmp 0x403a1c
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405220], eax
mov dword [0x4051a8], 0x403098
mov dword [0x4051a4], 2
jmp 0x403a4c
mov dword [0x4051ac], 0
mov dword [0x4051b0], 0
mov dword [0x4051a0], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051b4], eax
mov dword [0x4051c8], 0x40426e
mov dword [0x4051c0], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051b8], eax
mov dword [0x4051cc], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051bc], eax
push 0x4051a0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.justam
push 0x40426e
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405218], eax
push 5
push dword [0x405218]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405218]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x403b1f
push 0
push 0
push 0
push 0x4051d0
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x403b4c
push 0x4051d0
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x4051d0
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x403b1f
mov eax, dword [0x4051d8]
jmp 0x403b59
call 0x402be1
ret
Function at 0x101886ee
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10203210]
jne 0x101886f8
repz ret
jmp fcn.1018960c

Function at 0x1018a80b
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.10187aa4
and dword [ebp - 4], 0
cmp dword [0x1020495c], 0
mov ebx, eax
jne 0x1018a8bc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1018a96d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1018a96d
push eax
call fcn.10187a32
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1020495c], eax
call esi
push eax
call fcn.10187a32
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10204960], eax
call esi
push eax
call fcn.10187a32
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10204964], eax
call esi
push eax
call fcn.10187a32
pop ecx
mov dword [0x1020496c], eax
test eax, eax
je 0x1018a8bc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10187a32
pop ecx
mov dword [0x10204968], eax
mov eax, dword [0x10204968]
cmp eax, ebx
je 0x1018a914
cmp dword [0x1020496c], ebx
je 0x1018a914
push eax
call fcn.10187aad
push dword [0x1020496c]
mov esi, eax
call fcn.10187aad
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1018a914
test edi, edi
je 0x1018a914
call esi
test eax, eax
je 0x1018a90b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1018a90b
test byte [ebp - 0xc], 1
jne 0x1018a914
or dword [ebp + 0x10], 0x200000
jmp 0x1018a94d
mov eax, dword [0x10204960]
cmp eax, ebx
je 0x1018a94d
push eax
call fcn.10187aad
pop ecx
test eax, eax
je 0x1018a94d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1018a94d
mov eax, dword [0x10204964]
cmp eax, ebx
je 0x1018a94d
push eax
call fcn.10187aad
pop ecx
test eax, eax
je 0x1018a94d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1020495c]
call fcn.10187aad
pop ecx
test eax, eax
je 0x1018a96d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1018a96f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1018b94c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.1018c967
xor ecx, ecx
mov edx, eax
mov esi, dword [0x10202a58]
add esi, 0x1e9f
mov dword [0x10202a5c], esi
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1018b99a
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x10202a58], 0x1ee2
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x1018bab9
jmp 0x1018ba10
mov al, byte [ebp - 0x31]
test al, 1
jne 0x1018ba96
jmp 0x1018ba70
mov eax, dword [ebp - 0x38]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x31], cl
je 0x1018b9d5
jmp 0x1018ba3e
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edx
jmp 0x1018b9e5
mov al, byte [ebp - 0x41]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x40]
add edx, 1
mov ah, byte [ebp - 0x31]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x38], edx
jne 0x1018b9e5
jmp 0x1018b9d5
xor eax, eax
mov ecx, dword [ebp - 0x50]
add ecx, 2
mov edx, dword [ebp - 0x54]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x30], eax
jb 0x1018ba22
jmp 0x1018bab9
mov eax, dword [ebp - 0x50]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov dword [0x10202a58], 0xe82
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x30]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1018bb96
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x10202a58], 0x1094
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x1018bbf8
lea eax, [ebp - 0x24]
mov dword [0x10202a5c], 0x2682
mov dword [0x10202a58], 0x1830
mov dword [ebp - 0x34], eax
call fcn.1018badb
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1018b81f
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x1018bccc
jmp 0x1018bc24
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1019a906]
mov dh, byte [eax + 0x1019a8d7]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
je 0x1018bbba
jmp 0x1018bbf8
mov eax, dword [ebp - 0x38]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x10202a58], 0x1666
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.1018c495
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x20], ecx
mov dword [0x10202a5c], 0x225e
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 4], ecx
mov dword [0x10202a58], 0x6c0
add ecx, 0x14d5
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x1018bcc3
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x1018bf0f
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [0x10202a5c], 0x350
mov dword [ebp - 4], 0
mov dword [0x10202a58], 0x1212
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1018bfad
mov eax, dword [ebp - 0x14]
mov dword [0x10202a5c], 0x17f8
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
je 0x1018bfdf
jmp 0x1018c03d
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x1018c03d
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0xe], 0x6c
jne 0x1018c03d
mov eax, 1
mov dword [0x10202a5c], 0xeaf
mov dword [ebp - 0x1c], eax
jmp 0x1018c04c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], edx
je 0x1018bf4f
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
jl 0x1018bfad
jmp 0x1018bf4f
mov dword [0x10202a58], 0xf85
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x1018c03d
mov dword [0x10202a58], 0x2175
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x1018c03d
mov dword [0x10202a58], 0xb66
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1018c03d
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x1018bf70
xor eax, eax
mov dword [0x10202a58], 0xda6
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add esp, 0x20
pop ebp
ret
Function at 0x1018c70a
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 [0x10202a58], 0x1f4f
mov dword [0x10202a64], 0
mov byte [0x10202a68], 0
mov dword [0x10202a60], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1018c774
xor eax, eax
mov ecx, dword [0x10202a58]
add ecx, 0x1879
mov dword [0x10202a5c], ecx
mov dword [0x10202a60], 0
mov dword [ebp - 0x20], eax
jmp 0x1018c79c
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10202a60]
add eax, 1
mov dword [0x10202a60], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1018c774
jmp 0x1018c751
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x10202a6c], 0
mov edi, dword [0x10202a64]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x10202a6c], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x10202a64], edx
mov dword [0x10202a5c], 0x9a3
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x10202a68], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x10202a68]
mov esi, dword [0x10202a64]
mov byte [ebx + esi], cl
mov esi, dword [0x10202a60]
add esi, 1
mov dword [0x10202a60], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1018c79c
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1018cadd
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x10202a60], 0
mov dword [0x10202a64], 0
mov dword [0x10202a70], 0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x1018cc67
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add eax, 1
mov edi, ecx
add edi, 1
mov dword [0x10202a58], 0x1117
mov dword [ebp - 0x2c], edx
cdq
idiv esi
mov dword [0x10202a60], edx
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x2c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10202a64], edx
mov dword [0x10202a5c], 0x1d4a
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10202a68], cl
mov dword [0x10202a5c], 0xde
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov edx, dword [0x10202a58]
add edx, 0xfffff139
mov dword [0x10202a58], edx
mov cl, byte [0x10202a68]
mov edx, dword [0x10202a64]
mov byte [ebx + edx], cl
mov edx, dword [0x10202a60]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x10202a64]
movzx ecx, byte [ebx + ecx]
add ecx, edx
mov edx, dword [0x10202a5c]
mov esi, edx
add esi, 0xffffed9e
mov dword [0x10202a58], esi
and ecx, 0xff
mov dword [0x10202a70], ecx
add edx, 0xffffd6c7
mov dword [0x10202a5c], edx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov ch, byte [edx + esi]
mov dword [0x10202a58], 0x1c45
xor ch, cl
mov byte [0x10202a74], ch
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov dword [0x10202a5c], 0x1677
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x38], edi
je 0x1018cc67
mov eax, dword [0x10202a64]
mov ecx, dword [0x10202a60]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x1018cb36
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1018cc6f
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov edx, dword [0x10202a58]
add edx, 0x25b9
mov dword [0x10202a58], edx
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1018c162
lea ecx, [0x1018c42c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x80], 0x147600
mov dword [0x10202a5c], 0xae6
mov edx, dword [0x10202a44]
mov dword [esp + 0x30], edx
mov edx, dword [0x10202a48]
mov dword [esp + 0x84], edx
mov edx, dword [0x10202a4c]
mov dword [esp + 0x60], edx
mov edx, dword [0x10202a50]
mov dword [esp + 0x5c], edx
mov edx, dword [0x10202a54]
mov dword [esp + 0x38], edx
mov dword [0x10202a58], 0x6f5
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
je 0x1018cd57
jmp 0x1018cd6b
mov eax, dword [esp + 0x10]
mov dword [esp + 0x78], eax
mov dword [0x10202a5c], 0x2594
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x88], edx
call fcn.1018bf0f
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
je 0x1018cd89
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x1018cd1c
mov dword [0x10202a5c], 0x3ad
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x1018cd0b
lea eax, [esp + 0x30]
mov ecx, dword [0x10202a58]
add ecx, 0x20eb
mov dword [0x10202a58], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1018bb96
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 8], eax
jmp 0x1018cd4f