joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1011e220
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
movzx eax, word [esp + 0xc]
mov ecx, dword [esp + 0x10]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 8], eax
push esi
push edi
movzx eax, word [ebp + eax*2 + 0x11a]
cmp eax, ecx
jbe 0x1011e294
mov edi, dword [ebp + 0x10]
mov dl, byte [edi + eax*8 + 4]
lea ebx, [edi + eax*8]
movzx eax, word [ebx]
and dl, 0x1f
cmp eax, ecx
je 0x1011e2c1
test dl, dl
jne 0x1011e28c
cmp word [esp + 0x1c], 0x40
movzx edx, word [edi + eax*8 + 2]
movzx esi, word [edi + ecx*8 + 2]
je 0x1011e278
mov al, byte [edi + esi*8 + 4]
xor al, byte [edi + edx*8 + 4]
test al, 0x1f
jne 0x1011e28c
cmp edx, esi
je 0x1011e2b9
cmp edx, 0x8000
jae 0x1011e2b9
cmp esi, 0x8000
jae 0x1011e2b9
movzx eax, word [ebx + 6]
cmp eax, ecx
ja 0x1011e245
mov eax, dword [esp + 0x10]
movzx eax, word [ebp + eax*2 + 0x10c]
cmp eax, ecx
jbe 0x1011e2b9
mov esi, dword [ebp + 0x10]
lea edx, [esi + eax*8]
movzx eax, word [edx]
cmp eax, ecx
je 0x1011e2ce
movzx eax, word [edx + 6]
cmp eax, ecx
ja 0x1011e2a7
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
pop edi
xor eax, eax
test dl, dl
pop esi
pop ebp
setne al
pop ebx
pop ecx
ret
test byte [edx + 4], 0x1f
mov eax, 0
pop edi
pop esi
pop ebp
setne al
pop ebx
pop ecx
ret
Function at 0x8be058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x8be1a8
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 0x8be07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8be06a
add dl, dl
jne 0x8be089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8be0dc
xor eax, eax
add dl, dl
jne 0x8be096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8be17d
add dl, dl
jne 0x8be0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8be0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8be0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8be0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8be0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x8be075
mov eax, 1
add dl, dl
jne 0x8be0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8be0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8be0e1
sub eax, ebx
mov ebx, 1
jne 0x8be128
mov ecx, 1
add dl, dl
jne 0x8be10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8be119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8be105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8be075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x8be13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8be14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8be136
cmp eax, 0x7d00
jae 0x8be16d
cmp eax, 0x500
jb 0x8be168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8be075
cmp eax, 0x7f
ja 0x8be170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8be075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x8be19e
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 0x8be075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x406234
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x406243
pop dword [ebp - 0x18]
mov eax, 0x97a66077
add eax, 0x689a01cc
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xb310a047
sub dword [ebp - 0x28], 0x64be5afc
mov dword [ebp - 0x24], 0x975bb3b2
sub dword [ebp - 0x24], 0x6528676d
mov dword [ebp - 0x20], 0x37bb6ad1
add dword [ebp - 0x20], 0x1490d95d
mov dword [ebp - 0x1c], 0xb95869eb
add dword [ebp - 0x1c], 0x46a79615
lea eax, [ebp - 0x28]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x68740341
add dword [ebp - 0x28], 0xbfe6615
mov dword [ebp - 0x24], 0xa610412b
sub dword [ebp - 0x24], 0x64a3dfb6
mov dword [ebp - 0x20], 0x106466fc
add dword [ebp - 0x20], 0x530b0570
mov dword [ebp - 0x1c], 0x283f15b
sub dword [ebp - 0x1c], 0x283f15b
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0xe78e3d9d
sub eax, 0xe74dbc9d
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3506b
push 0
call eax
mov ecx, 0x4003
mov esi, eax
mov edx, 0x2cc94744
sub edx, 0x2c826344
add edx, dword [ebp - 0x18]
mov edi, 0x99400f85
xor dword [ebp - 0xc], 0xc2fee5ee
mov ebx, dword [edx]
add dword [ebp - 8], 0xaf27326f
add ebx, edi
xor dword [ebp - 4], edi
mov dword [esi], ebx
add dword [ebp - 0xc], edi
add esi, 0x8a381162
add esi, 0x75c7eea2
add edx, 0x26669c7f
sub edx, 0x26669c7b
loop 0x406354
add eax, 0xf2df
mov ebx, eax
add eax, 0xb4ad0837
add eax, 0x4b52f7ce
mov ecx, 0x17b37c0
sub ecx, 0x13b37c0
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x40669d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x4066d4
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4066ae
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x4066a9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406705
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x4066e7
pop edi
not eax
pop esi
ret 0xc
Function at 0x40108e
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push esi
push edi
call entry0
mov ebx, dword [0x449074]
mov esi, eax
mov eax, dword [esi + 0x17c]
xor edi, edi
cmp eax, edi
je 0x4010b4
push eax
call ebx
mov dword [esi + 0x17c], edi
push edi
push edi
push edi
push edi
call dword [0x4490c4]
mov dword [esi + 0x17c], eax
lea eax, [esp + 0xc]
push eax
push edi
push esi
push 0x401a15
push edi
push edi
call fcn.0042db8c
add esp, 0x18
cmp eax, 0xffffffff
je 0x4010e2
push eax
call ebx
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x401899
Capabilities:
Create thread

Disassembly:
push 0x5c
mov eax, 0x4454c3
call fcn.0042e60e
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], ecx
push eax
mov ecx, esi
mov ebx, edx
call fcn.00403118
lea edi, [esi + 0x1c]
push ebx
mov ecx, edi
call fcn.00403118
push dword [ebp - 0x68]
lea ecx, [esi + 0x38]
call fcn.00403118
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x178], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x158], eax
lea eax, [esi + 0x174]
push eax
xor ebx, ebx
push ebx
push esi
push 0x401b2c
push ebx
push ebx
call fcn.0042db8c
add esp, 0x18
cmp eax, 0xffffffff
je 0x401903
push eax
call dword [0x449074]
cmp byte [ebp + 0x10], bl
je 0x401a0b
cmp byte [esi + 0x1a0], bl
jne 0x401a0b
push ebx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], 7
call fcn.00404ae9
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 4], ebx
call fcn.0042017a
pop ecx
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 7
call fcn.00404ae9
sub esp, 0x1c
lea eax, [ebp - 0x64]
mov ecx, esp
mov dword [ebp - 0x68], esp
push eax
mov byte [ebp - 4], 2
lea ebx, [ebp - 0x2c]
call fcn.00402ac4
call fcn.00405e36
mov eax, dword [ebp - 0x28]
add esp, 0x1c
cmp dword [ebp - 0x14], 8
jae 0x401971
lea eax, [ebp - 0x28]
cmp dword [edi + 0x18], 8
jb 0x40197c
mov edi, dword [edi + 4]
jmp 0x40197f
add edi, 4
cmp dword [esi + 0x18], 8
jb 0x40198a
mov ebx, dword [esi + 4]
jmp 0x40198d
lea ebx, [esi + 4]
push eax
push edi
lea edi, [ebp - 0x48]
call fcn.00405d73
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
pop ecx
pop ecx
jae 0x4019a5
lea eax, [ebp - 0x44]
push eax
call fcn.0042037d
xor ebx, ebx
pop ecx
test al, al
je 0x4019ea
push ebx
push ebx
push ebx
push 0x452008
mov edi, esi
call fcn.00402029
test eax, eax
jne 0x4019ea
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00404b07
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.00404b07
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00404b07
mov al, 1
jmp 0x401a0d
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00404b07
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.00404b07
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00404b07
xor al, al
call fcn.0042e691
ret 0x10
Function at 0x401e86
Capabilities:
Create thread

Disassembly:
push 0x4c
mov eax, 0x445342
call fcn.0042e60e
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x4c], ecx
cmp byte [ebp + 0xc], bl
je 0x401f01
cmp eax, ebx
je 0x401eb4
push eax
lea ecx, [esi + 0x74]
call fcn.00403118
cmp edi, ebx
je 0x401ec4
push edi
lea ecx, [esi + 0x90]
call fcn.00403118
cmp dword [ebp - 0x4c], ebx
je 0x401ed7
push dword [ebp - 0x4c]
lea ecx, [esi + 0xac]
call fcn.00403118
lea eax, [ebp - 0x50]
push eax
push ebx
push esi
push 0x401fd1
push ebx
push ebx
call fcn.0042db8c
add esp, 0x18
cmp eax, 0xffffffff
je 0x401fc9
push eax
call dword [0x449074]
jmp 0x401fc9
mov eax, dword [esi + 0x17c]
cmp eax, ebx
je 0x401f14
push 0xffffffffffffffff
push eax
call dword [0x4490d0]
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 7
call fcn.00404ae9
mov dword [ebp - 4], ebx
cmp dword [esi + 0x34], 8
jb 0x401f32
mov ebx, dword [esi + 0x20]
jmp 0x401f35
lea ebx, [esi + 0x20]
cmp dword [esi + 0x18], 8
jb 0x401f40
mov edi, dword [esi + 4]
jmp 0x401f43
lea edi, [esi + 4]
lea ecx, [ebp - 0x2c]
call fcn.00405a2e
xor ebx, ebx
cmp byte [esi + 0x180], bl
jne 0x401f6d
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x401f61
lea eax, [ebp - 0x28]
push eax
mov eax, esi
call fcn.00401d48
test al, al
je 0x401fbe
push str.XLLiveUD.exe
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00404343
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x401f92
lea eax, [ebp - 0x44]
push eax
lea ecx, [esi + 0x100]
call fcn.00403118
push dword [ebp - 0x4c]
mov edi, esi
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push 0x452278
call fcn.00402029
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00404b07
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00404b07
call fcn.0042e691
ret 8
Function at 0x405d73
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x39c]
sub esp, 0x41c
mov eax, dword [0x45ea14]
xor eax, ebp
mov dword [ebp + 0x398], eax
mov eax, dword [ebp + 0x3a4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x3a8]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x78]
push eax
push 0
push 0
push 0x23
push 0
call dword [0x4492d4]
test eax, eax
jge 0x405dc5
lea eax, [ebp - 0x78]
push eax
push 0x104
call dword [0x449208]
lea eax, [ebp - 0x78]
push eax
mov ecx, edi
call fcn.00403118
push str.Thunder_NetworkXLLiveUD_
mov ecx, edi
call fcn.00402aea
xor eax, eax
push 0x206
push eax
mov word [ebp + 0x190], ax
lea eax, [ebp + 0x192]
push eax
call fcn.0042c310
push dword [ebp - 0x80]
lea eax, [ebp + 0x190]
push dword [ebp - 0x7c]
push ebx
push str._s__s__s_StartupInfo.xml
push eax
call dword [0x449384]
add esp, 0x20
lea eax, [ebp + 0x190]
push eax
mov ecx, edi
call fcn.00402aea
mov ecx, dword [ebp + 0x398]
xor ecx, ebp
call fcn.0042c2f3
add ebp, 0x39c
leave
ret

Function at 0x406593
Capabilities:
Create thread

Disassembly:
push 0x20c
mov eax, 0x4450ed
call fcn.0042e60e
xor ebx, ebx
push ebx
push 1
mov dword [ebp - 0x214], esi
lea edi, [esi + 8]
call fcn.0040445a
pop ecx
pop ecx
cmp eax, ebx
je 0x4065bf
mov dword [eax], edi
jmp 0x4065c1
xor eax, eax
mov dword [edi], eax
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
lea eax, [esi + 0x20]
push eax
mov dword [ebp - 4], 1
call fcn.00408477
lea eax, [esi + 0x38]
push eax
mov byte [ebp - 4], 2
call fcn.00408477
call dword [0x449218]
push eax
mov dword [esi + 0x54], eax
lea eax, [ebp - 0x210]
push 0x4524c0
push eax
call fcn.00406deb
mov edi, dword [0x4490c4]
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push ebx
push ebx
push ebx
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x58], eax
lea eax, [esi + 4]
push eax
push 4
push esi
push 0x406579
push ebx
push ebx
call fcn.0042db8c
add esp, 0x18
push eax
mov dword [esi], eax
call dword [0x449148]
mov eax, esi
call fcn.0042e691
ret
Function at 0x40be00
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x4411a8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x45ea14]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45ea14]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x20], ecx
call dword [0x4492dc]
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov dword [esp + 0x20], eax
jle 0x40bff7
mov dword [esp + 0x1c], 0x3d
mov ebp, 7
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + ebx*4]
xor edx, edx
mov eax, ecx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], edi
mov word [esp + 0x60], dx
lea esi, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x40be90
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x64]
call fcn.004036d1
push edi
xor eax, eax
push 0x4495c0
lea ecx, [esp + 0x48]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], edi
mov word [esp + 0x4c], ax
call fcn.004036d1
xor ecx, ecx
push edi
mov word [esp + 0x2c], cx
push 0x4495c0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x8c], 1
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], edi
call fcn.004036d1
push 1
push edi
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x68]
mov byte [esp + 0x90], 2
call fcn.0040a4d0
mov esi, eax
cmp esi, 0xffffffff
jne 0x40bf37
push eax
push 1
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x4c]
call fcn.00403628
push edi
push 0x4495c0
lea ecx, [esp + 0x2c]
call fcn.004036d1
jmp 0x40bf68
cmp esi, 1
jbe 0x40bf68
lea ecx, [esi - 1]
push ecx
push 1
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x4c]
call fcn.00403628
inc esi
cmp esi, dword [esp + 0x70]
jae 0x40bf68
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x30]
call fcn.00403628
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0040bc50
push 0xffffffffffffffff
push edi
lea edx, [esp + 0x2c]
push edx
mov ecx, eax
call fcn.00403085
mov esi, 8
cmp dword [esp + 0x3c], esi
jb 0x40bf9d
mov eax, dword [esp + 0x28]
push eax
call fcn.0042c02e
add esp, 4
xor ecx, ecx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], edi
mov word [esp + 0x28], cx
cmp dword [esp + 0x58], esi
jb 0x40bfbf
mov edx, dword [esp + 0x44]
push edx
call fcn.0042c02e
add esp, 4
xor eax, eax
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], edi
mov word [esp + 0x44], ax
mov dword [esp + 0x84], 0xffffffff
cmp dword [esp + 0x74], esi
jb 0x40bfec
mov ecx, dword [esp + 0x60]
push ecx
call fcn.0042c02e
add esp, 4
inc ebx
cmp ebx, dword [esp + 0x14]
jl 0x40be6f
xor eax, eax
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0042c2f3
add esp, 0x74
ret
Function at 0x40d780
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x441338
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x45ea14]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
sub esp, 0x1c
xor esi, esi
mov dword [esp + 0x24], esi
lea eax, [ecx + 0xb4]
mov ecx, esp
mov dword [esp + 0x24], esp
push 0xffffffffffffffff
push esi
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], esi
push eax
mov word [ecx + 4], dx
call fcn.00403085
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x38]
push esi
call fcn.0040fec0
mov ecx, eax
mov dword [esp + 0x34], 0xffffffff
call fcn.00410170
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4

Function at 0x40da20
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
xor edi, edi
test eax, eax
je 0x40da39
push eax
call dword [0x449358]
test eax, eax
jne 0x40da67
push 0
push ecx
mov eax, esp
push 0
push 0
push 0
mov dword [eax], edi
push ecx
mov eax, esp
mov dword [eax], edi
call dword [0x449334]
push eax
mov ecx, esi
call fcn.0040d810
mov edi, eax
mov eax, dword [esi + 4]
push 0
push eax
call dword [0x449360]
lea ebx, [esi + 0x3c]
push edi
mov ecx, ebx
call fcn.00412c30
cmp dword [esi + 0xb0], 8
jb 0x40da8f
mov esi, dword [esi + 0x9c]
push esi
mov ecx, ebx
call fcn.004171e0
xor eax, eax
pop edi
pop esi
pop ebx
ret
add esi, 0x9c
push esi
mov ecx, ebx
call fcn.004171e0
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x411ce0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4423c8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x45ea14]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebp
push esi
push edi
mov eax, dword [0x45ea14]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x44]
xor eax, eax
mov esi, ecx
mov ecx, dword [esp + 0x40]
mov word [esp + 0x14], ax
mov eax, ecx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x411d37
sub eax, edi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004036d1
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.004112a0
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.00410c00
mov eax, dword [esp + 0x14]
mov edi, 8
cmp dword [esp + 0x28], edi
jae 0x411d84
lea eax, [esp + 0x14]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push ecx
push edx
push ebp
push eax
call fcn.0041cdd0
add esp, 0x10
mov esi, eax
cmp dword [esp + 0x28], edi
jb 0x411dad
mov eax, dword [esp + 0x14]
push eax
call fcn.0042c02e
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0042c2f3
add esp, 0x2c
ret 0x10
Function at 0x413fd0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x45ea14]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
mov esi, dword [esp + 0x214]
push 0x208
lea eax, [esp + 8]
push 0
push eax
call fcn.0042c310
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0x10
push 0
call dword [0x4492d4]
lea eax, [esp + 4]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414020
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.004036d1
mov ecx, dword [esp + 0x20c]
pop esi
xor ecx, esp
mov eax, 1
call fcn.0042c2f3
add esp, 0x20c
ret
Function at 0x4171e0
Capabilities:
Create thread

Disassembly:
push edi
mov edi, ecx
cmp dword [edi + 0x54], 0
je 0x4171f2
mov eax, 0x80004005
pop edi
ret 4
mov edx, dword [esp + 8]
mov eax, edx
push esi
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x417200
sub eax, esi
sar eax, 1
push eax
lea esi, [edi + 0x38]
push edx
mov ecx, esi
call fcn.004036d1
cmp dword [edi + 0x54], 0
jne 0x417282
cmp dword [edi + 0x4c], 0
jne 0x417231
pop esi
mov eax, 0x8618000d
pop edi
ret 4
lea eax, [esp + 0xc]
push eax
push 0
push edi
push 0x4171c0
push 0
push 0
mov dword [esp + 0x24], 0
call fcn.0042db8c
add esp, 0x18
mov dword [edi + 0x54], eax
cmp dword [esi + 0x18], 8
jb 0x417272
mov esi, dword [esi + 4]
push esi
call fcn.00409c30
mov ecx, eax
call fcn.00409ce0
pop esi
xor eax, eax
pop edi
ret 4
add esi, 4
push esi
call fcn.00409c30
mov ecx, eax
call fcn.00409ce0
pop esi
xor eax, eax
pop edi
ret 4

Function at 0x417450
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x210
mov eax, dword [0x45ea14]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, dword [esp + 0x21c]
push esi
mov esi, dword [esp + 0x224]
push edi
mov edi, dword [esp + 0x220]
xor eax, eax
push 0x208
push eax
lea ecx, [esp + 0x16]
push ecx
mov dword [esi], 0
mov word [esp + 0x18], ax
call fcn.0042c310
add esp, 0xc
push ebx
push edi
lea edx, [esp + 0x14]
push edx
call dword [0x449318]
lea eax, [esp + 0xc]
push eax
call dword [0x44931c]
test eax, eax
jne 0x4174bf
mov eax, 0x8618000a
jmp 0x4174da
lea ecx, [esp + 0xc]
push ecx
call dword [0x4490a8]
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0x79e7fffa
add eax, 0x86180006
mov ecx, dword [esp + 0x218]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042c2f3
add esp, 0x210
ret 0xc

Function at 0x41c6b0
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [0x44931c]
test eax, eax
je 0x41c6d9
push esi
call dword [0x449314]
test eax, eax
jne 0x41c6d9
mov eax, dword [esp + 0xc]
mov dword [eax], 1
xor eax, eax
pop esi
ret
mov ecx, dword [esp + 0xc]
mov dword [ecx], 0
xor eax, eax
pop esi
ret

Function at 0x41c6f0
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [0x44931c]
test eax, eax
je 0x41c719
push esi
call dword [0x449314]
test eax, eax
je 0x41c719
mov eax, dword [esp + 0xc]
mov dword [eax], 1
xor eax, eax
pop esi
ret
mov ecx, dword [esp + 0xc]
mov dword [ecx], 0
xor eax, eax
pop esi
ret

Function at 0x41c750
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [0x4490b8]
cmp dword [esp + 0xc], 0
je 0x41c779
push esi
call dword [0x44931c]
test eax, eax
je 0x41c779
push 4
push 0
push esi
call dword [0x449110]
xor eax, eax
pop esi
ret