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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [0x101a4738], 0x1dce
mov dword [ebp - 0x10], eax
call fcn.1019f942
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1019ea45
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x101a4734], 0x18ed
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x1019eaa2
jmp 0x1019eaad
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [0x101a4738], 0x1dce
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edx
jmp 0x1019eac1
mov eax, dword [ebp - 0x30]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
jmp 0x1019ea7c
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x44]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x4e], cl
je 0x1019eb12
mov eax, dword [ebp - 0x4c]
add eax, 1
mov cl, byte [ebp - 0x4d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x48], eax
jne 0x1019eac1
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x1019eb48
jmp 0x1019eb1b
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov edx, dword [ebp - 0x40]
add edx, 2
mov esi, dword [ebp - 0x2c]
cmp ecx, esi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x30], eax
jb 0x1019ea7c
jmp 0x1019eaa2
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax]
mov dword [0x101a4734], 0x1941
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x101a4738], 0x92b
mov dword [ebp - 0x30], edi
jmp 0x1019eaa2
Function at 0x1019ee96
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x24
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x1019ef1a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x1019ef8c
jmp 0x1019efab
mov dword [0x101a4734], 0x3d46
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x1019ef68
jmp 0x1019efab
mov eax, dword [ebp - 0x1c]
mov dword [0x101a4738], 0x258e
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
je 0x1019ef49
jmp 0x1019efab
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
je 0x1019eef9
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], eax
jl 0x1019ef1a
jmp 0x1019eef9
mov dword [0x101a4734], 0x636
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1019eedb
jmp 0x1019efab
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1019efab
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x1019eec3
jmp 0x1019efab
mov eax, 1
mov ecx, 0x18d0
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
je 0x1019efba
xor eax, eax
mov ecx, 0x1088
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x1019efba
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [0x101a4734], eax
mov eax, ecx
add esp, 0x24
pop esi
pop ebp
ret
Function at 0x1019f18c
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 [0x101a4740], 0
mov byte [0x101a4744], 0
mov edi, dword [0x101a4734]
add edi, 0xfffff8e9
mov dword [0x101a4738], edi
mov dword [0x101a473c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1019f1ec
xor eax, eax
mov dword [0x101a473c], 0
mov dword [ebp - 0x20], eax
jmp 0x1019f228
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov dword [0x101a4734], 0x7c1
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x101a4738], 0x17ea
mov eax, dword [0x101a473c]
add eax, 1
mov dword [0x101a473c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1019f1ec
jmp 0x1019f1db
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x101a4748], 0
mov edi, dword [0x101a4740]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x101a4748], esi
mov dword [0x101a4734], 0xa1b
mov eax, esi
cdq
idiv ecx
mov dword [0x101a4740], edx
mov dword [0x101a4738], 0xd32
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x101a4744], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x101a4744]
mov esi, dword [0x101a4740]
mov byte [ebx + esi], cl
mov esi, dword [0x101a473c]
add esi, 1
mov dword [0x101a473c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1019f228
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1019f67d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x101a4738], 0x1e49
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x1019f6e9
lea eax, [ebp - 0x24]
mov dword [0x101a4738], 0x1a22
mov ecx, dword [0x101a4734]
add ecx, 0xffffefe3
mov dword [0x101a4734], ecx
mov dword [ebp - 0x34], eax
call fcn.1019eb7a
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1019e78a
cmp eax, 0
mov dword [ebp - 0x38], eax
jne 0x1019f715
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101a02cc]
mov dh, byte [eax + 0x101a029d]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
je 0x1019f6a1
jmp 0x1019f6e9
mov dword [0x101a4734], 0x2091
mov eax, dword [ebp - 0x38]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.1019efd8
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x101a4734], 0x1f7a
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx], ecx
mov dword [0x101a4738], 0x8aa
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x3c], ecx
add ecx, 0x125e
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x1019f7b3
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x1019fac0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0x1e25
xor ebx, ebx
mov dword [0x101a473c], 0
mov dword [0x101a4740], 0
mov dword [0x101a474c], 0
mov dword [0x101a4734], 0xfa3
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, ebx
mov dword [ebp - 0x14], eax
mov eax, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x1019fc52
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, 0x100
mov edi, edx
add edi, 1
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101a473c], edx
mov dword [0x101a4734], 0x3264
mov ecx, dword [ebp - 0x24]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x30]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x101a4740], edx
mov ecx, dword [0x101a4738]
add ecx, 0xfffff82b
mov dword [0x101a4738], ecx
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x101a4744], cl
mov dword [0x101a4734], 0x26b4
mov ebx, dword [ebp - 0x24]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov dword [0x101a4738], 0x112a
mov cl, byte [0x101a4744]
mov edx, dword [0x101a4740]
mov byte [ebx + edx], cl
mov edx, dword [0x101a473c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101a4740]
movzx ecx, byte [ebx + ecx]
add ecx, edx
mov dword [0x101a4738], 0x55d
and ecx, 0xff
mov dword [0x101a474c], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x34]
mov ch, byte [edx + esi]
mov dword [0x101a4734], 0x65f
mov dword [0x101a4738], 0xffffdf97
xor ch, cl
mov edx, dword [ebp - 0x20]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x3c], edi
jne 0x1019fc36
mov eax, dword [0x101a4734]
add eax, 0xe82
mov dword [ebp - 0x2c], eax
jmp 0x1019fc52
mov eax, dword [0x101a473c]
mov ecx, dword [0x101a4740]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], ecx
jmp 0x1019fb2b
mov eax, dword [ebp - 0x2c]
mov dword [0x101a4734], eax
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1019fc62
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov edx, dword [0x101a4734]
mov esi, edx
add esi, 0xffffdde0
mov dword [0x101a4738], esi
add edx, 0xffffe928
mov dword [0x101a4734], edx
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1019f39b
lea ecx, [0x1019f121]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x38], edx
mov dword [esp + 0x8c], 0x150000
mov edx, dword [0x101a4720]
mov dword [esp + 0x64], edx
mov edx, dword [0x101a4724]
mov dword [esp + 0x74], edx
mov edx, dword [0x101a4728]
mov dword [esp + 0x48], edx
mov edx, dword [0x101a472c]
mov dword [esp + 0x3c], edx
mov dword [0x101a4734], 0x5bd
mov edx, dword [0x101a4730]
mov dword [esp + 0x44], edx
mov dword [0x101a4738], 0xfffff4b2
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x1019fd1e
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x1019fd0c
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
jne 0x1019fd0c
mov eax, dword [esp + 0x10]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x60], edx
mov dword [0x101a4734], 0xe1c
call fcn.1019ee96
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x1019fd9e
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1019f67d
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x1006ffd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c
push esi
push edi
call fcn.1006e8e4
mov edi, dword [esp + 0x38]
push eax
push edi
call sub.glib_lite.dll_Ordinal_413
mov esi, eax
pop ecx
pop ecx
mov eax, dword [esi + 0x74]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x1006fffb
xor eax, eax
jmp 0x10070184
cmp eax, dword [esi + 0x1f0]
je 0x1006fff4
push ebx
push ebp
lea ebx, [esi + 0xc]
push ebx
call sub.glib_lite.dll_Ordinal_213
pop ecx
jmp 0x10070014
lea ebx, [esi + 0xc]
push dword [esp + 0x44]
push edi
call fcn.1002a825
pop ecx
pop ecx
test eax, eax
jne 0x10070175
push ebx
call sub.glib_lite.dll_Ordinal_212
mov eax, dword [esi + 0x1f8]
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
lea eax, [esi + 0xc]
push eax
call sub.glib_lite.dll_Ordinal_213
push edi
call fcn.1002b710
add esp, 0xc
cmp ebp, edx
jb 0x1007005b
ja 0x10070055
cmp ebx, eax
jbe 0x1007005b
sub ebx, eax
sbb ebp, edx
jmp 0x1007006c
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
push ebp
push ebx
push edi
call fcn.1002d6cd
add esp, 0x10
mov dword [esp + 0x10], eax
cmp eax, 4
je 0x1007009b
cmp dword [edi + 0x168], 0
jne 0x10070175
cmp eax, 2
je 0x10070011
call fcn.10083a8f
push eax
push dword [esi + 0x1f0]
call sub.glib_lite.dll_Ordinal_413
push eax
call fcn.10083a5e
add esp, 0xc
push edx
push eax
call fcn.10083a8f
push eax
push dword [esi + 0x1f0]
call sub.glib_lite.dll_Ordinal_413
pop ecx
pop ecx
push eax
call fcn.10083975
mov dword [esp + 0x24], eax
lea eax, [esi + 0xc]
push eax
mov dword [esp + 0x24], edx
call sub.glib_lite.dll_Ordinal_212
mov edi, dword [esi + 0x78]
add esp, 0x10
add edi, ebx
mov ebx, dword [esi + 0x7c]
adc ebx, ebp
cmp dword [esp + 0x10], 1
jne 0x100700fd
add edi, dword [esp + 0x24]
adc ebx, dword [esp + 0x28]
push esi
call fcn.1006e427
lea eax, [esp + 0x30]
xor ebp, ebp
push eax
lea eax, [esp + 0x3c]
push eax
push ebp
push ebp
push dword [esi + 0x1f0]
call fcn.10030026
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [esp + 0x58]
push dword [esp + 0x58]
push ebx
push edi
push dword [esp + 0x44]
push dword [esp + 0x4c]
push dword [esi + 0x1f0]
call fcn.1003a700
mov eax, dword [esi + 0x1f8]
add esp, 0x3c
cmp dword [eax + 8], ebp
jne 0x10070160
push dword [esp + 0x20]
push dword [esi + 0x1f0]
call fcn.10030542
pop ecx
pop ecx
push esi
call fcn.1006f830
push 3
push esi
call fcn.1006de9e
add esp, 0xc
xor eax, eax
jmp 0x10070182
lea eax, [esi + 0xc]
push eax
call sub.glib_lite.dll_Ordinal_212
pop ecx
push 0xfffffffffffffffe
pop eax
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x2c
ret
Function at 0x401000
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x4348c0], 0x24e1
mov eax, dword [0x4348c0]
sub eax, 0x24e1
mov dword [0x4348c0], eax
mov ecx, 1
test ecx, ecx
je 0x4010ab
mov edx, dword [0x4348c0]
cmp edx, dword [ebp + 0xc]
jb 0x401037
jmp 0x4010ab
cmp dword [0x4348c0], 0
jne 0x401055
push 0x263
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x401055
xor eax, eax
jmp 0x4010ab
mov eax, dword [ebp + 8]
add eax, dword [0x4348c0]
mov ecx, dword [eax]
add ecx, dword [0x4348c0]
mov edx, dword [ebp + 8]
add edx, dword [0x4348c0]
mov dword [edx], ecx
mov dword [ebp - 4], 0x3c615bf
mov eax, dword [0x4348c0]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 2]
push edx
mov eax, dword [ebp + 8]
add eax, dword [0x4348c0]
push eax
call fcn.004012b0
add esp, 8
mov ecx, dword [0x4348c0]
add ecx, 4
mov dword [0x4348c0], ecx
jmp 0x40101d
mov esp, ebp
pop ebp
ret
Function at 0x401100
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 8]
push eax
push dword [esi + 0x1c]
push esi
push 0x4011b0
push dword [esi + 0x14]
push dword [esi + 0x18]
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 4], eax
xor ecx, ecx
cmp eax, 0xffffffff
cmovne eax, ecx
pop esi
ret

Function at 0x4011a0
Capabilities:
Resume thread

Disassembly:
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
ret

Function at 0x401210
Capabilities:
Suspend thread

Disassembly:
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
xor eax, eax
ret

Function at 0x401220
Capabilities:
Check os version
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x433fbc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x90
lea eax, [ebp - 0x94]
mov esi, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x94], 5
jbe 0x401285
cmp byte [esi + 0x20], 0
jne 0x401297
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CancelSynchronousIo]
test eax, eax
setne al
mov byte [esi + 0x20], al
jmp 0x401297
push 0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_CancelIo]
push 0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
mov byte [esi + 0x21], al
xor eax, eax
pop esi
call fcn.0041e5b5
mov esp, ebp
pop ebp
ret
Function at 0x41d550
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x433fbc]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, 1
test ecx, ecx
je 0x41d64d
test ebx, ebx
je 0x41d64d
test eax, eax
je 0x41d64d
push edi
push 0
lea eax, [ebp - 0x3c]
mov dword [ebx], 0
push eax
push 0
push 0x40
push 0
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__sopen_dispatch]
mov edi, dword [ebp - 0x3c]
or ecx, 0xffffffff
add esp, 0x18
test eax, eax
cmovne edi, ecx
cmp edi, ecx
jne 0x41d5ca
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e5b5
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x34]
push eax
push edi
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__fstat64i32]
xor ecx, ecx
test eax, eax
mov eax, dword [ebp - 0x20]
cmovne esi, ecx
mov ecx, dword [ebp - 0x38]
push eax
mov dword [ecx], eax
call fcn.0041e619
mov ecx, eax
add esp, 0xc
mov dword [ebx], ecx
test ecx, ecx
jne 0x41d614
push edi
xor esi, esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e5b5
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x41d630
mov eax, dword [ebp - 0x38]
push dword [eax]
push ecx
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
xor ecx, ecx
add esp, 0xc
cmp ecx, eax
sbb eax, eax
and esi, eax
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e5b5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e5b5
mov esp, ebp
pop ebp
ret
Function at 0x407763
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.0040664e
and dword [ebp - 4], 0
cmp dword [0x40e488], 0
mov ebx, eax
jne 0x407814
push 0x401860
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4078c5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401854
push edi
call esi
test eax, eax
je 0x4078c5
push eax
call fcn.004065dc
mov dword [esp], 0x401844
push edi
mov dword [0x40e488], eax
call esi
push eax
call fcn.004065dc
mov dword [esp], 0x401830
push edi
mov dword [0x40e48c], eax
call esi
push eax
call fcn.004065dc
mov dword [esp], 0x401814
push edi
mov dword [0x40e490], eax
call esi
push eax
call fcn.004065dc
pop ecx
mov dword [0x40e498], eax
test eax, eax
je 0x407814
push 0x4017fc
push edi
call esi
push eax
call fcn.004065dc
pop ecx
mov dword [0x40e494], eax
mov eax, dword [0x40e494]
cmp eax, ebx
je 0x40786c
cmp dword [0x40e498], ebx
je 0x40786c
push eax
call fcn.00406657
push dword [0x40e498]
mov esi, eax
call fcn.00406657
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40786c
test edi, edi
je 0x40786c
call esi
test eax, eax
je 0x407863
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407863
test byte [ebp - 0xc], 1
jne 0x40786c
or dword [ebp + 0x10], 0x200000
jmp 0x4078a5
mov eax, dword [0x40e48c]
cmp eax, ebx
je 0x4078a5
push eax
call fcn.00406657
pop ecx
test eax, eax
je 0x4078a5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4078a5
mov eax, dword [0x40e490]
cmp eax, ebx
je 0x4078a5
push eax
call fcn.00406657
pop ecx
test eax, eax
je 0x4078a5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40e488]
call fcn.00406657
pop ecx
test eax, eax
je 0x4078c5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4078c7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4095f8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40da28]
jne 0x409602
repz ret
jmp fcn.0040ad25

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
jmp 0x431219