joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x6abf3283
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x7d655054
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x407a90
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1004
call fcn.0040c730
mov eax, dword [0x43a040]
xor eax, esp
mov dword [esp + 0x1000], eax
mov eax, dword [esp + 0x1008]
push ebx
push esi
push edi
mov edi, dword [esp + 0x1018]
xor ebx, ebx
push 0x4295e0
push eax
call fcn.00404610
mov esi, eax
add esp, 8
test esi, esi
je 0x407aec
push 0x4296c8
push edi
call fcn.00404610
add esp, 8
mov edi, eax
push esi
test edi, edi
jne 0x407b07
call fcn.0040faa1
add esp, 4
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.0040c3f3
add esp, 0x1004
ret
call fcn.0040fad1
add esp, 4
test eax, eax
jne 0x407b79
push esi
push 0x1000
lea eax, [esp + 0x14]
push 1
push eax
call fcn.0040fcfd
add esp, 0x10
test eax, eax
je 0x407b60
push edi
push eax
lea eax, [esp + 0x14]
push 1
push eax
call fcn.00410415
add esp, 0x10
test eax, eax
je 0x407b5d
push edi
call fcn.0040fafd
add esp, 4
test eax, eax
jne 0x407b5d
push esi
call fcn.0040fad1
add esp, 4
test eax, eax
je 0x407b13
jmp 0x407b79
push edi
jmp 0x407b6e
push esi
call fcn.0040fafd
add esp, 4
test eax, eax
je 0x407b79
push esi
call fcn.00416075
add esp, 4
or ebx, 0xffffffff
push esi
call fcn.0040faa1
push edi
call fcn.0040faa1
mov ecx, dword [esp + 0x1014]
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040c3f3
add esp, 0x1004
ret

Function at 0x407bb0
Capabilities:
Create directory

Disassembly:
mov eax, 0x3008
call fcn.0040c730
mov eax, dword [0x43a040]
xor eax, esp
mov dword [esp + 0x3004], eax
mov eax, dword [esp + 0x300c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x301c]
mov ecx, esi
push edi
mov edi, dword [esp + 0x3024]
mov dword [esp + 0x10], eax
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407bf0
sub ecx, edx
mov edx, edi
lea ebx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x407c00
sub edx, ebx
lea eax, [edx + 1]
add eax, ecx
cmp eax, 0x1000
jae 0x407cc1
push 0x5c
push esi
push str._s_c
lea eax, [esp + 0x20]
push 0x1000
push eax
call fcn.00401c60
push 0x5c
push edi
mov ebp, eax
call fcn.0040d8d0
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x407cbd
mov ebx, 0x1000
sub ebx, ebp
lea ebp, [esp + ebp + 0x14]
nop
push edi
mov eax, esi
sub eax, edi
push eax
push 0x42c51c
push ebx
push ebp
call fcn.00401c60
lea eax, [esp + 0x28]
push eax
call fcn.004045b0
add esp, 0x18
test eax, eax
jne 0x407ca9
push 0x1000
lea eax, [esp + 0x1018]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00409510
mov eax, dword [esp + 0x1c]
add esp, 0xc
push dword [eax + 0x301c]
lea eax, [esp + 0x1018]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x407cc1
lea eax, [esi + 1]
push 0x5c
push eax
call fcn.0040d8d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x407c50
xor eax, eax
jmp 0x407cc4
or eax, 0xffffffff
mov ecx, dword [esp + 0x3014]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040c3f3
add esp, 0x3008
ret
Function at 0x408300
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov eax, 0x2254
call fcn.0040c730
mov eax, dword [0x43a040]
xor eax, esp
mov dword [esp + 0x2250], eax
push ebx
push ebp
mov ebp, dword [esp + 0x2260]
lea eax, [esp + 0x258]
push esi
push edi
push ebp
push 0x42cdb0
push 0x1000
push eax
call fcn.00402490
mov ebx, eax
add esp, 0x10
cmp ebx, 0x1000
jge 0x4084c3
lea eax, [esp + 0x10]
mov esi, 0x1001
push eax
lea eax, [esp + 0x264]
sub esi, ebx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4084c3
mov edx, 0x42cdbc
lea ecx, [esp + 0x3c]
nop word [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x4083a6
test ax, ax
je 0x4083a2
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x4083a6
add ecx, 4
add edx, 4
test ax, ax
jne 0x408380
xor eax, eax
jmp 0x4083ab
sbb eax, eax
or eax, 1
test eax, eax
je 0x40849a
mov ecx, 0x42cdc0
lea eax, [esp + 0x3c]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4083e6
test dx, dx
je 0x4083e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4083e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4083c0
xor eax, eax
jmp 0x4083eb
sbb eax, eax
or eax, 1
test eax, eax
je 0x40849a
lea eax, [esp + 0x3c]
push eax
push 0x42cdc8
lea eax, [esp + ebx*2 + 0x266]
push esi
push eax
call fcn.00402490
add esp, 0x10
cmp eax, esi
jge 0x40849a
mov eax, dword [esp + 0x10]
test al, 0x10
je 0x408473
test eax, 0x400
je 0x408450
cmp dword [esp + 0x34], 0xa000000c
jne 0x408450
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x40849a
lea eax, [esp + 0x260]
push eax
push str.LOADER:_failed_to_remove_directory_symbolic_link:__ls_n
jmp 0x408492
lea eax, [esp + 0x260]
push eax
call fcn.00408300
add esp, 4
test eax, eax
jns 0x40849a
lea eax, [esp + 0x260]
push eax
push str.LOADER:_failed_to_remove_directory:__ls_n
jmp 0x408492
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40849a
lea eax, [esp + 0x260]
push eax
push str.LOADER:_failed_to_remove_file:__ls_n
call fcn.004025b0
add esp, 8
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x408371
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebp
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
dec eax
neg eax
sbb eax, eax
jmp 0x4084c6
or eax, 0xffffffff
mov ecx, dword [esp + 0x2260]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040c3f3
add esp, 0x2254
ret
Function at 0x408880
Capabilities:
Create directory
Get common file path

Disassembly:
mov eax, 0x2028
call fcn.0040c730
mov eax, dword [0x43a040]
xor eax, esp
mov dword [esp + 0x2024], eax
push ebx
mov ebx, dword [esp + 0x2030]
push ebp
xor ebp, ebp
mov dword [esp + 8], ebx
push esi
push edi
cmp dword [ebx + 0x3038], ebp
je 0x408924
push 0x42cb88
call fcn.00408a50
push dword [ebx + 0x3038]
mov ebp, eax
call fcn.00408060
mov edi, eax
add esp, 8
test edi, edi
jne 0x4088e2
push ebp
call fcn.00414200
add esp, 4
or eax, 0xffffffff
jmp 0x408a37
push edi
push 0x42cb8c
call fcn.00416f24
push edi
mov esi, eax
call fcn.00414200
add esp, 0xc
test esi, esi
je 0x408917
push str.LOADER:_failed_to_set_the_TMP_environment_variable._n
call fcn.00402710
push ebp
call fcn.00414200
add esp, 8
or eax, 0xffffffff
jmp 0x408a37
push str.LOADER:_successfully_resolved_the_specified_runtime_tmpdir_n
call fcn.004025b0
add esp, 4
lea eax, [esp + 0x34]
push eax
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [esp + 0x34]
push eax
push str.LOADER:_attempting_to_create_temporary_application_directory_under__ls_n
call fcn.004025b0
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
push str._MEI_d
lea eax, [esp + 0x24]
push 0x10
push eax
call fcn.004023b0
add esp, 0x18
xor esi, esi
jmp 0x408965
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.0041775a
add esp, 8
mov edi, eax
push dword [ebx + 0x301c]
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40899e
push edi
call fcn.00414200
inc esi
add esp, 4
or ebx, 0xffffffff
cmp esi, 5
jl 0x408961
jmp 0x4089d4
push 0x1000
lea eax, [ebx + 0x2012]
push eax
push edi
call fcn.00409590
add esp, 0xc
test eax, eax
jne 0x4089c9
push str.LOADER:_length_of_teporary_directory_path_exceeds_maximum_path_length__n
call fcn.00402710
add esp, 4
or ebx, 0xffffffff
jmp 0x4089cb
xor ebx, ebx
push edi
call fcn.00414200
add esp, 4
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x3038], 0
je 0x408a35
push 0
push 0
push 0x42cb88
call fcn.00409510
test ebp, ebp
je 0x408a1f
push 0
push 0
push ebp
mov edi, eax
call fcn.00409510
mov esi, eax
push esi
push edi
call fcn.00416f24
push edi
call fcn.00414200
push esi
call fcn.00414200
push ebp
call fcn.00414200
add esp, 0x2c
jmp 0x408a35
mov esi, eax
push 0x42c6cc
push esi
call fcn.00416f24
push esi
call fcn.00414200
add esp, 0x18
mov eax, ebx
mov ecx, dword [esp + 0x2034]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040c3f3
add esp, 0x2028
ret
Function at 0x40cbcd
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x40cc02
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x40cbff
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x40cc0b
add edx, 0x28
cmp edx, esi
jne 0x40cbed
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x40cc08

Function at 0x40d079
Capabilities:
Parse pe header

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

Function at 0x414ef2
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x43a040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x4328e8
push esi
call fcn.0041d7b1
pop ecx
pop ecx
test eax, eax
jne 0x414f20
xor al, al
jmp 0x414f9d
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.00414c14
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x414f5a
push dword [ebp - 0x210]
call fcn.00414200
xor al, al
jmp 0x414f9b
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x414f60
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x414f80
push edx
call fcn.00414e29
pop ecx
test al, al
je 0x414f4b
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x414f8e
mov bl, 1
push dword [ebp - 0x210]
call fcn.00414200
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040c3f3
leave
ret
Function at 0x405477
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x422490], 0x44
push eax
xor eax, eax
push 0x422490
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4054b2
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x405558
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.0040580e
test byte [ebp + 0xc], 8
mov dword [ebp - 8], eax
je 0x40558c
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x423f08], eax
jmp 0x405725
push ebx
mov ebx, dword [ebp + 0xc]
and ebx, 1
mov dword [ebp - 4], ebx
je 0x4055aa
test eax, eax
je 0x4056d0
test byte [ebp + 0xc], 2
je 0x4056d0
mov esi, 0x421490
push edi
push esi
call fcn.00405c42
test ebx, ebx
je 0x4055c7
push 0x409340
push esi
call fcn.00405c65
jmp 0x4055cd
push edi
call fcn.00405772
cmp byte [edi], 0
jne 0x4055db
cmp byte [0x421490], 0x5c
jne 0x4055e6
push 0x409010
push edi
call fcn.00405c65
push edi
call fcn.00405c58
mov ebx, eax
lea eax, [ebp - 0x148]
push eax
push esi
add ebx, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x4056c6
lea eax, [ebp - 0x11c]
push 0x3f
push eax
lea esi, [ebp - 0x11c]
call fcn.00405756
cmp byte [eax], 0
je 0x40562c
cmp byte [ebp - 0x18], 0
je 0x40562c
lea esi, [ebp - 0x18]
mov al, byte [esi]
cmp al, 0x2e
jne 0x405647
cmp byte [esi + 1], 0
je 0x4056a5
cmp al, al
jne 0x405647
cmp byte [esi + 1], al
jne 0x405647
cmp byte [esi + 2], 0
je 0x4056a5
push esi
push ebx
call fcn.00405c42
test byte [ebp - 0x148], 0x10
je 0x40566c
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x4056a5
push dword [ebp + 0xc]
push edi
call fcn.00405558
jmp 0x4056a5
push edi
call fcn.004058f8
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40569d
test byte [ebp + 0xc], 4
je 0x405695
push edi
push 0xfffffffffffffff1
call fcn.00404fab
push 0
push edi
call fcn.0040598f
jmp 0x4056a5
inc dword [0x423f08]
jmp 0x4056a5
push edi
push 0xfffffffffffffff2
call fcn.00404fab
lea eax, [ebp - 0x148]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40560a
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 4], 0
je 0x4056d0
and byte [ebx - 1], 0
xor esi, esi
pop ebx
cmp dword [ebp - 4], esi
je 0x405725
cmp dword [ebp - 8], esi
jne 0x4056e5
inc dword [0x423f08]
jmp 0x405725
push edi
call fcn.00405f67
test eax, eax
je 0x405725
push edi
call fcn.0040572b
push edi
call fcn.004058f8
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x40571d
test byte [ebp + 0xc], 4
je 0x4056dd
push edi
push 0xfffffffffffffff1
call fcn.00404fab
push esi
push edi
call fcn.0040598f
jmp 0x405725
push edi
push 0xffffffffffffffe5
call fcn.00404fab
pop edi
pop esi
leave
ret 8
Function at 0x10039aa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
mov eax, dword [0x100d6110]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x2d
push str.Discretized_Point_Set
push esi
mov dword [esp + 0xe0], eax
call fcn.100b0170
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.100af6b0
add esp, 0x14
test eax, eax
je 0x10039af5
mov eax, 1
mov ecx, dword [esp + 0xd4]
call fcn.100d08b1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10]
add ecx, 4
push ecx
push esi
call fcn.100af750
add esp, 8
test eax, eax
jne 0x10039add
mov edx, dword [ebp + 8]
mov edi, dword [edx]
mov ebx, dword [sym.imp.MSVCR71.dll_sprintf]
push edi
lea eax, [esp + 0x7c]
push str._Set_contains__d_point_s_
push eax
call ebx
lea ecx, [esp + 0x84]
push ecx
push esi
call fcn.100af7d0
add esp, 0x14
test edi, edi
jle 0x10039b54
lea edx, [esp + 0x78]
push str.Index_t_t_tLocation___t_t__Surface_Normal
push edx
call ebx
lea eax, [esp + 0x80]
push eax
push esi
call fcn.100af7d0
add esp, 0x10
xor esi, esi
test edi, edi
jle 0x10039c62
mov edi, edi
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x50]
push eax
push esi
push ecx
call fcn.10039490
add esp, 0x14
test eax, eax
jne 0x10039add
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.1009c7a0
add esp, 0x10
test eax, eax
jne 0x10039add
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10039c1b
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x6c]
push eax
call fcn.100cf850
add esp, 0x10
test eax, eax
jne 0x10039add
fld qword [esp + 0x30]
sub esp, 0x30
fstp qword [esp + 0x28]
lea ecx, [esp + 0xa8]
fld qword [esp + 0x68]
fstp qword [esp + 0x20]
fld qword [esp + 0x70]
fstp qword [esp + 0x18]
fld qword [esp + 0x48]
fstp qword [esp + 0x10]
fld qword [esp + 0x50]
fstp qword [esp + 8]
fld qword [esp + 0x58]
fstp qword [esp]
push esi
push str.__5d___9.2f__9.2f__9.2f____9.2f__9.2f__9.2f
push ecx
call ebx
add esp, 0x3c
jmp 0x10039c48
fld qword [esp + 0x18]
sub esp, 0x18
fstp qword [esp + 0x10]
lea edx, [esp + 0x90]
fld qword [esp + 0x38]
fstp qword [esp + 8]
fld qword [esp + 0x40]
fstp qword [esp]
push esi
push str.__5d___9.2f__9.2f__9.2f
push edx
call ebx
add esp, 0x24
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x78]
push eax
push ecx
call fcn.100af7d0
add esp, 8
inc esi
cmp esi, edi
jl 0x10039b60
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push eax
call fcn.100af750
mov ecx, dword [esp + 0xdc]
add esp, 8
neg eax
sbb eax, eax
neg eax
call fcn.100d08b1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100667b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x144
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [eax], 0
call fcn.100a7180
add esp, 8
test eax, eax
jne 0x100669d5
mov eax, dword [ebp + 0xc]
cmp eax, dword [esp + 0x10]
mov ebx, eax
jge 0x100669c3
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x1c]
push eax
push ebx
push ecx
call fcn.100a7160
add esp, 0xc
test eax, eax
jne 0x100669d5
lea edx, [esp + 0xe8]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x8c]
push edx
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x54]
push ecx
push edx
call fcn.100590f0
add esp, 0x1c
test eax, eax
jne 0x100669d5
mov eax, dword [esp + 0x24]
mov esi, 1
cmp eax, esi
jg 0x100669c3
cmp dword [esp + 0x20], esi
jg 0x100669c3
mov edi, dword [esp + 0x40]
lea eax, [esp + 0x14]
push eax
push edi
call fcn.10045be0
add esp, 8
test eax, eax
jne 0x100669cc
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0x18]
push ecx
push esi
call fcn.10045be0
add esp, 8
test eax, eax
jne 0x100669d5
mov eax, dword [esp + 0x14]
cmp eax, 0xb
je 0x100668a4
cmp eax, 0xc
jne 0x100669c3
mov eax, dword [esp + 0x18]
cmp eax, 0xb
je 0x100668b6
cmp eax, 0xc
jne 0x100669c3
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x5c]
push eax
push edi
call fcn.10017b20
add esp, 0xc
test eax, eax
jne 0x100669d5
lea ecx, [esp + 0x58]
push ecx
mov edx, ecx
push edx
lea eax, [esp + 0x88]
push eax
call fcn.100c4670
add esp, 0xc
test eax, eax
jne 0x100669d5
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x2c]
push edx
push esi
call fcn.10017b20
add esp, 0xc
test eax, eax
jne 0x100669d5
lea eax, [esp + 0x28]
push eax
mov ecx, eax
push ecx
lea edx, [esp + 0xf0]
push edx
call fcn.100c4670
add esp, 0xc
test eax, eax
jne 0x100669d5
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x60]
push edx
call fcn.1009cf10
add esp, 0xc
test eax, eax
jne 0x100669d5
mov eax, dword [esp + 0xc]
test eax, eax
je 0x100669c3
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
jne 0x1006698f
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [eax], 1
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
jmp 0x100669b1
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0xc]
push eax
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.1009cf10
add esp, 0xc
test eax, eax
jne 0x100669d5
mov eax, dword [esp + 0xc]
test eax, eax
je 0x100669c3
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
mov eax, dword [esp + 0x10]
inc ebx
cmp ebx, eax
jl 0x100667f0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001ec0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x38], ecx
push 2
push 0
push 0x10001d60
mov ecx, dword [0x1005f240]
call fcn.1001b810
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10001fcd
mov byte [ebp - 0x34], 0x45
mov byte [ebp - 0x33], 0x52
mov byte [ebp - 0x32], 0x52
mov byte [ebp - 0x31], 0x4f
mov byte [ebp - 0x30], 0x52
mov byte [ebp - 0x2f], 0x21
mov byte [ebp - 0x2e], 0x20
mov byte [ebp - 0x2d], 0x54
mov byte [ebp - 0x2c], 0x68
mov byte [ebp - 0x2b], 0x72
mov byte [ebp - 0x2a], 0x65
mov byte [ebp - 0x29], 0x61
mov byte [ebp - 0x28], 0x64
mov byte [ebp - 0x27], 0x20
mov byte [ebp - 0x26], 0x63
mov byte [ebp - 0x25], 0x72
mov byte [ebp - 0x24], 0x65
mov byte [ebp - 0x23], 0x61
mov byte [ebp - 0x22], 0x74
mov byte [ebp - 0x21], 0x69
mov byte [ebp - 0x20], 0x6f
mov byte [ebp - 0x1f], 0x6e
mov byte [ebp - 0x1e], 0x20
mov byte [ebp - 0x1d], 0x66
mov byte [ebp - 0x1c], 0x61
mov byte [ebp - 0x1b], 0x69
mov byte [ebp - 0x1a], 0x6c
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x64
mov byte [ebp - 0x17], 0x2c
mov byte [ebp - 0x16], 0x20
mov byte [ebp - 0x15], 0x54
mov byte [ebp - 0x14], 0x68
mov byte [ebp - 0x13], 0x72
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x61
mov byte [ebp - 0x10], 0x64
mov byte [ebp - 0xf], 0x20
mov byte [ebp - 0xe], 0x43
mov byte [ebp - 0xd], 0x6f
mov byte [ebp - 0xc], 0x64
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 0xa], 0x20
mov byte [ebp - 9], 0x30
mov byte [ebp - 8], 0x78
mov byte [ebp - 7], 0x32
mov byte [ebp - 6], 0x21
mov byte [ebp - 5], 0
mov ecx, dword [0x1005e828]
call fcn.10001480
push eax
push 0
lea eax, [ebp - 0x34]
push eax
push 0
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [0x1005e82c]
call fcn.100116b0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x100031d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 5
mov dword [ebp - 8], 0
jmp 0x100031f2
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x33
jge 0x10003231
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx + 0x779227d4]
xor edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x1000322c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
jmp 0x100031e9
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x33], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4