joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b3d90
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4b3e32
cmp dword [ebx + 0x94], 0
jne 0x4b3e2c
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4b3cdc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4b3e2c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4b3df2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4b3e2c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0043e288
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4b3e01
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4b4050
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4d3254]
cmp dword [eax + 0x170], 0
je 0x4b41b5
test bl, bl
jne 0x4b4103
cmp dword [esi + 0x9c], 0
jne 0x4b40f8
mov eax, esi
call fcn.004b6ed0
push eax
push 0x4b3f5c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4b40c9
mov eax, dword [0x4d3254]
cmp byte [eax + 0xd3], 0
je 0x4b40c9
mov eax, dword [esi + 0xd8]
call fcn.004082e4
mov edi, eax
cmp edi, 0
jl 0x4b40c9
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4b40b2
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b40f8
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043e288
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b40d8
inc dword [esi + 0x9c]
jmp 0x4b41b5
cmp dword [esi + 0x9c], 0
jle 0x4b41b5
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4b41b5
cmp dword [esi + 0x44], 0
je 0x4b4160
mov eax, dword [0x4d3254]
cmp byte [eax + 0xd3], 0
je 0x4b4160
mov eax, dword [esi + 0xd8]
call fcn.004082e4
mov edi, eax
cmp edi, 0
jl 0x4b4160
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4b4149
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b418f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043e288
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b416f
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4a73e0]
call fcn.004084a4
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4b4df8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4b4e63
cmp byte [ebx + 0xd3], 0
jne 0x4b4e63
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406ad4
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4b4e50
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4b4e70
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406d2c
jmp 0x4b4e70
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406d2c
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4b6638
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4b66a6
mov eax, esi
call fcn.00480c90
test al, al
je 0x4b66a6
mov eax, dword [ebx + 0x84]
call fcn.00480910
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4b66a6
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4b669a
push 0
mov eax, dword [ebx + 0x84]
call fcn.00480910
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004778e0
jmp 0x4b66a6
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004b6470
pop esi
pop ebx
ret
Function at 0x4b7dd0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x4271c4]
call fcn.004079b0
xor eax, eax
push ebp
push 0x4b7f1a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4ccf58], 0
jne 0x4b7e24
mov ecx, dword [0x4cd0e4]
mov dl, 1
mov eax, dword [0x41638c]
call fcn.00421368
call fcn.00406070
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.004048e4
mov eax, ebx
call fcn.00407170
mov dword [ebp - 0x20], eax
push esi
mov esi, 0x4b7f28
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00409a5c
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x4b7e6b
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x4b7ec0
mov dword [ebp - 0x14], 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x4b7eb9
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.00407378
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x54]
mov ecx, 0x10
call fcn.0040733c
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.0041c204
test eax, eax
jne 0x4b7eb9
mov ebx, 0x15
jmp 0x4b7ec5
mov ebx, 0x10
jmp 0x4b7ec5
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
push esi
call dword [0x4ccf58]
call fcn.004b7c3c
mov eax, dword [ebp - 4]
call fcn.004b7c3c
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00409a74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7f21
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.004069cc
lea eax, [ebp - 0xc]
mov edx, dword [0x4271c4]
call fcn.00407a88
ret
Function at 0x4bc28c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
test dl, dl
je 0x4bc2a4
add esp, 0xfffffff0
call fcn.00405430
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x4bc3be
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
call fcn.004043ac
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
dec ebx
test ebx, ebx
jl 0x4bc3a8
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.004b7c3c
xor eax, eax
push ebp
push 0x4bc395
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.004b7c3c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea ebx, [eax + edx*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 4]
call fcn.00407378
jmp 0x4bc366
lea eax, [ebx + 4]
mov ecx, 1
mov edx, 1
call fcn.004076a4
mov eax, dword [ebx + 4]
call fcn.00406e10
dec eax
jle 0x4bc37a
mov eax, dword [ebx + 4]
cmp word [eax], 0x5f
je 0x4bc354
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc39c
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc3c5
lea eax, [ebp - 4]
call fcn.004069b4
ret
Function at 0x100015b2
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x100015dd
mov eax, dword [sym.imp.KERNEL32.dll_FreeConsole]
call eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
add eax, 1
cmp eax, 0x374
mov dword [ebp - 0x10], eax
je 0x10001601
jmp 0x100015e8
mov eax, dword [ebp - 4]
xor ecx, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, 0x12
mov dword [ebp - 0xc], eax
xor edx, edx
div ecx
cmp edx, 6
je 0x100015bf
jmp 0x100015c9
mov eax, dword [ebp - 0x14]
cmp eax, 0x5f
jne 0x10001642
mov eax, esp
mov dword [eax + 0xc], 6
mov dword [eax + 8], 0x7fd
mov dword [eax + 4], 0
mov dword [eax], 0xa89057
mov eax, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
call eax
sub esp, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov eax, 0x60
mov dword [ebp - 4], eax
jmp 0x100015dd
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x17
mov dword [ebp - 4], eax
jne 0x100015dd
add esp, 0x2c
pop ebp
ret

Function at 0x100085eb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102f5290]
jne 0x100085f5
repz ret
jmp fcn.1000f129
Function at 0x1000cfb1
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.10001bae
and dword [ebp - 4], 0
cmp dword [0x102f695c], 0
mov ebx, eax
jne 0x1000d062
push 0x102ca4c4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1000d113
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x102ca4b8
push edi
call esi
test eax, eax
je 0x1000d113
push eax
call fcn.10001b3c
mov dword [esp], 0x102ca4a8
push edi
mov dword [0x102f695c], eax
call esi
push eax
call fcn.10001b3c
mov dword [esp], 0x102ca494
push edi
mov dword [0x102f6960], eax
call esi
push eax
call fcn.10001b3c
mov dword [esp], 0x102ca478
push edi
mov dword [0x102f6964], eax
call esi
push eax
call fcn.10001b3c
pop ecx
mov dword [0x102f696c], eax
test eax, eax
je 0x1000d062
push 0x102ca460
push edi
call esi
push eax
call fcn.10001b3c
pop ecx
mov dword [0x102f6968], eax
mov eax, dword [0x102f6968]
cmp eax, ebx
je 0x1000d0ba
cmp dword [0x102f696c], ebx
je 0x1000d0ba
push eax
call fcn.10001bb7
push dword [0x102f696c]
mov esi, eax
call fcn.10001bb7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1000d0ba
test edi, edi
je 0x1000d0ba
call esi
test eax, eax
je 0x1000d0b1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000d0b1
test byte [ebp - 0xc], 1
jne 0x1000d0ba
or dword [ebp + 0x10], 0x200000
jmp 0x1000d0f3
mov eax, dword [0x102f6960]
cmp eax, ebx
je 0x1000d0f3
push eax
call fcn.10001bb7
pop ecx
test eax, eax
je 0x1000d0f3
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1000d0f3
mov eax, dword [0x102f6964]
cmp eax, ebx
je 0x1000d0f3
push eax
call fcn.10001bb7
pop ecx
test eax, eax
je 0x1000d0f3
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x102f695c]
call fcn.10001bb7
pop ecx
test eax, eax
je 0x1000d113
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1000d115
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100126f0
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]
mov dword [0x102f47c0], 0
mov byte [0x102f47c4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov ecx, dword [0x102f47b8]
add ecx, 0xfffff810
mov dword [0x102f47b4], ecx
mov dword [0x102f47bc], 0
mov dword [ebp - 0x1c], eax
jmp 0x10012751
mov dword [0x102f47b4], 0x6f1
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102f47b4]
add eax, 0xfffff48b
mov dword [0x102f47b8], eax
mov eax, dword [0x102f47bc]
add eax, 1
mov dword [0x102f47bc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10012751
mov dword [0x102f47b4], 0x185c
xor eax, eax
mov dword [0x102f47bc], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x102f47c8], 0
mov dword [0x102f47b4], 0x1ca0
mov edx, dword [0x102f47c0]
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 [0x102f47c8], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x102f47c0], edx
mov dword [0x102f47b8], 0x13fe
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x102f47c4], cl
mov dword [0x102f47b4], 0x73c
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x102f47c4]
mov edx, dword [0x102f47c0]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x102f47bc]
add edx, 1
mov dword [0x102f47bc], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x1001279f
jmp 0x1001273f
Function at 0x10012b93
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 8]
mov dword [0x102f47b8], 0x138b
mov dword [0x102f47b4], 0x1bef
mov dword [ebp - 0x10], eax
call fcn.1001227c
xor ecx, ecx
mov edx, dword [0x102f47b8]
add edx, 0x1a3b
mov dword [0x102f47b8], edx
mov edx, eax
mov esi, dword [0x102f47b4]
mov edi, esi
add edi, 0xffffe323
mov dword [0x102f47b4], edi
mov edi, dword [eax + 0x3c]
add esi, 0xffffc880
mov dword [0x102f47b4], esi
mov esi, dword [eax + edi + 0x78]
mov dword [0x102f47b8], 0xfffff735
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov ebx, dword [eax + esi + 0x24]
mov dword [0x102f47b4], 0xffffecf4
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ecx
je 0x10012c45
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
jmp 0x10012c50
mov eax, dword [ebp - 0x28]
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + eax*4]
mov dword [0x102f47b8], 0x138b
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
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 - 0x44], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x46], cl
je 0x10012cc5
mov eax, dword [ebp - 0x44]
add eax, 1
mov cl, byte [ebp - 0x45]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x46]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x40], eax
jne 0x10012c74
mov al, byte [ebp - 0x46]
test al, 1
jne 0x10012d00
jmp 0x10012cce
mov eax, dword [ebp - 0x38]
add eax, 2
mov dword [ebp - 0x4c], eax
xor eax, eax
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov edx, dword [ebp - 0x18]
cmp ecx, edx
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], ecx
jb 0x10012c50
jmp 0x10012c45
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov dword [0x102f47b8], 0x14fc
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x102f47b4], 0x1c2a
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x28], edx
jmp 0x10012c45
Function at 0x10012db5
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
xor eax, eax
mov dword [0x102f47b4], 0x1287
mov dword [ebp - 0x30], eax
jmp 0x10012de2
mov eax, dword [ebp - 0x34]
add esp, 0x4c
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x102c8ab8]
mov dl, byte [eax + 0x102c8a89]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x10012de2
lea eax, [ebp - 0x24]
mov dword [0x102f47b8], 0x1999
mov dword [0x102f47b4], 0xfffffe27
mov dword [ebp - 0x38], eax
call fcn.10013ae5
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.10012410
xor ecx, ecx
mov edx, dword [0x102f47b4]
add edx, 0x1727
mov dword [0x102f47b4], edx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], ecx
je 0x10012dd9
mov eax, dword [ebp - 0x3c]
mov dword [0x102f47b4], 0xe6b
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 [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.100125b2
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [0x102f47b8]
add edx, 0x22fa
mov dword [0x102f47b4], edx
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x34], ecx
mov ecx, dword [0x102f47b4]
mov esi, dword [ebp - 0x40]
mov dword [edx + 0x2c], esi
add ecx, 0xfffff5f9
mov dword [0x102f47b8], ecx
cmp esi, 0
mov dword [ebp - 0x34], eax
je 0x10012dd9
mov eax, dword [ebp - 0x40]
add eax, 0x1e26
mov dword [0x102f47b8], 0x12dc
mov dword [ebp - 0x34], eax
jmp 0x10012dd9
Function at 0x1001307e
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]
mov dword [0x102f47bc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov dword [0x102f47c0], 0
mov dword [0x102f47cc], 0
mov dword [0x102f47b4], 0x1984
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
je 0x100131dd
jmp 0x100130fe
mov eax, dword [0x102f47bc]
mov ecx, dword [0x102f47c0]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x102f47bc], edx
mov dword [0x102f47b4], 0x1a0e
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x34]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x102f47c0], edx
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x102f47c4], cl
mov dword [0x102f47b4], 0xcb8
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x102f47c4]
mov edx, dword [0x102f47c0]
mov byte [edi + edx], cl
mov edx, dword [0x102f47bc]
movzx edx, byte [edi + edx]
mov ebx, dword [0x102f47c0]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x102f47b4], 0x1352
and ebx, 0xff
mov dword [0x102f47cc], ebx
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov dword [0x102f47b8], 0x150a
mov dword [0x102f47b4], 0xfffff1a1
xor ch, cl
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x2c], ebx
jne 0x100130e7
mov dword [0x102f47b4], 0x1ed6
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100132bb
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.10012855
lea ecx, [0x10013254]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x7c], edx
mov dword [0x102f47b8], 0x2ba
mov dword [esp + 0x80], 0x14b000
mov edx, dword [0x102f47a0]
mov dword [esp + 0x84], edx
mov edx, dword [0x102f47a4]
mov dword [esp + 0x70], edx
mov edx, dword [0x102f47a8]
mov dword [esp + 0x6c], edx
mov edx, dword [0x102f47ac]
mov dword [esp + 0x38], edx
mov edx, dword [0x102f47b0]
mov dword [esp + 0x34], edx
mov dword [0x102f47b4], 0x131d
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x10013368
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x10013386
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [0x102f47b8], 0x4b9
mov dword [esp + 0x14], eax
jmp 0x10013345
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], eax
mov dword [0x102f47b4], 0xffffdb9d
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x44], edx
call fcn.100135d1
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x1001340e
lea eax, [esp + 0x30]
mov ecx, dword [0x102f47b8]
add ecx, 0xffffffca
mov dword [0x102f47b8], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10012db5
mov dword [0x102f47b4], 0x7f2
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov ecx, dword [0x102f47b4]
add ecx, 0x51e
mov dword [0x102f47b4], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret