joyce8/EMBER2024-capa huggingface dataset:
Function at 0x526ec0
Capabilities:
Check for software breakpoints

Disassembly:
cmp dword [esi + 0x14], 0xcc
je 0x526ee3
mov eax, dword [esi + 0x1a8]
push esi
call dword [eax]
mov dword [esi + 0x8c], 0
mov dword [esi + 0x14], 0xcc
mov ecx, dword [esi + 0x1a8]
mov eax, dword [ecx + 8]
test eax, eax
je 0x526f09
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x30
call dword [eax]
mov edx, dword [esi + 0x1a8]
mov eax, dword [edx + 8]
test eax, eax
jne 0x526ef0
mov edx, dword [esi + 0x44]
xor eax, eax
test edx, edx
setne al
add eax, 0xcd
mov dword [esi + 0x14], eax
mov eax, 1
ret

Function at 0x526fc0
Capabilities:
Check for software breakpoints

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x526ff7
push esi
call fcn.00558d80
mov eax, dword [esi + 0x40]
test eax, eax
je 0x526ff0
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
pop ebp
ret 4
mov dword [esi + 0x14], 0xcb
mov ecx, dword [esi + 0x14]
cmp ecx, 0xcb
jne 0x527076
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x527060
nop
mov eax, dword [esi + 8]
test eax, eax
je 0x52701a
push esi
call dword [eax]
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
test eax, eax
je 0x527059
cmp eax, 2
je 0x527060
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x527010
cmp eax, 3
je 0x52703d
cmp eax, 1
jne 0x527010
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
cmp eax, dword [ecx + 8]
jl 0x527010
mov eax, dword [ecx + 8]
mov edx, dword [esi + 0x144]
add eax, edx
mov dword [ecx + 8], eax
jmp 0x527010
xor eax, eax
pop esi
pop ebp
ret 4
mov eax, dword [esi + 0x94]
mov dword [esi + 0x9c], eax
call fcn.00526ec0
pop esi
pop ebp
ret 4
cmp ecx, 0xcc
je 0x52708d
mov eax, dword [esi]
mov dword [eax + 0x14], 0x14
push esi
mov dword [eax + 0x18], ecx
call dword [eax]
call fcn.00526ec0
pop esi
pop ebp
ret 4

Function at 0x52d89d
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push esi
lea eax, [ebp - 0x24]
mov esi, ecx
and dword [esi], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp + 0xc]
and dword [esi + 8], 0
and dword [esi + 0xc], 0
and dword [esi + 0x10], 0
mov dword [esi + 4], ecx
lea eax, [ecx + eax - 1]
dec ecx
not ecx
and eax, ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
mov dword [esi + 4], eax
jne 0x52d8e2
mov ecx, 0x100000
lea ecx, [eax + ecx - 1]
dec eax
not eax
and ecx, eax
mov dword [esi + 0x14], ecx
mov eax, esi
pop esi
leave
ret 8
Function at 0x55a206
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x55a215
xor eax, eax
jmp 0x55a2f8
mov eax, dword [esp + 0xc]
cmp eax, 8
push ebx
push esi
mov esi, dword [esp + 0xc]
not esi
mov ecx, 0xff
jb 0x55a2d8
push edi
mov edi, eax
shr edi, 3
xor ebx, ebx
mov bl, byte [edx]
sub eax, 8
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x5ab120]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x5ab120]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x5ab120]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x5ab120]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x5ab120]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x5ab120]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x5ab120]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x5ab120]
inc edx
dec edi
jne 0x55a235
pop edi
test eax, eax
je 0x55a2f2
xor ebx, ebx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x5ab120]
inc edx
dec eax
jne 0x55a2dc
mov eax, esi
pop esi
not eax
pop ebx
ret 0xc
Function at 0x55a499
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebx + 0x24]
push esi
mov dword [ebp - 8], edx
push edi
mov ecx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x34]
mov esi, dword [ebx + 0x6c]
sub eax, ecx
sub eax, esi
mov dword [ebp - 4], eax
jne 0x55a4c5
test ecx, ecx
jne 0x55a4cf
test esi, esi
jne 0x55a4cf
mov eax, edx
jmp 0x55a540
cmp eax, 0xffffffff
jne 0x55a4cf
push 0xfffffffffffffffe
pop eax
jmp 0x55a540
mov esi, dword [ebx + 0x24]
lea esi, [edx + esi - 0x106]
cmp ecx, esi
jb 0x55a540
mov edi, dword [ebx + 0x30]
mov ecx, edx
mov eax, ecx
shr ecx, 2
lea esi, [edi + edx]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x44]
mov eax, dword [ebx + 0x3c]
sub dword [ebx + 0x68], edx
sub dword [ebx + 0x64], edx
sub dword [ebx + 0x54], edx
lea eax, [eax + ecx*2]
dec eax
dec eax
movzx esi, word [eax]
mov edi, esi
sub edi, edx
cmp esi, edx
sbb esi, esi
not esi
and esi, edi
dec ecx
mov word [eax], si
jne 0x55a505
mov eax, dword [ebx + 0x38]
mov esi, edx
lea eax, [eax + edx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edi, ecx
sub edi, edx
cmp ecx, edx
sbb ecx, ecx
not ecx
and ecx, edi
dec esi
mov word [eax], cx
jne 0x55a524
mov eax, dword [ebp - 4]
add eax, edx
mov esi, dword [ebx]
cmp dword [esi + 4], 0
mov dword [ebp - 0xc], esi
je 0x55a5ed
mov edi, dword [ebx + 0x6c]
add edi, dword [ebx + 0x64]
mov ecx, dword [esi + 4]
add edi, dword [ebx + 0x30]
cmp ecx, eax
mov dword [ebp - 4], ecx
jbe 0x55a565
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x55a56f
xor ecx, ecx
jmp 0x55a5ae
sub ecx, dword [ebp - 4]
mov eax, dword [esi + 0x1c]
mov dword [esi + 4], ecx
cmp dword [eax + 0x18], 0
jne 0x55a591
push dword [ebp - 4]
push dword [esi]
push dword [esi + 0x30]
call fcn.00580b03
mov edx, dword [ebp - 8]
mov dword [esi + 0x30], eax
mov ecx, dword [ebp - 4]
mov esi, dword [esi]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov eax, dword [ebp - 0xc]
add dword [eax], ecx
add dword [eax + 8], ecx
add dword [ebx + 0x6c], ecx
mov edi, dword [ebx + 0x6c]
cmp edi, 3
jb 0x55a5d9
mov eax, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
lea esi, [eax + ecx]
movzx eax, byte [esi]
mov ecx, dword [ebx + 0x50]
mov dword [ebx + 0x40], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp edi, 0x106
jae 0x55a5ed
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x55a4a7
pop edi
pop esi
leave
ret
Function at 0x588e14
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
push ebp
push ebx
push esi
mov dword [esp], eax
test eax, eax
je 0x588ec1
mov esi, eax
mov edx, dword [esi]
xor eax, eax
mov byte [edx + 0x16], al
mov ecx, dword [esi]
mov byte [ecx + 0x17], al
mov ebx, dword [esi]
mov byte [ebx + 0x18], al
mov ebp, dword [esi]
mov byte [ebp + 0x19], al
mov ebp, dword [esi + 4]
test ebp, ebp
jle 0x588e6b
mov eax, esi
mov edx, dword [eax]
xor ecx, ecx
xor ebx, ebx
movzx esi, byte [edx + ebx]
mov edi, ecx
shl edi, 8
shr ecx, 0x18
xor ecx, esi
mov eax, ecx
mov ecx, edi
xor ecx, dword [eax*4 + 0x5afbc0]
inc ebx
cmp ebx, ebp
jl 0x588e4b
jmp 0x588e71
mov eax, esi
mov edx, dword [eax]
xor ecx, ecx
mov eax, dword [esp]
mov edi, dword [eax + 0xc]
test edi, edi
jle 0x588e9f
mov ebp, dword [eax + 8]
xor esi, esi
movzx eax, byte [ebp + esi]
mov ebx, ecx
shl ebx, 8
shr ecx, 0x18
xor ecx, eax
mov eax, ecx
mov ecx, ebx
xor ecx, dword [eax*4 + 0x5afbc0]
inc esi
cmp esi, edi
jl 0x588e80
mov esi, dword [esp]
mov byte [edx + 0x16], cl
mov ebp, dword [esi]
mov eax, ecx
shr eax, 8
mov byte [ebp + 0x17], al
mov ebx, dword [esi]
mov edx, ecx
shr edx, 0x10
mov byte [ebx + 0x18], dl
mov edi, dword [esi]
shr ecx, 0x18
mov byte [edi + 0x19], cl
pop ecx
pop ebx
pop ebp
pop esi
pop edi
ret

Function at 0x589c00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
mov dword [ebp - 8], edx
push esi
push edi
xor esi, esi
mov eax, dword [ebx + 0x3c]
mov eax, dword [eax + ebx + 0x78]
add eax, ebx
mov dword [ebp - 4], eax
mov edi, dword [eax + 0x20]
add edi, ebx
cmp dword [eax + 0x18], esi
jbe 0x589c54
mov edx, dword [edi]
xor eax, eax
add edx, ebx
mov cl, byte [edx]
test cl, cl
je 0x589c43
ror eax, 7
lea edx, [edx + 1]
movsx ecx, cl
add eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x589c32
cmp eax, dword [ebp - 8]
je 0x589c5d
mov eax, dword [ebp - 4]
inc esi
add edi, 4
cmp esi, dword [eax + 0x18]
jb 0x589c26
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
pop edi
mov eax, dword [edx + 0x24]
lea eax, [eax + esi*2]
movzx ecx, word [eax + ebx]
mov eax, dword [edx + 0x1c]
pop esi
lea eax, [eax + ecx*4]
mov eax, dword [eax + ebx]
add eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402ed5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x402ee4
pop dword [ebp - 4]
mov eax, 0x402ee4
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x29203f44
sub dword [ebp - 0x14], 0xdacdf9f9
mov dword [ebp - 0x10], 0x2d6162f
sub dword [ebp - 0x10], 0xd0a2c9ea
mov dword [ebp - 0xc], 0xffee8ab9
add dword [ebp - 0xc], 0x4c5db975
mov dword [ebp - 8], 0x306c814b
add dword [ebp - 8], 0xcf937eb5
lea eax, [ebp - 0x14]
push eax
mov eax, 0x1645dc6e
sub eax, 0x16055b6a
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0x887f6027
add dword [ebp - 0x14], 0xebf3092f
mov dword [ebp - 0x10], 0xcf16aba7
add dword [ebp - 0x10], 0x7255b5ce
mov dword [ebp - 0xc], 0xb6c33bd3
sub dword [ebp - 0xc], 0x5353cf67
mov dword [ebp - 8], 0x6d5d40cb
sub dword [ebp - 8], 0x6d5d40cb
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, 0xc04707f
sub eax, 0xbc3ef7f
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x2f90b
push 0
call eax
mov ecx, 0x2a1e
mov esi, eax
mov edi, 0xeaadeb3e
add edi, 0x1598f8c2
add edi, dword [ebp - 4]
mov ebx, 0x2bd27de2
sub ebx, 0x7d0e39c6
mov edx, dword [edi]
xor edx, ebx
mov dword [esi], edx
add esi, 0x85bffa9
sub esi, 0x85bffa5
add edi, 4
loop 0x402ffb
add eax, 0xa09d1189
sub eax, 0xa09c763e
xor ebx, ebx
add ebx, eax
add eax, 0xd6a955a
sub eax, 0xd6a9555
mov ecx, 0x5299102a
add ecx, 0xada6efd6
add ecx, dword [ebp - 4]
call ebx
leave
ret

Function at 0x40317b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x4031a6
mov ecx, dword [0x42a298]
push esi
add eax, ecx
push esi
push eax
mov dword [0x418ed4], eax
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_SetFilePointer]
push 4
call fcn.00403283
cmp eax, esi
jl 0x40327d
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a01c]
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp + 8]
add dword [0x418ed4], 4
call fcn.00403283
mov ebx, eax
cmp ebx, esi
jl 0x40327b
cmp dword [ebp + 0x10], esi
jne 0x403249
cmp dword [ebp + 8], esi
jle 0x40327b
mov esi, 0x414ed0
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x40320b
mov eax, 0x4000
push eax
push esi
push dword [0x40a01c]
mov dword [ebp - 4], eax
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.00402ed5
test eax, eax
je 0x403245
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x418ed4], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x4031fa
jmp 0x40327b
push 0xfffffffffffffffe
jmp 0x40326f
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x403254
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x403272
push 0xfffffffffffffffd
pop eax
jmp 0x40327d
mov ebx, dword [ebp - 4]
add dword [0x418ed4], ebx
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10
Function at 0x4030c0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x603d70]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x605b18], 0
jne 0x403169
lea eax, [ebp - 0x18]
push eax
push 0x28
mov dword [0x605b18], 1
call dword [0x5a224c]
push eax
call dword [0x5a2004]
test eax, eax
je 0x403169
lea ecx, [ebp - 0x20]
push ecx
push str.SeDebugPrivilege
push 0
call dword [section..rdata]
test eax, eax
jne 0x40312b
mov edx, dword [ebp - 0x18]
push edx
call dword [0x5a2248]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055d11a
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push 0
push 0
push 0x10
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
push 0
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 2
call dword [0x5a2028]
test eax, eax
jne 0x403169
mov ecx, dword [ebp - 0x18]
push ecx
call dword [0x5a2248]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055d11a
mov esp, ebp
pop ebp
ret

Function at 0x404df0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58290b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x603d70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.x.0
call fcn.0057cb0a
push 4
mov dword [ebp - 4], 0
call fcn.0045e9bf
mov edi, eax
add esp, 4
test edi, edi
je 0x404e70
call fcn.0057c7cc
mov dword [edi], eax
call fcn.0057c58b
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0057c4c0
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x404e66
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0057c4e8
jmp 0x404e72
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407880
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582ba8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x603d70]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x4079a1
cmp byte [edi + 0x49], bl
je 0x4079a1
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x407995
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x4078f5
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x40790d
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x407936
dec eax
je 0x40793a
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x407990
jmp 0x40799c
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x40794a
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x407973
cmp ebx, 0x10
jae 0x407959
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.0055e89c
add esp, 0x10
cmp esi, eax
jne 0x40798d
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x407999
test esi, esi
jne 0x407901
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00406db0
jmp 0x4078fb
lea ecx, [ebp - 0x2c]
call fcn.0042aea0
xor al, al
jmp 0x4079a3
lea ecx, [ebp - 0x2c]
call fcn.0042aea0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055d11a
mov esp, ebp
pop ebp
ret
Function at 0x40d760
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x1bc]
mov eax, dword [ecx]
cmp eax, ecx
jne 0x40d787
mov eax, dword [ebp + 8]
pop esi
mov dword [eax], 1
mov eax, 1
pop ebx
pop ebp
ret 4
push edi
lea edi, [eax + 8]
push edi
lea ecx, [esi + 0x1d4]
call fcn.00406d40
push 0
push 0
lea ecx, [esi + 0x1d0]
push ecx
push 0x426450
push 0
push 0
call fcn.00560bd0
add esp, 0x18
mov dword [esi + 0x1cc], eax
test eax, eax
jne 0x40d7c4
pop edi
pop esi
pop ebx
pop ebp
ret 4
push edi
lea ecx, [esi + 0x1c8]
call fcn.00406d40
lea ecx, [esi + 0x1bc]
call fcn.0040c400
mov edx, dword [ebp + 8]
pop edi
mov dword [esi + 0x1b8], 1
pop esi
mov dword [edx], 0
mov eax, 1
pop ebx
pop ebp
ret 4
Function at 0x4179c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x603d70]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x6060ec], 0
jne 0x4179e1
call fcn.004178c0
push 0x3ff
lea eax, [ebp - 0x403]
push 0
push eax
mov byte [ebp - 0x404], 0
call fcn.0055d200
lea ecx, [ebp - 0x40c]
push ecx
call fcn.0055e3d8
lea edx, [ebp - 0x40c]
push edx
call fcn.0055e3b1
push eax
push 0x5a7ea0
lea eax, [ebp - 0x404]
push 0x7f
push eax
call fcn.005605c1
lea eax, [ebp - 0x404]
add esp, 0x24
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417a33
sub eax, edx
mov edx, dword [ebp + 8]
lea ecx, [ebp + 0xc]
push ecx
push edx
lea eax, [ebp + eax - 0x404]
push eax
call fcn.0055d940
lea eax, [ebp - 0x404]
add esp, 0xc
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417a60
sub eax, edx
lea ecx, [ebp + eax - 0x404]
push 0x5a7e9c
push ecx
call fcn.0055e47c
lea edx, [ebp - 0x404]
push edx
call fcn.00560f33
mov edx, dword [0x6060e8]
add esp, 0xc
test edx, edx
je 0x417ac9
lea eax, [ebp - 0x404]
push esi
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417aa0
push edx
sub eax, esi
push eax
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.0055e89c
mov ecx, dword [0x6060e8]
push ecx
call fcn.0055f6c2
add esp, 0x14
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055d11a
mov esp, ebp
pop ebp
ret
Function at 0x41bd60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x20], 0
jne 0x41bd88
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x41bd40
push 0
push 0
call fcn.00560bd0
add esp, 0x18
mov dword [esi + 0x20], eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41c790
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x584369
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x603d70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x14]
mov dword [esi + 0x14], edx
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 0x1c]
mov dword [esi + 0x1c], ecx
mov edx, dword [edi + 0x20]
mov dword [esi + 0x20], edx
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x2c]
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x38]
mov dword [esi + 0x38], edx
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x40], ecx
mov edx, dword [edi + 0x44]
mov dword [esi + 0x44], edx
mov al, byte [edi + 0x48]
mov byte [esi + 0x48], al
mov cl, byte [edi + 0x49]
mov byte [esi + 0x49], cl
mov dl, byte [edi + 0x4a]
mov byte [esi + 0x4a], dl
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov ecx, dword [edi + 0x50]
mov dword [esi + 0x50], ecx
mov edx, dword [edi + 0x54]
mov dword [esi + 0x54], edx
mov eax, dword [edi + 0x58]
mov dword [esi + 0x58], eax
mov ecx, dword [edi + 0x5c]
mov dword [esi + 0x5c], ecx
mov edx, dword [edi + 0x60]
mov dword [esi + 0x60], edx
mov eax, dword [edi + 0x64]
mov dword [esi + 0x64], eax
mov ecx, dword [edi + 0x68]
mov dword [esi + 0x68], ecx
mov edx, dword [edi + 0x6c]
mov dword [esi + 0x6c], edx
mov eax, dword [edi + 0x70]
mov dword [esi + 0x70], eax
mov ecx, dword [edi + 0x74]
mov dword [esi + 0x74], ecx
xor ebx, ebx
push 0xffffffffffffffff
lea ecx, [esi + 0x78]
push ebx
lea edx, [edi + 0x78]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.00406e60
lea ecx, [esi + 0x94]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
mov dword [ebp - 4], ebx
mov byte [ecx], bl
push 0xffffffffffffffff
push ebx
lea eax, [edi + 0x94]
push eax
call fcn.00406e60
push 0xffffffffffffffff
lea ecx, [esi + 0xb0]
push ebx
lea edx, [edi + 0xb0]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edx
mov byte [ebp - 4], 1
mov byte [ecx], bl
call fcn.00406e60
mov eax, dword [edi + 0xcc]
mov dword [esi + 0xcc], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4