joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4077c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45291c
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x46cc48]
xor eax, esp
mov dword [esp + 0x12c], eax
push esi
push edi
mov eax, dword [0x46cc48]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x74], 0
je 0x407862
lea ecx, [esp + 0xc]
call fcn.0040ed3e
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x14c], 0
call fcn.0042504e
or edi, 0xffffffff
cmp dword [esi + 0x58], 0
mov ecx, 0xb
mov edx, edi
mov byte [esp + 0x148], 1
mov word [esp + 0x14], cx
mov word [esp + 0x1c], dx
jne 0x40786c
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0xc]
mov dword [esp + 0x148], edi
call fcn.0040eda0
mov eax, 1
jmp 0x407998
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esi + 4]
call fcn.004014f0
mov edx, dword [esi + 0x58]
push edx
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
mov byte [esp + 0x150], 2
call fcn.00401260
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x14c], 3
call fcn.0040ed61
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 2
call fcn.0040eda0
lea ecx, [esp + 0x24]
mov byte [esp + 0x148], 1
call fcn.0040eda0
cmp dword [ebp + 8], 0
jne 0x407945
push 0x100
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jle 0x40791a
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.Microsoft_Agent
lea eax, [esp + 0x38]
push eax
call esi
test eax, eax
jne 0x407906
lea ecx, [esp + 0x14]
push ecx
jmp 0x40784c
push str.Advanced_Character_Options
lea edx, [esp + 0x38]
push edx
call esi
test eax, eax
je 0x407847
lea ecx, [esp + 0xc]
call fcn.00401110
test eax, eax
jne 0x40797b
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x14]
call fcn.004013b0
lea ecx, [esp + 0x24]
call fcn.0040eda0
jmp 0x40797b
mov eax, dword [esi + 0x24]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0040b78d
mov esi, eax
test esi, esi
je 0x40797b
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40797b
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x407847
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0xc]
mov dword [esp + 0x148], edi
call fcn.0040eda0
xor eax, eax
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.0043dbc3
mov esp, ebp
pop ebp
ret 4
Function at 0x40ecd4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40ed1b
call fcn.00428aaf
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40ed1b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40ed37
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040e84e
mov esi, eax
test edi, edi
je 0x40ed35
test ebx, ebx
je 0x40ed35
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x410bc4
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x454070
call fcn.0043e9ef
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x410be9
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x410c2f
lea ecx, [ebp - 0x10]
call fcn.00401600
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00410388
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401170
mov eax, esi
call fcn.0043eac7
ret 8

Function at 0x419bc1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.00428aaf
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x419bee
xor eax, eax
jmp 0x419c94
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x419be7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x419be7
movzx eax, word [esi + 6]
push ebx
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00408926
pop ecx
mov edi, eax
xor ecx, ecx
xor eax, eax
cmp cx, word [esi + 6]
jae 0x419c45
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
inc ecx
inc ecx
cmp eax, edx
jl 0x419c34
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.0041892f
push edi
mov ebx, eax
call fcn.00408955
pop ecx
test ebx, ebx
je 0x419c87
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.00418fd6
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.0041908a
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4
Function at 0x41d3bf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00428aaf
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41d3f8
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0041d010
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x41d456
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x41d47a
cmp dword [edi + 0x54], 0
jne 0x41d47a
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00428aaf
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0041d417
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41e5b5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x41e5fd
call fcn.00428aaf
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41e5fd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41e640
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x41e629
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x41e629
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41e63d
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x41f1ad
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 1
mov ecx, esi
test al, 1
je 0x41f1d1
mov eax, dword [esi]
push 0
call dword [eax + 0x98]
test eax, eax
jne 0x41f1df
pop esi
ret
mov eax, dword [esi + 0x24]
mov edx, dword [esi]
push eax
call dword [edx + 0x98]
jmp 0x41f1cb
xor eax, eax
inc eax
pop esi
ret
Function at 0x432b42
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x4547fd
call fcn.0043e9ef
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.004072a0
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x432ba4
call fcn.00428389
cmp eax, 1
jne 0x432ba4
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0041c1fa
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00407e80
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401170
mov dword [ebp + 8], SysReAllocStringLen
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401170
mov eax, esi
call fcn.0043eac7
ret 0x10

Function at 0x432bcd
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x4547fd
call fcn.0043e9ef
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.004072a0
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x432c2f
call fcn.00428389
cmp eax, 1
jne 0x432c2f
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0041c1fa
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00407e80
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401170
mov dword [ebp + 8], SysReAllocStringLen
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401170
mov eax, esi
call fcn.0043eac7
ret 0x14

Function at 0x43dbc3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46cc48]
jne 0x43dbcd
repz ret
jmp fcn.00443cdc
Function at 0x44c42e
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.004436d0
and dword [ebp - 4], 0
cmp dword [0x4709ec], 0
mov ebx, eax
jne 0x44c4df
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x44c590
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x45f314
push edi
call esi
test eax, eax
je 0x44c590
push eax
call fcn.0044365e
mov dword [esp], 0x45f304
push edi
mov dword [0x4709ec], eax
call esi
push eax
call fcn.0044365e
mov dword [esp], 0x45f2f0
push edi
mov dword [0x4709f0], eax
call esi
push eax
call fcn.0044365e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4709f4], eax
call esi
push eax
call fcn.0044365e
pop ecx
mov dword [0x4709fc], eax
test eax, eax
je 0x44c4df
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044365e
pop ecx
mov dword [0x4709f8], eax
mov eax, dword [0x4709f8]
cmp eax, ebx
je 0x44c537
cmp dword [0x4709fc], ebx
je 0x44c537
push eax
call fcn.004436d9
push dword [0x4709fc]
mov esi, eax
call fcn.004436d9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x44c537
test edi, edi
je 0x44c537
call esi
test eax, eax
je 0x44c52e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44c52e
test byte [ebp - 0xc], 1
jne 0x44c537
or dword [ebp + 0x10], 0x200000
jmp 0x44c570
mov eax, dword [0x4709f0]
cmp eax, ebx
je 0x44c570
push eax
call fcn.004436d9
pop ecx
test eax, eax
je 0x44c570
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x44c570
mov eax, dword [0x4709f4]
cmp eax, ebx
je 0x44c570
push eax
call fcn.004436d9
pop ecx
test eax, eax
je 0x44c570
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4709ec]
call fcn.004436d9
pop ecx
test eax, eax
je 0x44c590
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44c592
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44dae0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x443015
lea edi, [esi - 0x42015]
push edi
or ebp, 0xffffffff
jmp 0x44db02
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x44db09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44daf8
mov eax, 1
add ebx, ebx
jne 0x44db1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x44db2c
jne 0x44db4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44db4b
dec eax
add ebx, ebx
jne 0x44db38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x44db10
add ebx, ebx
jne 0x44db47
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x44db9d
xor ecx, ecx
sub eax, 3
jb 0x44db63
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x44dbd2
sar eax, 1
mov ebp, eax
jmp 0x44db6e
add ebx, ebx
jne 0x44db6e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44db3c
inc ecx
add ebx, ebx
jne 0x44db7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44db3c
add ebx, ebx
jne 0x44db89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x44db7e
jne 0x44db9a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x44db7e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x44dbbc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x44dbae
jmp 0x44dafe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x44dbbc
add edi, ecx
jmp 0x44dafe
pop esi
mov edi, esi
mov ecx, 0x1c46
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x44dbda
cmp byte [edi], 5
jne 0x44dbda
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x44dbdf
lea edi, [esi + 0x4b000]
mov eax, dword [edi]
or eax, eax
je 0x44dc57
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4d740]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4d77c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x44dc0c
mov ecx, edi
jns 0x44dc3b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4d784]
or eax, eax
je 0x44dc51
mov dword [ebx], eax
add ebx, 4
jmp 0x44dc29
call dword [esi + 0x4d780]
mov ebp, dword [esi + 0x4d788]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x44dc8b
sub esp, 0xffffff80
jmp 0x4016ec
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x41c1d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x4170ae
lea edi, [esi - 0x160ae]
push edi
or ebp, 0xffffffff
jmp 0x41c1f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41c1f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
mov al, byte [edi]
jb 0x41c1e8
mov eax, 1
add ebx, ebx
jne 0x41c20d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41c202
jne 0x41c21e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41c202
xor ecx, ecx
sub eax, 3
jb 0x41c232
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41c2a6
mov ebp, eax
add ebx, ebx
jne 0x41c23d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41c24a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41c26e
inc ecx
add ebx, ebx
jne 0x41c25a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41c24f
jne 0x41c26b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41c24f
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
mov al, byte [edi + ecx]
jbe 0x41c290
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41c282
jmp 0x41c1ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41c290
add edi, ecx
jmp 0x41c1ee
pop esi
mov edi, esi
mov ecx, 0x321
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41c2ae
cmp byte [edi], 1
jne 0x41c2ae
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x41c2b3
lea edi, [esi + 0x1a000]
mov eax, dword [edi]
or eax, eax
je 0x41c322
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1c000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1c064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41c2e0
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1c068]
or eax, eax
je 0x41c31c
mov dword [ebx], eax
add ebx, 4
jmp 0x41c2fd
call dword [esi + 0x1c06c]
popal
jmp 0x4011c4
Function at 0x5e9357
Capabilities:
Encode data using xor

Disassembly:
daa
out 0x50, eax
dec ecx
push eax
push 0x665735b6
mov dh, 0xc6
sar byte [eax + 0x60d2c6b4], cl
dec ebp
sub dl, dl
pushal
mov dh, 0x7d
rcr eax, 1
stosb byte es:[edi], al
invalid

Function at 0x5ea5e2
Capabilities:
Get number of processors

Disassembly:
xchg ebp, eax
imul eax, ecx, 0x56f00d4e
ror dword [esi + 0xd], 0xf0
push esi
mov esp, dword [esi + 0x64d2b650]
loopne 0x5ea61c
adc dword [ecx + 0x6b], ebp
jbe 0x5ea638
ljmp 0x22ef:0x2150b2a5
jmp 0x5ea5e4
cmpsd dword [esi], dword es:[edi]
push edx
fsub st(0)
mov dh, 0xd2
test eax, 0xf0de616b
mov al, byte [0x54a5cf96]
push ebp
xchg ebp, eax
add ah, dl
mov ch, 0x8a
invalid
Function at 0x402492
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
enter 0x84, 0
push eax
sub ebp, 0x82
mov edx, dword [0x404050]
mov ebx, eax
xor edx, eax
mov eax, 0x404054
call fcn.004023d1
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, dword [ebp - 6]
or al, 0x40
mov esi, 0x4037b8
push eax
sub esi, fcn.00402f52
push esi
push fcn.00402f52
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x402502
mov ebx, dword [ebp - 6]
mov eax, fcn.00402f52
mov edx, esi
call fcn.004023d1
mov ebx, dword [ebp - 6]
mov edx, 0x1c000
mov eax, 0x404054
call fcn.00401244
mov dword [ebp - 2], 0
lea edx, [ebp - 2]
mov eax, dword [ebp - 6]
mov ebx, dword [ebp - 6]
call fcn.00401bd6
mov eax, 0x404054
inc ebx
xor edx, edx
div ebx
mov esi, dword [ebp - 6]
mov cl, byte [ebp - 6]
add esi, 0x1c000
sar esi, cl
lea ebx, [ebp - 2]
mov edx, esi
call fcn.00402f52
lea esp, [ebp + 0x82]
pop ebp
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x4034a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x408150
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetClientRect]
push esi
mov esi, ecx
lea eax, [esp + 0x20]
push edi
mov ecx, dword [esi + 0x20]
push eax
push ecx
call ebp
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x40966c
mov eax, dword [esi + 0x44]
mov dword [esp + 0x3c], 0
push eax
push 2
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::Attach
mov edi, dword [esp + 0x44]
lea edx, [esp + 0xc]
push edx
mov ecx, edi
call sub.MFC42.DLL_CDC::SelectObject
mov al, byte [esi + 0xb0]
test al, al
jne 0x40354f
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x14]
push eax
push ecx
call ebp
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x1c]
add eax, edx
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], ecx
mov ebp, dword [esi + 0xb4]
mov esi, dword [esi + 0xb8]
push esi
lea ecx, [esp + 0x18]
push 0
push ecx
mov ecx, edi
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [esp + 0x2c]
push esi
push edx
mov ecx, edi
call sub.MFC42.DLL_CDC::LineTo
push 0
lea eax, [esp + 0x18]
push ebp
push eax
mov ecx, edi
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x30]
push ecx
push ebp
mov ecx, edi
call sub.MFC42.DLL_CDC::LineTo
mov dword [esp + 0xc], 0x409658
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x34
ret 4

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

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
xor ebx, ebx
mov eax, dword [edi + 0x3c]
mov esi, dword [eax + edi + 0x78]
mov eax, dword [esi + edi + 0x20]
add esi, edi
add eax, edi
mov ecx, dword [esi + 0x1c]
add ecx, edi
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x24]
add ecx, edi
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x18]
test ecx, ecx
jbe 0x40680d
mov ebp, eax
mov eax, dword [ebp]
mov ecx, dword [0x40c23c]
add eax, edi
push ecx
push eax
call fcn.00406710
mov ecx, dword [esp + 0x24]
add esp, 8
cmp eax, ecx
je 0x406815
mov eax, dword [esi + 0x18]
inc ebx
add ebp, 4
cmp ebx, eax
jb 0x4067e5
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
xor edx, edx
mov dx, word [eax + ebx*2]
mov eax, dword [ecx + edx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x406830
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x204
push ebx
mov ebx, dword [esp + 0x214]
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
xor esi, esi
xor ecx, ecx
mov eax, ecx
mov byte [esp + ecx + 0x14], cl
cdq
idiv edi
inc ecx
cmp ecx, 0x100
mov al, byte [edx + ebx]
mov byte [esp + ecx + 0x113], al
jl 0x40684c
xor eax, eax
xor ecx, ecx
xor edx, edx
mov cl, byte [esp + eax + 0x114]
mov dl, byte [esp + eax + 0x14]
add esi, ecx
add esi, edx
and esi, 0x800000ff
jns 0x40688d
dec esi
or esi, 0xffffff00
inc esi
mov dl, byte [esp + eax + 0x14]
mov cl, byte [esp + esi + 0x14]
mov byte [esp + esi + 0x14], dl
mov byte [esp + eax + 0x14], cl
inc eax
cmp eax, 0x100
jl 0x40686a
mov ebp, dword [esp + 0x21c]
xor esi, esi
test ebp, ebp
jle 0x40692e
mov ecx, dword [esp + 0x228]
mov edi, dword [esp + 0x218]
sub edi, ecx
inc eax
and eax, 0x800000ff
jns 0x4068d1
dec eax
or eax, 0xffffff00
inc eax
xor edx, edx
mov dl, byte [esp + eax + 0x14]
add esi, edx
and esi, 0x800000ff
jns 0x4068e9
dec esi
or esi, 0xffffff00
inc esi
mov dl, byte [esp + esi + 0x14]
mov bl, byte [esp + eax + 0x14]
mov byte [esp + 0x10], dl
mov byte [esp + esi + 0x14], bl
mov ebx, dword [esp + 0x10]
mov byte [esp + eax + 0x14], dl
xor edx, edx
and ebx, 0xff
mov dl, byte [esp + esi + 0x14]
add edx, ebx
and edx, 0x800000ff
jns 0x40691f
dec edx
or edx, 0xffffff00
inc edx
mov dl, byte [esp + edx + 0x14]
mov bl, byte [edi + ecx]
xor dl, bl
mov byte [ecx], dl
inc ecx
dec ebp
jne 0x4068c2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x204
ret