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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
xor eax, eax
and edx, 7
cmp ecx, 5
jae 0x40257c
leave
ret
add dword [ebp + 0x10], 5
or dword [ebp + 0xc], 0xffffffff
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea ecx, [edi + ecx - 4]
mov dword [ebp - 4], ecx
lea esi, [eax + edi]
jmp 0x40259f
mov al, byte [esi]
and al, 0xfe
cmp al, 0xe8
je 0x4025a4
inc esi
cmp esi, dword [ebp - 4]
jb 0x402596
mov eax, esi
sub eax, edi
cmp esi, dword [ebp - 4]
mov dword [ebp - 8], eax
jae 0x402699
mov ecx, eax
sub ecx, dword [ebp + 0xc]
cmp ecx, 3
jbe 0x4025f8
xor edx, edx
mov cl, byte [esi + 4]
test cl, cl
mov dword [ebp + 0xc], eax
je 0x4025cf
cmp cl, 0xff
jne 0x402623
xor ebx, ebx
mov bh, cl
movzx ecx, byte [esi + 2]
mov bl, byte [esi + 3]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [esi + 1]
shl ebx, 8
or ebx, ecx
mov edi, ebx
cmp dword [ebp + 0x18], 0
je 0x402631
lea ebx, [edi + eax]
add ebx, dword [ebp + 0x10]
jmp 0x402638
dec ecx
shl edx, cl
and edx, 7
je 0x4025c0
movzx ecx, byte [edx + 0x474870]
mov ebx, esi
sub ebx, ecx
cmp byte [edx + 0x474868], 0
mov cl, byte [ebx + 4]
je 0x402620
test cl, cl
je 0x402620
cmp cl, 0xff
jne 0x4025c0
mov dword [ebp + 0xc], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x402591
sub edi, eax
sub edi, dword [ebp + 0x10]
mov ebx, edi
test edx, edx
je 0x40266c
movzx edi, byte [edx + 0x474870]
push 0x18
shl edi, 3
pop ecx
sub ecx, edi
mov eax, ebx
shr eax, cl
test al, al
je 0x402657
cmp al, 0xff
jne 0x402669
mov eax, dword [ebp - 8]
push 0x20
pop ecx
sub ecx, edi
xor edi, edi
inc edi
shl edi, cl
dec edi
xor edi, ebx
jmp 0x4025ea
mov eax, dword [ebp - 8]
mov edi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [esi + 2], cl
mov byte [esi + 1], bl
add eax, 5
jmp 0x402591
mov esi, eax
sub esi, dword [ebp + 0xc]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
pop edi
and ecx, edx
mov edx, dword [ebp + 0x14]
pop esi
mov dword [edx], ecx
pop ebx
leave
ret

Function at 0x40440a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push eax
call fcn.0043c7c6
mov ecx, dword [ebp + 8]
push eax
mov dword [ecx], eax
call fcn.004043cc
add esp, 0x1c
leave
ret

Function at 0x40f791
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40f7b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40f7b7
xor al, al
jmp 0x40f7d7
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.0043e1a0
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4
Function at 0x41009a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x4100a8
and dword [esi], 0
xor eax, eax
inc eax
cmp dword [ebp + 0x10], 0
jbe 0x4100e0
mov eax, 0x8000
cmp dword [ebp + 0x10], eax
jae 0x4100be
mov eax, dword [ebp + 0x10]
push 0
lea ecx, [ebp + 0x10]
push ecx
push eax
push dword [ebp + 0xc]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test esi, esi
je 0x4100e0
mov ecx, dword [ebp + 0x10]
add dword [esi], ecx
test eax, eax
setne al
push eax
call fcn.0040fed3
pop ecx
pop esi
pop ebp
ret 0x10

Function at 0x4116bc
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
push ecx
mov dword [eax + 0x20], esi
lea ecx, [ebp - 0x18]
push ecx
mov dword [eax + 0x24], edi
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x18]
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x41170a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x411737
and eax, 0xffff
or eax, 0x80070000
jmp 0x411737
add esi, 0x100000
adc edi, 0
cmp edi, dword [ebp - 4]
jb 0x411726
ja 0x41171f
cmp esi, dword [ebp - 8]
jbe 0x411726
mov eax, 0x80070070
jmp 0x411737
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
call dword [eax + 0xc]
neg al
sbb eax, eax
and eax, 0x80004004
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x41ed07
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add esp, 4
pop ecx
mov eax, dword [ebp - 0x408]
mov cl, byte [eax + 0xa]
mov byte [ebp - 0x3c2], cl
mov edx, dword [ebp - 0xae8]
sub edx, dword [ebp - 0x408]
mov dword [ebp - 0x16c0], edx
mov dword [ebp - 0xd04], 0
push edi
or edi, 0x9c4d
call 0x41ed07
add byte [ebx], bh
inc esp
cmp edi, dword [0x833e4641]
les eax, [edi + ebx*2]
push esi
or esi, 0x8e6c
or esi, 0x3853
add esi, 0x16bdf
xor esi, 0x6209
pop esi
mov byte [ebp - 0x9f4], 0x56
mov byte [ebp - 0x9f3], 0x69
mov byte [ebp - 0x9f2], 0x72
mov byte [ebp - 0x9f1], 0x74
mov byte [ebp - 0x9f0], 0x75
mov byte [ebp - 0x9ef], 0x61
mov byte [ebp - 0x9ee], 0x6c
mov byte [ebp - 0x9ed], 0x50
mov byte [ebp - 0x9ec], 0x72
mov byte [ebp - 0x9eb], 0x6f
mov byte [ebp - 0x9ea], 0x74
mov byte [ebp - 0x9e9], 0x65
mov byte [ebp - 0x9e8], 0x63
mov byte [ebp - 0x9e7], 0x74
mov byte [ebp - 0x9e6], 0
push edi
push eax
add esp, 4
call 0x41ed9f
add byte [edx + 0x4f], cl
xor dl, byte [eax + 0x4a]
inc eax
add esp, 4
or edi, 0xb93
call 0x41edb6
add byte [edi + ecx*2], dh
cmp eax, 0x46504a4f
push eax
add esp, 4
and edi, 0xe841
pop edi
mov eax, dword fs:[0x18]
mov dword [ebp - 0x19cc], eax
mov ecx, dword [ebp - 0x19cc]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x19d0], edx
mov eax, dword [ebp - 0x19d0]
mov dword [ebp - 0x1634], eax
push ecx
call 0x41edf5
add byte [eax + 0x47], cl
xor eax, 0x324c4340
add esp, 4
add ecx, 0x9333
sub ecx, 0xc3c
pop ecx
push ecx
or ecx, 0x176cf
or ecx, 0x1180f
or ecx, 0x14785
pop ecx
cmp dword [ebp - 0x1634], 0
jne 0x41ee31
mov dword [ebp - 0x2fc], 0
jmp 0x41f0d8
mov ecx, dword [ebp - 0x1634]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xce0], eax
push eax
push edi
add esp, 4
and eax, 0x853e
call 0x41ee5c
add byte [edx + 0x50], cl
inc ecx
dec esp
xor eax, 0x8333434e
les eax, [eax + ebx*2]
push edi
or edi, 0xf5e8
and edi, 0x10955
jmp 0x41ee74
pop edi
cmp dword [ebp - 0xce0], 0
jne 0x41ee8d
mov dword [ebp - 0x2fc], 0
jmp 0x41f0d8
mov ecx, dword [ebp - 0xce0]
mov dword [ebp - 0x448], ecx
Function at 0x43b70c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x491bb8]
jne 0x43b716
repz ret
jmp fcn.0044417e
Function at 0x4418cb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x441908
cmp dword [ebp + 0x14], edi
je 0x441908
cmp ecx, edi
jne 0x44190f
call fcn.00440c00
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0043e795
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x441923
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x441944
cmp ebx, 0xffffffff
je 0x441933
push ebx
push edi
push ecx
call fcn.0043e270
add esp, 0xc
cmp esi, edi
je 0x4418f0
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x4418f0
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x441960
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x441967
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x441a58
test word [esi + 0xc], 0x10c
je 0x4419bb
mov eax, dword [esi + 4]
test eax, eax
je 0x4419bb
jl 0x441ab9
cmp ebx, eax
mov edi, ebx
jb 0x44198c
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x441a60
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0043e5a3
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x441a50
cmp ebx, dword [ebp - 0xc]
jb 0x441a28
cmp dword [ebp - 0xc], 0
je 0x4419e5
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x4419da
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x4419e1
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x4419f0
mov eax, SysReAllocString
cmp ebx, eax
ja 0x4419f0
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x441a8c
push eax
push dword [ebp - 8]
push esi
call fcn.0044151b
pop ecx
push eax
call fcn.0044d104
add esp, 0xc
test eax, eax
je 0x441acb
cmp eax, 0xffffffff
je 0x441ab9
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x441a50
push esi
call fcn.0044ca23
cmp eax, 0xffffffff
pop ecx
je 0x441abd
cmp dword [ebp - 4], 0
je 0x441a8c
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x44196f
mov eax, dword [ebp + 0x14]
jmp 0x44190a
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x441a77
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0043e270
add esp, 0xc
call fcn.00440c00
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x441900
cmp dword [ebp + 0xc], 0xffffffff
je 0x441aa2
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0043e270
add esp, 0xc
call fcn.00440c00
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x441900
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x44190a
or dword [esi + 0xc], 0x10
jmp 0x441abd
Function at 0x442eef
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x491d80]
je 0x442f0a
inc edi
cmp edi, 0x17
jb 0x442efb
cmp edi, 0x17
jae 0x44308a
push ebp
push 3
call fcn.0044e2e2
cmp eax, 1
pop ecx
je 0x443056
push 3
call fcn.0044e2e2
test eax, eax
pop ecx
jne 0x442f3e
cmp dword [0x491bb4], 1
je 0x443056
cmp ebx, 0xfc
je 0x443089
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x495ab0
push ebp
call fcn.00446fdc
add esp, 0xc
test eax, eax
je 0x442f74
push esi
push esi
push esi
push esi
push esi
call fcn.0043e699
add esp, 0x14
push 0x104
mov esi, 0x495ac9
push esi
push 0
mov byte [0x495bcd], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x442fb8
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00446fdc
add esp, 0xc
test eax, eax
je 0x442fb8
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0043e699
add esp, 0x14
push esi
call fcn.0043e1e0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x442ffd
push esi
call fcn.0043e1e0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x495dc4
push 0x47a824
sub ecx, eax
push ecx
push eax
call fcn.00449766
add esp, 0x14
test eax, eax
je 0x442ffd
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0043e699
add esp, 0x14
jmp 0x442fff
xor esi, esi
push 0x47a820
push ebx
push ebp
call fcn.004496a4
add esp, 0xc
test eax, eax
je 0x44301f
push esi
push esi
push esi
push esi
push esi
call fcn.0043e699
add esp, 0x14
push dword [edi*8 + 0x491d84]
push ebx
push ebp
call fcn.004496a4
add esp, 0xc
test eax, eax
je 0x443041
push esi
push esi
push esi
push esi
push esi
call fcn.0043e699
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0044e125
add esp, 0xc
jmp 0x443089
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x443089
cmp ebp, 0xffffffff
je 0x443089
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x491d84]
push dword [esi]
call fcn.0043e1e0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x44e125
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00443ab3
xor ebx, ebx
cmp dword [0x4965b8], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x44e1fb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x44e2db
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x44e2db
push eax
call fcn.00443a45
mov dword [esp], 0x47bb88
push edi
mov dword [0x4965b8], eax
call esi
push eax
call fcn.00443a45
mov dword [esp], 0x47bb74
push edi
mov dword [0x4965bc], eax
call esi
push eax
call fcn.00443a45
mov dword [0x4965c0], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0043ef7c
test eax, eax
pop ecx
pop ecx
je 0x44e1c9
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043e699
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x44e1fb
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00443a45
cmp eax, ebx
pop ecx
mov dword [0x4965c8], eax
je 0x44e1fb
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00443a45
pop ecx
mov dword [0x4965c4], eax
mov eax, dword [0x4965c4]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x44e280
cmp dword [0x4965c8], ecx
je 0x44e280
push eax
call fcn.00443abc
push dword [0x4965c8]
mov esi, eax
call fcn.00443abc
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x44e280
cmp edi, ebx
je 0x44e280
call esi
cmp eax, ebx
je 0x44e24d
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44e24d
test byte [ebp - 0x18], 1
jne 0x44e280
lea eax, [ebp - 0x10]
push eax
call fcn.0043efb3
test eax, eax
pop ecx
je 0x44e268
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043e699
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x44e277
or dword [ebp + 0x10], 0x200000
jmp 0x44e2bb
or dword [ebp + 0x10], 0x40000
jmp 0x44e2bb
mov eax, dword [0x4965bc]
cmp eax, dword [ebp - 8]
je 0x44e2bb
push eax
call fcn.00443abc
cmp eax, ebx
pop ecx
je 0x44e2bb
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x44e2bb
mov eax, dword [0x4965c0]
cmp eax, dword [ebp - 8]
je 0x44e2bb
push eax
call fcn.00443abc
cmp eax, ebx
pop ecx
je 0x44e2bb
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4965b8]
call fcn.00443abc
cmp eax, ebx
pop ecx
je 0x44e2db
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44e2dd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x453e3e
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x491bb8]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00453dd3
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0043e270
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x453e8d
cmp dword [ebp - 0x1c], 5
jb 0x453ea5
jmp 0x453ea1
cmp dword [ebp - 0x10], 1
jne 0x453ea5
cmp dword [ebp - 0x1c], 4
ja 0x453ea1
jne 0x453ea5
cmp dword [ebp - 0x18], 0
jbe 0x453ea5
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x47cb20
call fcn.00453cc4
test eax, eax
jge 0x453ec6
mov byte [0x493ad4], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043b70c
add ebp, 0x78
leave
ret
Function at 0x4552a0
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x4552c8
mov eax, dword [eax + 0x2c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
sete al
test al, al
je 0x4552c8
xor al, al
pop esi
ret 0xc
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4552d8
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
push ebx
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
push ecx
mov edx, ebx
mov dword [esi + 4], eax
mov eax, dword [esp + 0x14]
or edx, 4
push edx
push eax
push 0
push esi
push 0x455190
mov byte [esi + 0xc], 0
call fcn.0042c2e7
test eax, eax
mov dword [esi + 8], eax
je 0x45532e
test bl, 4
mov dword [eax + 0x28], 0
jne 0x45532e
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
cmp dword [esi + 8], eax
pop ebx
setne al
pop esi
ret 0xc

Function at 0x459cf0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
xor eax, eax
cmp ecx, edx
je 0x459d21
push esi
push edi
mov esi, eax
mov edi, eax
shl esi, 6
shr edi, 2
add esi, edi
movzx edi, word [ecx]
lea esi, [esi + edi - 0x61c88647]
add ecx, 2
xor eax, esi
cmp ecx, edx
jne 0x459d00
pop edi
pop esi
ret
Function at 0x45f7f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x472008
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x491bb8]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx]
mov ecx, dword [eax + 0x140]
sub ecx, dword [eax + 0x13c]
add eax, 0x138
cmp dword [ebx + 0x78], ecx
jne 0x45f8c0
mov eax, dword [ebx + 0x84]
test eax, eax
lea ecx, [ebx + 0x80]
je 0x45f8c0
mov edx, dword [ecx + 8]
sub edx, eax
sar edx, 2
je 0x45f8c0
call fcn.0045c180
mov eax, dword [eax]
cmp eax, dword [esp + 0x44]
jle 0x45f8c0
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x18]
test al, 3
jne 0x45f86b
test eax, 0x1000000
je 0x45f8c0
push str.Cant_terminate_a_sub_expression_with_an_alternation_operator_.
lea ecx, [esp + 0x1c]
call fcn.00412cde
mov eax, dword [ebx + 0x64]
sub eax, dword [ebx + 0x5c]
lea edx, [esp + 0x18]
push edx
sar eax, 1
push eax
push 0x11
mov ecx, ebx
mov dword [esp + 0x48], 0
call fcn.0045f6f0
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0xffffffff
call fcn.004128b3
xor al, al
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret 4
lea esi, [ebx + 0x80]
jmp 0x45f8d0
mov eax, dword [esi + 4]
test eax, eax
je 0x45f9ae
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 2
je 0x45f9ae
mov edi, dword [esi + 8]
cmp eax, edi
jbe 0x45f8f5
call fcn.0043e7b9
lea eax, [edi - 4]
cmp eax, dword [esi + 8]
mov dword [esp + 0x14], edi
ja 0x45f906
cmp eax, dword [esi + 4]
jae 0x45f90b
call fcn.0043e7b9
add edi, 0xfffffffc
cmp edi, dword [esi + 8]
jb 0x45f918
call fcn.0043e7b9
mov edx, dword [esp + 0x44]
cmp dword [edi], edx
jle 0x45f9ae
mov edi, dword [esi + 8]
cmp dword [esi + 4], edi
jbe 0x45f931
call fcn.0043e7b9
lea eax, [edi - 4]
cmp eax, dword [esi + 8]
mov dword [esp + 0x14], edi
ja 0x45f942
cmp eax, dword [esi + 4]
jae 0x45f947
call fcn.0043e7b9
add edi, 0xfffffffc
cmp edi, dword [esi + 8]
jb 0x45f954
call fcn.0043e7b9
mov eax, dword [esi + 4]
test eax, eax
mov edx, dword [edi]
je 0x45f96f
mov ecx, dword [esi + 8]
mov edi, ecx
sub edi, eax
sar edi, 2
je 0x45f96f
add ecx, 0xfffffffc
mov dword [esi + 8], ecx
mov eax, dword [ebx]
mov ecx, dword [eax + 0x13c]
mov edi, dword [eax + 0x140]
add eax, 0x138
sub edi, ecx
add edi, 3
and edi, 0xfffffffc
add edi, ecx
mov dword [eax + 8], edi
mov eax, dword [ebx]
mov ecx, dword [eax + 0x140]
sub ecx, dword [eax + 0x13c]
mov eax, dword [eax + 0x13c]
sub ecx, edx
mov dword [eax + edx + 8], ecx
jmp 0x45f8d0
mov al, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret 4
Function at 0x10028d10
Capabilities:
Hide graphical window

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.10002270
xor eax, eax
ret
Function at 0x406222
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x406246
xor eax, eax
test eax, eax
je 0x406258
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406258
xor ecx, ecx
jmp 0x40625b
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x409014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

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

Disassembly:
cmp dword [0x4222c4], 0
push esi
jne 0x40633c
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 0x406316
mov dword [ecx*4 + 0x4222c0], eax
inc ecx
cmp ecx, 0x100
jl 0x406311
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40636d
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 + 0x4222c0]
xor eax, esi
inc ecx
dec edx
jne 0x40634f
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219