joyce8/EMBER2024-capa huggingface dataset:
Function at 0xc191b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00c19140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00c19140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00c19140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00c19140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xc19bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xc19c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xc2b87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xc19c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xc19c52
xor eax, eax
pop esi
leave
ret 4

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1000add2
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x2c
mov dword [ebp - 0xc], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [0x1003acd0]
add edx, 0xffffd94f
mov dword [0x1003accc], edx
mov esi, dword [ebp - 0xc]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
jmp 0x1000ae87
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1000ae59
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x1000af07
jmp 0x1000ae59
mov eax, dword [ebp - 0x24]
add eax, 0xffffe7d7
mov dword [0x1003accc], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x1000aeef
xor eax, eax
mov dword [ebp - 0x28], eax
jmp 0x1000ae60
mov eax, dword [ebp - 0x28]
add esp, 0x2c
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov dword [0x1003accc], ecx
mov edx, dword [ebp - 0x14]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
je 0x1000aecd
jmp 0x1000ae59
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov edx, eax
add edx, 0xffffe3e9
mov esi, dword [ebp - 0x14]
cmp word [esi + ecx*2], 0
mov edi, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edi
je 0x1000ae6a
mov eax, dword [ebp - 0x34]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
jl 0x1000ae87
jmp 0x1000ae6a
mov dword [0x1003acd0], 0x7a0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1000ae39
jmp 0x1000ae59
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x1000ae15
jmp 0x1000ae59
mov eax, 1
mov dword [0x1003accc], 0xb63
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x28], eax
je 0x1000ae60
jmp 0x1000ae59
Function at 0x1000af46
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.1000b83d
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, dword [0x1003accc]
add edi, 0x20f3
mov dword [0x1003accc], edi
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x1003acd0], 0x1487
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x1000b08a
jmp 0x1000b015
mov eax, dword [ebp - 0x28]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x1003accc], 0x954
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x24], edx
jmp 0x1000b08a
xor eax, eax
mov ecx, dword [ebp - 0x28]
add ecx, 2
mov edx, dword [ebp - 0x2c]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x24], eax
jae 0x1000b08a
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edx
jmp 0x1000b029
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
jmp 0x1000aff9
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x38]
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 - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x42], cl
je 0x1000b07a
mov eax, dword [ebp - 0x40]
add eax, 1
mov cl, byte [ebp - 0x41]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x42]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x3c], eax
jne 0x1000b029
mov al, byte [ebp - 0x42]
test al, 1
jne 0x1000afa7
jmp 0x1000afd1
mov eax, dword [ebp - 0x24]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000b4ad
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 [0x1003acd8], 0
mov byte [0x1003acdc], 0
mov edi, dword [0x1003accc]
add edi, 0xe84
mov dword [0x1003acd0], edi
mov dword [0x1003acd4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1000b515
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov dword [0x1003acd4], 0
mov dword [ebp - 0x20], eax
jmp 0x1000b547
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov dword [0x1003acd0], 0x8b8
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1003acd4]
add eax, 1
mov dword [0x1003acd4], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1000b515
jmp 0x1000b504
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 [0x1003ace0], 0
mov edi, dword [0x1003acd8]
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 [0x1003ace0], esi
mov dword [0x1003accc], 0x233b
mov eax, esi
cdq
idiv ecx
mov dword [0x1003acd8], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x1003acdc], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x1003acdc]
mov esi, dword [0x1003acd8]
mov byte [ebx + esi], cl
mov esi, dword [0x1003acd4]
add esi, 1
mov dword [0x1003acd4], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1000b547
jmp 0x1000b4fc
Function at 0x1000b5fa
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x1001bf9f]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x1003accc], 0x1540
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.1000b1ed
mov dword [0x1003accc], 0x1b9e
call fcn.1000b095
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1000a717
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x1000b723
mov eax, dword [ebp - 0x3c]
mov dword [0x1003accc], 0x505
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 [0x1003accc], 0x1847
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.1000a875
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x1003accc], 0x14d0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x18], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x44], ecx
mov dword [0x1003acd0], 0xc82
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x1000b723
mov eax, dword [0x1003accc]
mov ecx, dword [ebp - 0x44]
add ecx, 0x1c66
add eax, 0x2182
mov dword [0x1003accc], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
Function at 0x1000b9e6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x1003acd4], 0
mov dword [0x1003acd8], 0
mov dword [0x1003ace4], 0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x1000bb3f
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov edi, edx
add edi, 1
mov dword [0x1003accc], 0x581
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x1003acd4], edx
mov dword [0x1003acd0], 0x20ec
mov ecx, dword [ebp - 0x20]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x2c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x1003acd8], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x1003acdc], cl
mov dword [0x1003acd0], 0x1c17
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x1003acdc]
mov edx, dword [0x1003acd8]
mov byte [ebx + edx], cl
mov edx, dword [0x1003acd4]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x1003acd8]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x1003ace4], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
xor cl, byte [edx + esi]
mov byte [0x1003ace8], cl
mov dword [0x1003accc], 0x13d7
mov dword [0x1003acd0], 0x1ac9
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], cl
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x38], edi
je 0x1000bb3f
mov eax, dword [0x1003acd4]
mov ecx, dword [0x1003acd8]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ecx
jmp 0x1000ba3f
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000bb47
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x20]
mov dword [0x1003accc], 0x895
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1000aa9d
lea ecx, [0x1000ad59]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x78], edx
mov dword [esp + 0x48], 0x166a00
mov edx, dword [0x1003acb8]
mov dword [esp + 0x20], edx
mov edx, dword [0x1003acbc]
mov dword [esp + 0x68], edx
mov edx, dword [0x1003acc0]
mov dword [esp + 0x60], edx
mov edx, dword [0x1003acc4]
mov dword [esp + 0x24], edx
mov edx, dword [0x1003acc8]
mov dword [esp + 0x7c], edx
mov dword [0x1003acd0], 0x1d3f
mov dword [0x1003accc], 0x2324
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x1000bc0c
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1000b5fa
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 0x10], eax
jmp 0x1000bc81
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0xc], eax
jne 0x1000bc2f
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x1000bc43
mov eax, dword [esp + 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x1000bc0c
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov dword [0x1003accc], 0x4417
mov dword [0x1003acd0], 0x94b
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x3c], edx
call fcn.1000add2
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
je 0x1000bbdd
mov eax, dword [esp + 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x402707
Capabilities:
Get common file path

Disassembly:
sub esp, 0x400
push esi
push edi
xor edi, edi
xor esi, esi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp esi, 0x9f60fc3
jg 0x40272d
inc esi
cmp esi, 0x1e70dee2
jl 0x402713
cmp dword [0x446a64], 0x400
jne 0x402760
push edi
call fcn.00402898
push edi
push edi
call fcn.00402b1d
fldz
push ecx
fst qword [esp + 8]
fstp qword [esp]
call fcn.004027c0
push edi
fstp st(0)
call fcn.00402bfb
add esp, 0x14
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x58bc6e
jg 0x40277f
inc esi
cmp esi, 0xe52f
jl 0x402762
mov eax, dword [0x43ea24]
mov dword [0x446a64], eax
call fcn.0040247d
mov esi, 0x3078f
cmp dword [0x446a64], 0x51f
jne 0x4027ab
push edi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
dec esi
jne 0x402793
pop edi
xor eax, eax
pop esi
add esp, 0x400
ret 0x10

Function at 0x4053f4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40f328]
jne 0x4053fe
repz ret
jmp fcn.004078d9
Function at 0x406450
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40f328]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00403fac
and dword [ebp - 0x14], 0
cmp dword [0x440670], 0
mov dword [ebp - 0x18], eax
jne 0x406503
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4065ab
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4065ab
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x440670], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x440674], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x440678], eax
call edi
push eax
call esi
mov dword [0x440680], eax
test eax, eax
je 0x406503
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x44067c], eax
mov eax, dword [0x44067c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40655c
cmp dword [0x440680], ecx
je 0x40655c
push eax
call esi
push dword [0x440680]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40655c
test ebx, ebx
je 0x40655c
call edi
test eax, eax
je 0x406553
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x406553
test byte [ebp - 8], 1
jne 0x40655c
or dword [ebp + 0x10], 0x200000
jmp 0x40658f
mov eax, dword [0x440674]
cmp eax, dword [ebp - 0x18]
je 0x40658f
push eax
call esi
test eax, eax
je 0x40658f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40658f
mov eax, dword [0x440678]
cmp eax, dword [ebp - 0x18]
je 0x40658f
push eax
call esi
test eax, eax
je 0x40658f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x440670]
call esi
test eax, eax
je 0x4065ab
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4065ad
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004053f4
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40a9c8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
nop
adc byte [eax], al
cli
cmp eax, 1
je 0x40af53
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x2c]
push edx
push eax
call 0x5063f5
jns 0x40a971
inc esi
dec eax
mov ebx, 0x471450
cmp eax, 6
jne 0x40aae4
cmp dword [esi + 0x4c], ebp
jle 0x40aae4
mov eax, dword [esi + 0x50]
xor edi, edi
cmp eax, 0xff000000
je 0x40aa14
mov dword [esp + 0x1c], eax
mov edi, 1
mov eax, dword [esi + 0x54]
cmp eax, 0xff000000
je 0x40aa23
mov dword [esp + edi*4 + 0x1c], eax
inc edi
mov eax, dword [esi + 0x58]
cmp eax, 0xff000000
je 0x40aa32
mov dword [esp + edi*4 + 0x1c], eax
inc edi
cmp edi, 2
jl 0x40aae4
lea ecx, [esp + 0xb0]
call fcn.0042bca2
mov eax, dword [esi + 0x4c]

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

Disassembly:
push esi
nop
adc byte [eax], al
cli
cmp eax, 1
je 0x40af53
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x2c]
push edx
push eax
call 0x5063f5
jns 0x40a971
inc esi
dec eax
mov ebx, 0x471450
cmp eax, 6
jne 0x40aae4
cmp dword [esi + 0x4c], ebp
jle 0x40aae4
mov eax, dword [esi + 0x50]
xor edi, edi
cmp eax, 0xff000000
je 0x40aa14
mov dword [esp + 0x1c], eax
mov edi, 1
mov eax, dword [esi + 0x54]
cmp eax, 0xff000000
je 0x40aa23
mov dword [esp + edi*4 + 0x1c], eax
inc edi
mov eax, dword [esi + 0x58]
cmp eax, 0xff000000
je 0x40aa32
mov dword [esp + edi*4 + 0x1c], eax
inc edi
cmp edi, 2
jl 0x40aae4
lea ecx, [esp + 0xb0]
call fcn.0042bca2
mov eax, dword [esi + 0x4c]

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

Disassembly:
push 0xcc0020
push 1
lea ecx, [esp + 0x24]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
push edi
lea edx, [esp + 0x50]
push ecx
lea eax, [esp + 0x5c]
push edx
push eax
lea ecx, [esp + 0x44]
push ebp
lea edx, [esp + 0x78]
push ecx
push edx
lea ecx, [esp + 0xd4]
mov byte [esp + 0x17c], 1
call fcn.0042cda3
cmp eax, 1
jne 0x40aaa3
mov eax, dword [esi + 0x4c]
lea edx, [esp + 0x2c]
mov ecx, eax
neg ecx
neg eax
push ecx
push eax
push edx
call 0x5059a1
push edx
mov dword [esp + 0xb0], 0x471470
lea ecx, [esp + 0x128]
mov byte [esp + 0x158], 2
mov dword [esp + 0x128], ebx

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

Disassembly:
push 0xcc0020
push 1
lea ecx, [esp + 0x24]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
push edi
lea edx, [esp + 0x50]
push ecx
lea eax, [esp + 0x5c]
push edx
push eax
lea ecx, [esp + 0x44]
push ebp
lea edx, [esp + 0x78]
push ecx
push edx
lea ecx, [esp + 0xd4]
mov byte [esp + 0x17c], 1
call fcn.0042cda3
cmp eax, 1
jne 0x40aaa3
mov eax, dword [esi + 0x4c]
lea edx, [esp + 0x2c]
mov ecx, eax
neg ecx
neg eax
push ecx
push eax
push edx
call 0x5059a1
push edx
mov dword [esp + 0xb0], 0x471470
lea ecx, [esp + 0x128]
mov byte [esp + 0x158], 2
mov dword [esp + 0x128], ebx
Function at 0x40aaa6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xcc0020
push 1
lea ecx, [esp + 0x24]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
push edi
lea edx, [esp + 0x50]
push ecx
lea eax, [esp + 0x5c]
push edx
push eax
lea ecx, [esp + 0x44]
push ebp
lea edx, [esp + 0x78]
push ecx
push edx
lea ecx, [esp + 0xd4]
mov byte [esp + 0x17c], 1
call fcn.0042cda3
cmp eax, 1
jne 0x40aaa3
mov eax, dword [esi + 0x4c]
lea edx, [esp + 0x2c]
mov ecx, eax
neg ecx
neg eax
push ecx
push eax
push edx
call 0x5059a1
push edx
mov dword [esp + 0xb0], 0x471470
lea ecx, [esp + 0x128]
mov byte [esp + 0x158], 2
mov dword [esp + 0x128], ebx

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

Disassembly:
call fcn.00411e54
lea ecx, [esp + 0x108]
mov byte [esp + 0x158], 0
mov dword [esp + 0x108], ebx
call 0x411e6f
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], 0x475fd4
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x4c]
push eax
lea edx, [esp + 0x50]
push esp
and al, 0x50
push ecx
push edx
mov byte [esp + 0x164], 3
call dword [0x46f54c]
cmc
inc esi
add byte [ebx - 0x74a7dbbc], cl
dec esp
and al, 0x54
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x50]
push ecx
push edx
push eax
call 0x4f640f
and dl, byte [eax - 0x73]
dec esp
and al, 0x18
call 0x4706f6
lds ebx, [ebx + 6]
add byte [ebp + 0x5114244c], cl
lea ecx, [esp + 0x60]
call 0x470185
mov ecx, dword [esi + 0x88]
cmp ecx, ebp
je 0x40abac
invalid
cmp dword [esi + 0xbc], ebp
jne 0x40ab7d
mov eax, dword [esi + 0x88]
lea edi, [esi + 0x78]
cmp eax, ebp
jne 0x40ab62
xor eax, eax
jmp 0x40ab65
mov eax, dword [edi + 8]
push ecx
push eax
call fcn.0042d757
cmp eax, ebp
mov dword [esi + 0xbc], eax
jne 0x40ab7d
mov ecx, edi
call fcn.00411f08
lea edx, [esp + 0x14]
lea eax, [esp + 0x4c]
push edx
mov edx, dword [esi + 0xbc]
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, dword [esi + 0x8c]
invalid
cmp dword [esi + 0x90], ebp
je 0x40ac8d
mov eax, dword [esi + 0x94]
xor edi, edi
cmp eax, 0xff000000
je 0x40abd0
mov dword [esp + 0x1c], eax
mov edi, 1
mov eax, dword [esi + 0x98]
cmp eax, 0xff000000
je 0x40abe2
mov dword [esp + edi*4 + 0x1c], eax
inc edi
mov eax, dword [esi + 0x9c]
cmp eax, 0xff000000