joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f873
Capabilities:
Query or enumerate registry value
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp + 8], 0x208
push eax
xor eax, eax
lea esi, [edi + 4]
mov dword [edi], ebx
push esi
push eax
push eax
push str.DbgHelpPath32
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor eax, eax
cmp word [esi], ax
jne 0x41f8ae
mov ecx, edi
call fcn.0041062e
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x208
push eax
lea esi, [edi + 0x414]
xor eax, eax
push esi
push eax
push eax
push 0x44c0d0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor eax, eax
cmp word [esi], ax
jne 0x41f8ea
push 0x44cf00
push 0x104
push esi
call fcn.0042a521
add esp, 0xc
lea eax, [ebp - 4]
push esi
push eax
call fcn.0040889f
pop ecx
pop ecx
push eax
lea ecx, [edi + 0x61c]
call fcn.0040399c
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x41f90e
call fcn.00403368
push esi
push 0x44c0e8
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x208
push eax
lea eax, [edi + 0x20c]
push eax
xor eax, eax
push eax
push eax
push 0x44c108
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x423724
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x45a100]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
lea eax, [ebp - 0x5c]
push 0x58
push esi
push eax
mov dword [ebp - 0x60], esi
call fcn.0042a420
add esp, 0xc
mov dword [ebp - 0x64], 0x5c
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
push esi
push esi
push 0x44d2a4
push dword [0x45c174]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
pop esi
test eax, eax
jne 0x42377f
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [0x45c3dc], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a402
mov esp, ebp
pop ebp
ret

Function at 0x423db3
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.00422c2b
pop ecx
pop ecx
test al, al
je 0x423e09
call fcn.00424ce6
push dword [0x45c17c]
push dword [0x45c3b8]
push dword [ebp + 0x10]
push dword [ebp + 8]
push 0
push 1
push 0x44d138
call fcn.00403393
add esp, 0x1c
test al, al
je 0x423e04
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop ebp
ret
push 2
pop eax
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x424392
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x45a100]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x30], 0
xor eax, eax
push ebx
mov edx, dword [ebp + 0x10]
push esi
push edi
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x2c]
mov ebx, dword [ebp + 8]
push 0xa
pop ecx
push 0x2c
rep stosd dword es:[edi], eax
pop edi
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], edi
push eax
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4244fc
cmp dword [ebp - 0x30], edi
jne 0x4244fc
push 0xfffffffffffffff0
mov edi, ebx
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, eax
mov eax, dword [ebp - 0x28]
dec eax
dec eax
je 0x42440c
dec eax
jne 0x424422
and ebx, 0xdfffffff
or ebx, 0x1000000
jmp 0x424418
and ebx, 0xfeffffff
or ebx, 0x20000000
push ebx
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x40]
shr ebx, 0x12
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x38]
and bl, 1
je 0x424447
mov eax, dword [ebp - 0xc]
mov ecx, edx
sub ecx, dword [ebp - 0x40]
sub eax, dword [ebp - 0x14]
cmp eax, ecx
jge 0x424450
sub edx, dword [ebp - 0x40]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x34]
test bl, bl
je 0x424466
mov eax, dword [ebp - 8]
mov ecx, edx
sub ecx, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x10]
cmp eax, ecx
jge 0x42446f
sub edx, dword [ebp - 0x3c]
add edx, dword [ebp - 0x10]
mov dword [ebp - 8], edx
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x4c
call esi
push 0x4d
mov dword [ebp - 0x50], eax
call esi
push 0x4e
mov dword [ebp - 0x48], eax
call esi
push 0x4c
mov ebx, eax
call esi
push 0x4f
add ebx, eax
call esi
push 0x4d
mov dword [ebp - 0x44], eax
call esi
mov ecx, dword [ebp - 0x44]
mov esi, dword [sym.imp.USER32.dll_OffsetRect]
add ecx, eax
cmp dword [ebp - 8], ecx
jle 0x4244b6
sub ecx, dword [ebp - 8]
lea eax, [ebp - 0x14]
push ecx
push 0
push eax
call esi
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x10], eax
jge 0x4244ca
sub eax, dword [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
call esi
cmp dword [ebp - 0xc], ebx
jle 0x4244db
sub ebx, dword [ebp - 0xc]
lea eax, [ebp - 0x14]
push 0
push ebx
push eax
call esi
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x14], eax
jge 0x4244ef
sub eax, dword [ebp - 0x14]
push 0
push eax
lea eax, [ebp - 0x14]
push eax
call esi
lea eax, [ebp - 0x30]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowPlacement]
jmp 0x424505
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042a402
mov esp, ebp
pop ebp
ret
Function at 0x424516
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x45a100]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x45c3dc]
test esi, esi
je 0x42456d
and dword [ebp - 0x60], 0
lea eax, [ebp - 0x5c]
push 0x58
push 0
push eax
call fcn.0042a420
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
push 0x5c
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
push 0x5c
lea eax, [ebp - 0x60]
push eax
push 3
push 0
push 0x44d2a4
push dword [0x45c174]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042a402
mov esp, ebp
pop ebp
ret

Function at 0x424ce6
Capabilities:
Set registry value

Disassembly:
push 0x3eb
push dword [0x45c3b8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00414bd7
mov dword [esp], 0x44d2d0
mov ecx, eax
push dword [0x45c174]
call fcn.0041705c
push 0x3f8
push dword [0x45c3b8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00414bd7
mov dword [esp], 0x44d2ec
mov ecx, eax
push dword [0x45c174]
call fcn.0041705c
push 0x44d30c
push dword [0x45c174]
push dword [0x45c3b8]
call fcn.00424d5f
add esp, 0xc
call fcn.00424516
jmp fcn.00424cc9
Function at 0x427c5d
Capabilities:
Accept command line arguments
Get file system object information

Disassembly:
push 0x2d0
mov eax, 0x447b8a
call fcn.0042bfea
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x2cc]
push eax
mov ecx, 0x45d390
call fcn.0041b32d
mov eax, dword [eax]
test eax, eax
je 0x427c8a
mov eax, dword [eax]
jmp 0x427c8c
xor eax, eax
lea ecx, [ebp - 0x2dc]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, dword [ebp - 0x2cc]
mov ebx, eax
mov dword [ebp - 0x2d8], ebx
test ecx, ecx
je 0x427cb8
call fcn.00403368
and dword [ebp - 0x2cc], 0
mov esi, dword [ebx]
push 0x5c
push esi
call fcn.0042a57d
pop ecx
pop ecx
test eax, eax
je 0x427ccd
add eax, 2
jmp 0x427ccf
mov eax, esi
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push eax
push 0x3ef
push edi
call ebx
lea eax, [ebp - 0x2c8]
mov ecx, 0x45d390
push eax
call fcn.004233ac
mov eax, dword [eax]
test eax, eax
je 0x427cf9
mov eax, dword [eax]
jmp 0x427cfb
xor eax, eax
push eax
push 0x3f9
push edi
call ebx
mov ecx, dword [ebp - 0x2c8]
test ecx, ecx
je 0x427d13
call fcn.00403368
xor ebx, ebx
lea eax, [ebp - 0x2c0]
push 0x2b0
push ebx
push eax
mov dword [ebp - 0x2c4], ebx
call fcn.0042a420
add esp, 0xc
lea eax, [ebp - 0x2c4]
push 0x100
push 0x2b4
push eax
push ebx
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x2c4]
test eax, eax
jne 0x427d65
push 0x7f00
push ebx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x2c4], eax
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push 1
push 0x172
push 0x3fd
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x44e228
lea ecx, [ebp - 0x2c8]
call fcn.004051c4
xor esi, esi
lea ecx, [ebp - 0x2d4]
push 0x44d138
mov dword [ebp - 4], esi
call fcn.004051c4
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 1
push ecx
lea ecx, [ebp - 0x2d0]
push ecx
mov ecx, eax
call fcn.00405319
mov eax, dword [eax]
test eax, eax
je 0x427dca
mov eax, dword [eax]
jmp 0x427dcc
mov eax, esi
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 0x2d0]
test ecx, ecx
je 0x427de9
call fcn.00403368
mov dword [ebp - 0x2d0], esi
mov ecx, dword [ebp - 0x2d4]
test ecx, ecx
je 0x427dfe
call fcn.00403368
mov dword [ebp - 0x2d4], esi
mov ecx, dword [ebp - 0x2c8]
test ecx, ecx
je 0x427e0d
call fcn.00403368
push 0x45d390
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x45d3ac]
push 0x45d390
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
push 0x3fe
push edi
call ebx
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call esi
movzx eax, byte [0x45d3b8]
push eax
push 0x40b
push edi
call ebx
push eax
call esi
movzx eax, byte [0x45d3b8]
push eax
push 0x40c
push edi
call ebx
push eax
call esi
push 0
push 0x416
push edi
call ebx
push eax
call esi
push edi
call fcn.0041cc0c
pop ecx
push dword [ebp - 0x2d8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
call fcn.0042bf99
ret
Function at 0x428d80
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x45a100]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x45d52c], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x2c], edi
jne 0x428dc2
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x50]
mov dword [0x45d52c], eax
mov eax, dword [ebp - 0x68]
mov dword [0x45d528], eax
push 0x38
push 0
push esi
call fcn.0042a420
add esp, 0xc
lea eax, [ebp - 0x48]
push 0x1c
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
lea edi, [eax - 0x1c]
neg edi
sbb edi, edi
inc edi
jne 0x428dee
xor eax, eax
jmp 0x428ed4
mov ecx, dword [ebp - 0x38]
mov edx, 0x2000
cmp ecx, 0x1000
je 0x428e4f
cmp ecx, edx
je 0x428e4f
mov edx, 0x10000
cmp ecx, edx
je 0x428e16
call dword [sym.imp.KERNEL32.dll_DebugBreak]
jmp 0x428ed2
mov eax, dword [ebp - 0x48]
xor ecx, ecx
mov dword [esi], eax
mov eax, dword [ebp - 0x40]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x28], ecx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x34], edx
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x18], ecx
jmp 0x428ed2
mov eax, dword [ebp - 0x48]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x30], eax
cmp ecx, edx
jne 0x428e68
and dword [esi + 0x2c], 0
mov dword [esi + 0x34], edx
jmp 0x428e74
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 0x44]
mov dword [esi], eax
mov eax, dword [ebp - 0x40]
mov dword [esi + 4], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x2c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call fcn.00428ee5
mov eax, dword [ebp - 0x28]
add esp, 0x1c
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x14]
add dword [esi + 0x1c], ecx
mov ecx, dword [ebp - 0x10]
add dword [esi + 0x18], ecx
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x24], eax
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042a402
mov esp, ebp
pop ebp
ret
Function at 0x43eb0e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x45a100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00437ad5
mov dword [ebp - 0x14], eax
cmp dword [0x45e2d4], esi
jne 0x43ec01
push 0x800
push esi
push 0x452cbc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x43eb8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x43ece1
push esi
push esi
push 0x452cbc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x43ece1
push 0x452cd4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43ece1
push eax
call ebx
push 0x452ce0
push edi
mov dword [0x45e2d4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x452cf0
push edi
mov dword [0x45e2d8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x452d04
push edi
mov dword [0x45e2dc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45e2e4], eax
test eax, eax
je 0x43ebfe
push 0x452d20
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45e2e0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x43ec26
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43ec19
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x43ec3b
push 4
pop eax
jmp 0x43ece3
cmp dword [ebp - 0x14], esi
je 0x43ec3b
push dword [0x45e2d4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x43ec20
mov eax, dword [0x45e2e0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x43ec99
cmp dword [0x45e2e4], edi
je 0x43ec99
push eax
call ebx
push dword [0x45e2e4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x43ec99
test eax, eax
je 0x43ec99
call ecx
test eax, eax
je 0x43ec8e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x43ec8e
test byte [ebp - 8], 1
jne 0x43ec99
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x43ecc9
mov eax, dword [0x45e2d8]
cmp eax, edi
je 0x43ecc6
push eax
call ebx
test eax, eax
je 0x43ecc6
call eax
mov esi, eax
test esi, esi
je 0x43ecc6
mov eax, dword [0x45e2dc]
cmp eax, edi
je 0x43ecc6
push eax
call ebx
test eax, eax
je 0x43ecc6
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x45e2d4]
call ebx
test eax, eax
je 0x43ece1
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x43ece3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042a402
mov esp, ebp
pop ebp
ret
Function at 0x1027f6b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1029da50]
jne 0x1027f6ba
repz ret
jmp fcn.1028152c

Function at 0x10282ac3
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.1027e620
and dword [ebp - 4], 0
cmp dword [0x1029f7fc], 0
mov ebx, eax
jne 0x10282b74
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10282c25
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10282c25
push eax
call fcn.1027e5ae
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1029f7fc], eax
call esi
push eax
call fcn.1027e5ae
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1029f800], eax
call esi
push eax
call fcn.1027e5ae
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1029f804], eax
call esi
push eax
call fcn.1027e5ae
pop ecx
mov dword [0x1029f80c], eax
test eax, eax
je 0x10282b74
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1027e5ae
pop ecx
mov dword [0x1029f808], eax
mov eax, dword [0x1029f808]
cmp eax, ebx
je 0x10282bcc
cmp dword [0x1029f80c], ebx
je 0x10282bcc
push eax
call fcn.1027e629
push dword [0x1029f80c]
mov esi, eax
call fcn.1027e629
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10282bcc
test edi, edi
je 0x10282bcc
call esi
test eax, eax
je 0x10282bc3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10282bc3
test byte [ebp - 0xc], 1
jne 0x10282bcc
or dword [ebp + 0x10], 0x200000
jmp 0x10282c05
mov eax, dword [0x1029f800]
cmp eax, ebx
je 0x10282c05
push eax
call fcn.1027e629
pop ecx
test eax, eax
je 0x10282c05
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10282c05
mov eax, dword [0x1029f804]
cmp eax, ebx
je 0x10282c05
push eax
call fcn.1027e629
pop ecx
test eax, eax
je 0x10282c05
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1029f7fc]
call fcn.1027e629
pop ecx
test eax, eax
je 0x10282c25
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10282c27
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x102839d4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp ecx, 0
sete dl
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x15], dl
mov eax, 0xffffffff
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
sete dl
mov dh, byte [ebp - 0x15]
and dh, dl
test dh, 1
mov dword [ebp - 0x1c], eax
jne 0x10283bd5
jmp 0x10283aa5
mov dword [0x1029cfd8], 0xffffc994
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
jmp 0x10283bd5
xor eax, eax
mov ecx, dword [ebp - 0x24]
mov dx, word [ecx]
mov dword [0x1029cfd4], 0x26b6
shr dx, 1
movzx esi, dx
cmp dx, 0
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], eax
je 0x10283a78
jmp 0x10283b41
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff8
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
jmp 0x10283bd5
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov eax, dword [eax]
mov edx, dword [ebp - 0x3c]
cmp eax, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], ecx
je 0x10283bd5
jmp 0x10283b02
mov al, byte [ebp - 0x3d]
test al, 1
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
jne 0x10283a1c
jmp 0x10283a78
mov dword [0x1029cfd8], 0x25ed
mov dword [0x1029cfd4], 0x14fc
mov ecx, dword fs:[0x18]
mov dword [0x1029cfd4], 0xffffeafc
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x30]
mov dword [0x1029cfd8], 0xffffd3cf
mov ecx, dword [ecx + 0xc]
add ecx, 0x14
mov edx, dword [ebp - 0x10]
cmp edx, 0
setne bl
mov esi, ecx
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 0x45], bl
mov dword [ebp - 0x2c], esi
jmp 0x10283a78
mov dword [0x1029cfd4], 0xe77
mov eax, dword [ebp - 0x28]
add eax, 0x24
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x28]
mov esi, dword [ecx + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x45]
and bh, bl
test bh, 1
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x20], esi
jne 0x10283a62
jmp 0x10283a31
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x4c]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x50], eax
mov word [ebp - 0x52], dx
mov word [ebp - 0x54], di
jb 0x10283b75
mov ax, word [ebp - 0x52]
mov word [ebp - 0x54], ax
mov ax, word [ebp - 0x54]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x50]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
sete bh
mov al, bl
xor al, 1
or bh, al
test bh, 1
mov byte [ebp - 0x3d], bl
jne 0x10283a92
mov dword [0x1029cfd4], 0x667
mov eax, dword [ebp - 0x50]
add eax, 1
mov ecx, dword [ebp - 0x30]
cmp eax, ecx
setb dl
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x59], dl
mov al, byte [ebp - 0x59]
test al, 1
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x34], ecx
jne 0x10283b41
jmp 0x10283a92
mov eax, dword [ebp - 0x1c]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1028400a
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 [0x1029cfe0], 0
mov byte [0x1029cfe4], 0
mov dword [0x1029cfd4], 0x1f87
mov dword [0x1029cfdc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1028406c
mov dword [0x1029cfd4], 0xd51
xor eax, eax
mov dword [0x1029cfdc], 0
mov dword [ebp - 0x20], eax
jmp 0x10284094
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1029cfdc]
add eax, 1
mov dword [0x1029cfdc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1028406c
jmp 0x10284051
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x1029cfe8], 0
mov dword [0x1029cfd4], 0x17de
mov edx, dword [0x1029cfe0]
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 [0x1029cfe8], edi
mov dword [0x1029cfd8], 0x51e
mov dword [0x1029cfd4], 0xffffe312
mov eax, edi
cdq
idiv ecx
mov dword [0x1029cfe0], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x1029cfe4], cl
mov dword [0x1029cfd4], 0x1980
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov ecx, dword [0x1029cfd4]
add ecx, 0x1ff7
mov dword [0x1029cfd8], ecx
mov cl, byte [0x1029cfe4]
mov edx, dword [0x1029cfe0]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x1029cfd4], 0x5e6
mov edx, dword [0x1029cfd8]
add edx, 0xfffffd1a
mov dword [0x1029cfd8], edx
mov edx, dword [0x1029cfdc]
add edx, 1
mov dword [0x1029cfdc], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x10284094
mov dword [0x1029cfd4], 0x1e31
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret