joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5fe660
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5fe7de
sub esp, 0x5c
lea eax, [0x74ca00]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
lea ecx, [eax + 1]
mov dword [esp + 0x3c], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.004426a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
nop
lea edi, [esp + 0x40]
xor eax, eax
call fcn.00456d5a
mov dword [esp + 0x40], 1
movss xmm0, dword [0x7c9bc0]
movss dword [esp + 0x4c], xmm0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x3c]
xor edx, edx
jmp 0x5fe6e4
lea ebx, [edx + edx*2]
lea edi, [eax + ebx*8]
lea esi, [esp + 0x40]
call fcn.00457234
inc edx
mov ecx, dword [esp + 0x3c]
cmp edx, ecx
jae 0x5fe6ef
jb 0x5fe6d0
jmp 0x5fe7d6
mov edx, dword [esp + 0x60]
mov dword [esp], edx
mov ebx, dword [esp + 0x64]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x68]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0xc], ebp
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x18], ebp
mov esi, dword [esp + 0x80]
mov dword [esp + 0x1c], esi
mov edi, dword [esp + 0x84]
mov dword [esp + 0x20], edi
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
call fcn.005fdfb0
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x2c], eax
call fcn.005fd880
add esp, 0x5c
ret
mov eax, edx
call fcn.00456b50
nop
call fcn.00455690
jmp fcn.005fe660
Function at 0x61d330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x61d50c
sub esp, 0x70
mov eax, dword [esp + 0x8c]
cmp eax, 5
jl 0x61d361
mov ecx, dword [esp + 0x84]
cmp ecx, 0x40
jae 0x61d365
add esp, 0x70
ret
mov edx, dword [esp + 0x74]
mov dword [esp], edx
mov ebx, dword [esp + 0x78]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x7c]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x80]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0x88]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x90]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x94]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x98]
mov dword [esp + 0x24], edi
call fcn.0061cfe0
movzx eax, byte [esp + 0x28]
test al, al
jne 0x61d3f9
lea edi, [esp + 0x4c]
xor eax, eax
call fcn.00456d57
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
add edx, ecx
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x74]
mov esi, dword [esp + 0x88]
jmp 0x61d409
add esp, 0x70
ret
add ecx, 0x1000
mov edx, dword [esp + 0x30]
mov ebp, eax
lea edi, [ecx + 0x40]
cmp edi, edx
ja 0x61d464
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 1
mov dword [esp + 0x48], 2
mov eax, ecx
and eax, esi
cmp ebx, eax
jbe 0x61d504
movzx edx, byte [eax + ebp]
shr dl, 6
movzx edx, dl
mov edx, dword [esp + edx*4 + 0x3c]
lea edx, [edx + edx*2]
mov eax, ebp
lea ebp, [ecx + 1]
jmp 0x61d4c5
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
lea eax, [esp + 0x4c]
mov dword [esp + 4], eax
mov dword [esp + 8], 9
mov dword [esp + 0xc], 9
mov eax, dword [esp + 0x94]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], eax
call fcn.0061cc70
jmp 0x61d3f9
inc dword [esp + edx*4 + 0x4c]
mov edx, dword [esp + 0x2c]
inc edx
mov ebp, dword [esp + ebp*4 + 0x3c]
lea ebp, [ebp + ebp*2]
mov dword [esp + 0x34], eax
mov eax, ebp
mov ebp, edx
mov edx, eax
mov eax, dword [esp + 0x34]
cmp ebp, edi
jae 0x61d3fd
mov dword [esp + 0x2c], ebp
and ebp, esi
cmp ebx, ebp
jbe 0x61d4fb
movzx ebp, byte [ebp + eax]
xchg ebp, eax
shr al, 6
xchg ebp, eax
xchg ebp, eax
movzx eax, al
xchg ebp, eax
add edx, dword [esp + ebp*4 + 0x3c]
cmp edx, 9
jb 0x61d4a6
mov eax, edx
mov ecx, 9
call fcn.00456b40
mov eax, ebp
mov ecx, ebx
call fcn.00456b50
mov ecx, ebx
call fcn.00456b50
nop
call fcn.00455690
jmp fcn.0061d330
Function at 0x624350
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x624516
sub esp, 0x3c
mov edx, dword [esp + 0x40]
mov ebx, dword [edx + 0x38]
mov ebp, dword [edx + 0x3c]
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
and esi, eax
mov ecx, dword [esp + 0x48]
cmp ecx, esi
jb 0x62450e
mov dword [esp + 0x38], ebx
mov edi, dword [esp + 0x4c]
sub edi, esi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, esi
sub ecx, esi
mov esi, dword [edx + 0x2c]
mov ebx, dword [edx + 0x30]
mov edx, dword [edx + 0x28]
cmp ecx, 7
jbe 0x624504
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov ecx, ebp
mov ebp, dword [esp + 0x44]
movzx ebx, byte [ebp + edi]
movzx edx, byte [ebp + edi + 1]
mov dword [esp + 0x34], edx
shl edx, 8
or ebx, edx
movzx edx, byte [ebp + edi + 2]
mov dword [esp + 0x30], edx
shl edx, 0x10
or edx, ebx
movzx ebx, byte [ebp + edi + 3]
mov dword [esp + 0x2c], ebx
shl ebx, 0x18
or ebx, edx
and ebx, esi
mov dword [esp + 0x28], ebx
mov eax, ebx
mov esi, 0xd3579bd3
mul esi
mov dword [esp + 0x24], edx
mov esi, dword [esp + 8]
lea ebx, [esi - 0x20]
mov dword [esp + 0x20], ebx
cmp ebx, 0x20
sbb edx, edx
mov dword [esp + 0x1c], edx
cmp esi, 0x20
sbb edx, edx
mov dword [esp + 0x18], edx
neg ebx
mov dword [esp + 0x14], ebx
cmp ebx, 0x20
sbb edx, edx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x34]
shr edx, 0x18
mov ebx, dword [esp + 0x30]
shr ebx, 0x10
or ebx, edx
mov edx, dword [esp + 0x2c]
shr edx, 8
or edx, ebx
movzx ebx, byte [ebp + edi + 4]
or ebx, edx
movzx edx, byte [ebp + edi + 5]
shl edx, 8
or edx, ebx
movzx ebx, byte [ebp + edi + 6]
shl ebx, 0x10
or ebx, edx
movzx edx, byte [ebp + edi + 7]
shl edx, 0x18
or edx, ebx
mov ebx, dword [esp + 0xc]
and edx, ebx
imul edx, edx, 0xd3579bd3
mov ebx, dword [esp + 0x24]
add edx, ebx
mov ebx, dword [esp + 0x28]
imul ebx, ebx, 0x1fe35a7b
add edx, ebx
mov ebx, ecx
mov ecx, esi
shr eax, cl
mov ecx, dword [esp + 0x20]
mov ebp, edx
shr edx, cl
mov ecx, dword [esp + 0x14]
shl ebp, cl
mov esi, dword [esp + 0x18]
and eax, esi
mov esi, dword [esp + 0x10]
and ebp, esi
or eax, ebp
mov ebp, dword [esp + 0x1c]
and edx, ebp
or eax, edx
cmp ebx, eax
jbe 0x6244fd
mov edx, dword [esp + 0x40]
mov ecx, dword [edx + 8]
cmp ecx, 0x20
sbb ebx, ebx
mov ebp, dword [esp + 0x38]
movzx esi, word [ebp + eax*2]
and esi, dword [edx + 0x34]
mov edi, eax
shl eax, cl
and eax, ebx
add eax, esi
mov ecx, dword [edx + 0x48]
mov edx, dword [edx + 0x44]
cmp ecx, eax
jbe 0x6244f8
mov ecx, dword [esp + 0x54]
mov dword [edx + eax*4], ecx
movzx eax, word [ebp + edi*2]
inc eax
mov word [ebp + edi*2], ax
add esp, 0x3c
ret
call fcn.00456b50
mov ecx, ebx
call fcn.00456b50
mov eax, 7
call fcn.00456b40
mov eax, esi
call fcn.00456bb0
nop
call fcn.00455690
jmp fcn.00624350
Function at 0x627040
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6271e1
sub esp, 0x40
mov ecx, dword [esp + 0x4c]
cmp ecx, 7
jbe 0x6271d6
mov edx, dword [esp + 0x44]
mov ebx, dword [edx + 0x28]
shl ebx, 3
lea ecx, [ebx - 0x40]
neg ecx
mov dword [esp + 0x3c], ecx
cmp ecx, 0x20
sbb eax, eax
mov dword [esp + 0x38], eax
mov ebx, dword [esp + 0x48]
movzx ebp, byte [ebx]
movzx esi, byte [ebx + 1]
mov edi, esi
shl esi, 8
or ebp, esi
movzx esi, byte [ebx + 2]
mov dword [esp + 0x34], esi
shl esi, 0x10
or esi, ebp
movzx ebp, byte [ebx + 3]
mov dword [esp + 0x30], ebp
shl ebp, 0x18
or ebp, esi
mov esi, ebp
shl ebp, cl
and ebp, eax
mov dword [esp + 0x2c], ebp
mov eax, ebp
mov ebx, 0x1e35a7bd
mul ebx
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x44]
mov ebx, dword [ebx + 0x20]
add ebx, 0xffffffc0
neg ebx
mov dword [esp + 0x24], ebx
lea ebp, [ebx - 0x20]
mov dword [esp + 0x20], ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
mov dword [esp + 0x1c], ebp
cmp ebp, 0x20
sbb ebp, ebp
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x20]
cmp ebp, 0x20
sbb ebp, ebp
mov dword [esp + 0x14], ebp
cmp ebx, 0x20
sbb ebp, ebp
mov dword [esp + 0x10], ebp
lea ebp, [ecx - 0x20]
mov dword [esp + 0xc], ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
cmp ebp, 0x20
sbb ebx, ebx
mov dword [esp + 8], ebx
mov edx, dword [esp + 0xc]
cmp edx, 0x20
sbb ebx, ebx
mov ecx, ebp
mov ebp, esi
shr esi, cl
mov dword [esp + 0xc], esi
shr edi, 0x18
mov ecx, ebx
mov ebx, dword [esp + 0x34]
shr ebx, 0x10
or ebx, edi
mov edi, dword [esp + 0x30]
shr edi, 8
or edi, ebx
mov ebx, dword [esp + 0x48]
movzx esi, byte [ebx + 4]
or esi, edi
movzx edi, byte [ebx + 5]
shl edi, 8
or esi, edi
movzx edi, byte [ebx + 6]
shl edi, 0x10
or esi, edi
movzx ebx, byte [ebx + 7]
shl ebx, 0x18
or ebx, esi
mov esi, ecx
mov ecx, dword [esp + 0x3c]
shl ebx, cl
mov ecx, edx
shl ebp, cl
mov edx, dword [esp + 0x38]
and ebx, edx
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 8]
and edx, edi
or edx, ebx
and ebp, esi
or edx, ebp
imul edx, edx, 0x1e35a7bd
mov ebx, dword [esp + 0x28]
add edx, ebx
mov ebx, dword [esp + 0x2c]
imul ebx, ebx, 0x1e35a7bd
add edx, ebx
mov ecx, dword [esp + 0x1c]
mov ebx, edx
shl edx, cl
mov ecx, dword [esp + 0x20]
shr ebx, cl
mov ecx, dword [esp + 0x24]
shr eax, cl
mov ebp, dword [esp + 0x10]
and eax, ebp
mov ebp, dword [esp + 0x18]
and edx, ebp
or eax, edx
mov edx, dword [esp + 0x14]
and ebx, edx
or ebx, eax
mov dword [esp + 0x54], ebx
add esp, 0x40
ret
mov eax, 7
call fcn.00456b40
nop
call fcn.00455690
jmp fcn.00627040
Function at 0x62bc80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x62bde9
sub esp, 0x44
mov eax, dword [esp + 0x6c]
cmp eax, 1
jne 0x62bd4a
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x10], eax
movzx eax, byte [esp + 0x5c]
mov byte [esp + 0x14], al
movzx eax, byte [esp + 0x5d]
mov byte [esp + 0x15], al
mov eax, dword [esp + 0x60]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x40], eax
call fcn.0062b6c0
jmp 0x62bde5
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x10], ecx
movzx ecx, byte [esp + 0x5c]
mov byte [esp + 0x14], cl
movzx ecx, byte [esp + 0x5d]
mov byte [esp + 0x15], cl
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x40], eax
call fcn.0062b6c0
add esp, 0x44
ret
call fcn.00455690
jmp fcn.0062bc80
Function at 0x64fb60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x64fd21
sub esp, 0x58
mov edx, dword [esp + 0x5c]
movzx ebx, byte [edx + 2]
test bl, bl
je 0x64fbb4
mov byte [edx + 2], 0
mov ebx, dword [0x7076ac]
mov dword [esp + 0x1c], ebx
mov ebp, dword [str.Connection]
mov dword [esp + 0x34], ebp
mov eax, dword [edx + 0x70]
mov dword [esp + 0x38], eax
mov esi, dword [edx + 0x78]
mov dword [esp + 0x20], esi
mov ecx, ebp
mov ebp, dword [edx + 0x74]
xor edi, edi
jmp 0x64fbc1
add esp, 0x58
ret
inc edi
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x20]
cmp ebp, edi
jle 0x64fced
cmp edi, ebp
jae 0x64fd17
imul esi, edi, 0x1c
mov dword [esp + 0x2c], esi
lea edx, [eax + esi]
mov esi, dword [eax + esi]
cmp dword [edx + 4], ebx
jne 0x64fbb8
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x30], edx
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
call fcn.00403310
movzx eax, byte [esp + 0xc]
test al, al
jne 0x64fc1e
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
jmp 0x64fbb8
lea edi, [esp + 0x3c]
mov esi, dword [esp + 0x30]
call fcn.0045722a
lea eax, [0x747e80]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub ecx, edx
mov ebp, ecx
neg ecx
sar ecx, 0x1f
mov eax, dword [esp + 0x2c]
and ecx, eax
mov ebx, dword [esp + 0x38]
add ecx, ebx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x18]
sub ecx, edx
mov dword [esp + 8], ecx
dec ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
add eax, 0x1c
sar ebp, 0x1f
and eax, ebp
add eax, ebx
mov dword [esp + 0xc], eax
lea eax, [ecx - 1]
mov dword [esp + 0x10], eax
call fcn.0040fdc0
mov ecx, dword [esp + 0x18]
lea eax, [ecx - 1]
cmp ecx, eax
jbe 0x64fd12
imul ecx, ecx, 0x1c
mov edx, dword [esp + 0x38]
lea edi, [ecx + edx - 0x1c]
mov ecx, dword [0x901e80]
test ecx, ecx
jne 0x64fcaf
lea esi, [esp + 0x3c]
call fcn.0045722a
jmp 0x64fcd5
mov dword [esp + 0x28], eax
lea eax, [0x747e80]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.0040fcb0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x24]
lea edi, [ebx - 1]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x1c]
mov ebp, eax
mov eax, edx
jmp 0x64fbb8
mov dword [edx + 0x74], ebp
mov dword [edx + 0x78], esi
mov ecx, dword [0x901e80]
test ecx, ecx
jne 0x64fd05
mov dword [edx + 0x70], eax
jmp 0x64fbb4
lea edi, [edx + 0x70]
call fcn.00456ac0
jmp 0x64fbb4
call fcn.00456b40
mov eax, edi
mov ecx, ebp
call fcn.00456b40
nop
call fcn.00455690
jmp fcn.0064fb60
Function at 0x653ea0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x654078
sub esp, 0x5c
movzx ecx, byte [esp + 0x7c]
test cl, cl
je 0x653f78
lea edi, [esp + 0x24]
xor eax, eax
call fcn.00456d5a
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
call fcn.004090a0
mov ecx, dword [esp + 8]
lea edx, [0x7346e0]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x653f04
mov eax, dword [ecx + 4]
jmp 0x653f06
mov eax, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.00408f90
mov eax, dword [esp + 4]
lea ecx, [0x734020]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
lea eax, [0x779320]
mov dword [esp], eax
mov dword [esp + 4], 0x31
lea eax, [esp + 0x24]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.004a4ab0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x5c
ret
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 8], ecx
call fcn.00654570
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
lea edi, [esp + 0x3c]
xor eax, eax
call fcn.00456d58
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
call fcn.004090a0
mov eax, dword [esp + 8]
lea ecx, [0x7346e0]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x653fe0
mov eax, dword [eax + 4]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.00408f90
mov eax, dword [esp + 4]
lea ecx, [0x734020]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
call fcn.004090a0
mov eax, dword [esp + 8]
lea ecx, [0x7346e0]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
lea eax, [0x77b0ed]
mov dword [esp], eax
mov dword [esp + 4], 0x3f
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 4
call fcn.004a4ab0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x5c
ret
call fcn.00455690
jmp fcn.00653ea0
Function at 0x66be50
Capabilities:
Create thread

Disassembly:
push ebp
xor ebp, ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [sym.imp.msvcrt.dll__errno]
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], edi
call dword [sym.imp.msvcrt.dll__beginthread]
cmp eax, 0xffffffff
jne 0x66beb8
call ebx
cmp dword [eax], 0xd
je 0x66bec0
call ebx
mov ebx, dword [eax]
mov dword [esp], 2
call dword [0x7126d8]
mov dword [esp + 4], str.runtime:_failed_to_create_new_OS_thread___d__n
mov dword [esp + 8], ebx
mov dword [esp], eax
call fcn.0066bb70
call sub.msvcrt.dll_abort
lea esi, [esi]
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebp
add ebp, 1
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 4
cmp ebp, 0x14
jne 0x66be67
jmp 0x66be88

Function at 0x66c000
Capabilities:
Get token membership

Disassembly:
sub esp, 0x4c
mov eax, 0x500
mov word [esp + 0x3e], ax
lea eax, [esp + 0x34]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x3a]
mov dword [esp + 0x3a], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x220
mov dword [esp + 8], 0x20
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
sub esp, 0x2c
mov dword [esp + 0x30], eax
test eax, eax
jne 0x66c090
test eax, eax
setne al
add esp, 0x4c
ret
lea eax, [esp + 0x30]
mov dword [esp], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
sub esp, 0xc
test eax, eax
jne 0x66c0bc
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
sub esp, 4
mov eax, dword [esp + 0x30]
test eax, eax
setne al
add esp, 0x4c
ret
Function at 0x671590
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.00672c80
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.00672c80
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x6715f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x908ef0]
test esi, esi
jle 0x671710
mov eax, dword [0x908ef4]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x671624
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x6716a7
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x671610
mov dword [esp], ebx
call fcn.00671f50
mov edi, eax
test eax, eax
je 0x671737
mov eax, dword [0x908ef4]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.00672090
mov edx, dword [0x908ef4]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x671717
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x6716a0
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x6716b0
add dword [0x908ef0], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 0x40
mov eax, 4
mov ecx, dword [esp + 0x20]
cmovne eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x908ef4]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x6716a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.00671590
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x67162e
mov eax, dword [0x908ef4]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.00671590
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.00671590
lea esi, [esi]
nop
Function at 0x671bd0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x908f0c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x908f04]
sub esp, 4
test ebx, ebx
je 0x671c25
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x671c1e
test esi, esi
je 0x671c1e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x671c00
mov dword [esp], 0x908f0c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x671f50
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x671f75
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x671f80
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x671f75
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test esi, esi
je 0x671fc8
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x671fbe
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x671fca
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x671fb0
xor eax, eax
pop ebx
pop esi
ret