joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435da0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x462b58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0045bec2
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00435740
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0045bdf0
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004586b4
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004586b4
push 1
push 0
push 0
mov ecx, esi
call fcn.0045865c
push 1
push 0
push 1
mov ecx, esi
call fcn.0045865c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0045bf34
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x435f20
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x462b78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0045bec2
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00435740
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0045bdf0
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x435fe4
cmp dword [esp + 0x40], 1
jne 0x435fe2
cmp ecx, eax
jge 0x435fe4
mov eax, ecx
cmp eax, 0xc8
jge 0x435ff0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00435da0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0045bf34
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x436770
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x462be3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00456ad4
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0045c16a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0045d686
test eax, eax
je 0x43688c
mov ecx, dword [esp + 0x3c]
call fcn.0045c197
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x436850
push edi
mov ecx, esi
call fcn.004597fb
mov ecx, esi
call fcn.004369f0
cmp dword [esp + 0x38], 1
jne 0x436885
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00459936
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4392b0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4392e3
push esi
call fcn.0043c3a0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4392dc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x439369
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x439352
mov eax, dword [esi + 8]
test eax, eax
je 0x439307
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43934e
cmp eax, 2
je 0x439352
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4392fa
cmp eax, 3
je 0x43932d
cmp eax, 1
jne 0x4392fa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4392fa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4392fa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00439390
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x439378
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00439390
add esp, 4
pop esi
ret

Function at 0x4578ca
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x457902
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045597e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00455956
jmp 0x45790e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x458fb8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x458ffa
call fcn.0045ea71
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x458ffa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x458ff1
xor eax, eax
jmp 0x459002
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00459008
pop edi
pop esi
pop ebx
ret 4

Function at 0x45efa1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x45efcf
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x45efed
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0045ef07
jmp 0x45efed
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45efed
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0045ef07
test edi, edi
mov eax, edi
jne 0x45efd7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4019f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
test ecx, ecx
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 8], esi
mov esi, edx
mov dword [ebp - 4], edi
mov edi, ecx
jne 0x401a16
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x38]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x401aaa
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x401a65
cmp eax, 0x40
je 0x401a65
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x401a09
cmp eax, 0x40
je 0x401a09
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
jmp 0x401a09
mov dword [esp + 8], 0x34
mov dword [esp + 4], 0x404054
mov dword [esp], str.VirtualQuery__addr__b__sizeof_b__
call sym.__assert
lea esi, [esi]
lea edi, [edi]
Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40d01c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x40d028
push 0x40d024
push 0x40d020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x40d028]
push dword [0x40d024]
push dword [0x40d020]
mov dword [0x40d014], esp
call fcn.00402e64
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x4013ca
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 4], 0
call sub.KERNEL32.dll_GetCommandLineA
mov dword [ebp - 8], eax
mov edi, dword [ebp - 4]
cmp dword [ebp + 8], edi
jge 0x4014e2
jmp 0x401412
mov edi, dword [ebp - 8]
cmp byte [edi], 0x22
jne 0x40140e
mov edi, dword [ebp - 8]
add edi, 1
mov dword [ebp - 8], edi
cmp byte [edi], 0
je 0x40140e
mov edi, dword [ebp - 8]
cmp byte [edi], 0x22
jne 0x4013f8
add dword [ebp - 8], 1
mov edi, dword [ebp - 8]
movsx ebx, byte [edi]
cmp ebx, 0
je 0x401422
cmp ebx, 0x20
jne 0x4013f0
jmp 0x401428
add dword [ebp - 8], 1
mov edi, dword [ebp - 8]
movzx ebx, byte [edi]
test byte [ebx + str._________h______________________H], 8
jne 0x401424
push dword [ebp - 8]
call fcn.0040512c
add esp, 4
mov edi, eax
add edi, 1
push edi
call fcn.0040129c
add esp, 4
mov dword [ebp - 0x10], eax
push dword [ebp - 8]
push dword [ebp - 0x10]
call fcn.004050b5
add esp, 8
push dword [ebp - 0x10]
call fcn.0040512c
add esp, 4
mov esi, dword [ebp - 0x10]
cmp byte [eax + esi - 1], 0x14
jne 0x40147d
mov edi, dword [ebp - 0x10]
mov byte [edi], 0
mov eax, dword [ebp - 0x10]
jmp 0x40153d
add dword [ebp - 8], 1
mov edi, dword [ebp - 8]
movzx ebx, byte [edi]
test byte [ebx + str._________h______________________H], 8
jne 0x401485
mov edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 8]
cmp byte [edi], 0x22
jne 0x4014cf
mov edi, dword [ebp - 8]
add edi, 1
mov dword [ebp - 8], edi
cmp byte [edi], 0
je 0x4014bd
mov edi, dword [ebp - 8]
cmp byte [edi], 0x22
jne 0x4014a7
mov edi, dword [ebp - 8]
cmp byte [edi], 0
je 0x4014df
add dword [ebp - 8], 1
jmp 0x4014df
add dword [ebp - 8], 1
mov edi, dword [ebp - 8]
movsx ebx, byte [edi]
cmp ebx, 0
je 0x4014df
cmp ebx, 0x20
jne 0x4014cb
inc dword [ebp - 4]
mov edi, dword [ebp + 8]
cmp dword [ebp - 4], edi
jle 0x401489
mov edi, dword [ebp - 0xc]
cmp byte [edi], 0x22
jne 0x401503
add dword [ebp - 0xc], 1
mov edi, dword [ebp - 8]
cmp byte [edi - 1], 0x22
jne 0x401503
add dword [ebp - 8], 0xffffffff
mov edi, dword [ebp - 8]
sub edi, dword [ebp - 0xc]
add edi, 1
push edi
call fcn.0040129c
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
sub esi, edi
push esi
push edi
push dword [ebp - 0x10]
call sub.CRTDLL.DLL_strncpy
add esp, 0xc
mov edi, dword [ebp - 8]
sub edi, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
mov byte [esi + edi], 0
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401ff3
Capabilities:
Get graphical window text
Set registry value

Disassembly:
push edi
push 4
push 0
push 0x40b128
call sub.CRTDLL.DLL_memset
add esp, 0xc
push 4
push 0
push 0x40b12c
call sub.CRTDLL.DLL_memset
add esp, 0xc
push 0x800
push 0
push 0x40b130
call sub.CRTDLL.DLL_memset
add esp, 0xc
push 4
push 0
push 0x40b930
call sub.CRTDLL.DLL_memset
add esp, 0xc
push 4
push 0
push 0x40b934
call sub.CRTDLL.DLL_memset
add esp, 0xc
push 0x40b12c
push 0x40b128
push 0
push 0x20006
push 0
push 0x40d0a2
push 0
push str.SoftwareBCX_ssaver
push 0x80000001
call sub.ADVAPI32.DLL_RegCreateKeyExA
mov dword [0x40b930], eax
push dword [0x40c17c]
call sub.USER32.DLL_GetWindowTextLengthA
mov edi, eax
add edi, 1
mov dword [0x40b934], edi
push dword [0x40b934]
call fcn.004015af
add esp, 4
mov edi, eax
push edi
push 0x40b130
call fcn.004050b5
add esp, 8
push dword [0x40b934]
push 0x40b130
push dword [0x40c17c]
call sub.USER32.DLL_GetWindowTextA
mov dword [0x40b930], eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call fcn.004015eb
add esp, 0x28
mov edi, eax
push edi
push 0x40b130
push 2
call fcn.0040167b
add esp, 0xc
mov edi, eax
push edi
push 0x40b130
call fcn.004050b5
add esp, 8
push 0x40b130
call fcn.0040512c
add esp, 4
mov edi, eax
push edi
push 0x40b130
push 1
push 0
push str.speed
push dword [0x40b128]
call sub.ADVAPI32.DLL_RegSetValueExA
mov dword [0x40b930], eax
push dword [0x40c178]
call sub.USER32.DLL_GetWindowTextLengthA
mov edi, eax
add edi, 1
mov dword [0x40b934], edi
push dword [0x40b934]
call fcn.004015af
add esp, 4
mov edi, eax
push edi
push 0x40b130
call fcn.004050b5
add esp, 8
push dword [0x40b934]
push 0x40b130
push dword [0x40c178]
call sub.USER32.DLL_GetWindowTextA
mov dword [0x40b930], eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call fcn.004015eb
add esp, 0x28
mov edi, eax
push edi
push 0x40b130
push 2
call fcn.0040167b
add esp, 0xc
mov edi, eax
push edi
push 0x40b130
call fcn.004050b5
add esp, 8
push 0x40b130
call fcn.0040512c
add esp, 4
mov edi, eax
push edi
push 0x40b130
push 1
push 0
push str.density
push dword [0x40b128]
call sub.ADVAPI32.DLL_RegSetValueExA
mov dword [0x40b930], eax
push dword [0x40b128]
call sub.ADVAPI32.DLL_RegCloseKey
mov dword [0x40b930], eax
pop edi
ret
Function at 0x402202
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
push 4
push 0
push 0x40b938
call sub.CRTDLL.DLL_memset
add esp, 0xc
push 0x800
push 0
push 0x40b93c
call sub.CRTDLL.DLL_memset
add esp, 0xc
push 4
push 0
push 0x40c13c
call sub.CRTDLL.DLL_memset
add esp, 0xc
push 4
push 0
push 0x40c140
call sub.CRTDLL.DLL_memset
add esp, 0xc
push 4
push 0
push 0x40c144
call sub.CRTDLL.DLL_memset
add esp, 0xc
mov dword [0x40c16c], 0x64
mov dword [0x40c168], 0x64
push 0x40b938
push 0x20019
push 0
push str.SoftwareBCX_ssaver
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
mov dword [0x40c144], eax
cmp dword [0x40c144], 0
jne 0x402394
push 0xff
call fcn.004015af
add esp, 4
mov edi, eax
push edi
push 0x40b93c
call fcn.004050b5
add esp, 8
mov dword [0x40c140], 0xff
push 0x40c140
push 0x40b93c
push 0x40c13c
push 0
push str.speed
push dword [0x40b938]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [0x40c144], eax
push 0x40b93c
call fcn.00401339
add esp, 4
mov edi, eax
push edi
call sub.CRTDLL.DLL_atof
add esp, 4
fstp qword [ebp - 8]
fld qword [ebp - 8]
mov edi, eax
call fcn.00402d14
xchg edi, eax
mov dword [0x40c16c], edi
push 0xff
call fcn.004015af
add esp, 4
mov edi, eax
push edi
push 0x40b93c
call fcn.004050b5
add esp, 8
mov dword [0x40c140], 0xff
push 0x40c140
push 0x40b93c
push 0x40c13c
push 0
push str.density
push dword [0x40b938]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [0x40c144], eax
push 0x40b93c
call fcn.00401339
add esp, 4
mov edi, eax
push edi
call sub.CRTDLL.DLL_atof
add esp, 4
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
mov edi, eax
call fcn.00402d14
xchg edi, eax
mov dword [0x40c168], edi
push dword [0x40b938]
call sub.ADVAPI32.DLL_RegCloseKey
mov dword [0x40c144], eax
pop edi
leave
ret

Function at 0x402e64
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
call sub.KERNEL32.dll_GetCommandLineA
mov edi, eax
cmp byte [edi], 0x22
jne 0x402e98
push 0x22
mov eax, edi
inc eax
push eax
call sub.CRTDLL.DLL_strchr
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x402eb3
mov edi, eax
inc edi
jmp 0x402e90
inc edi
cmp byte [edi], 0x20
je 0x402e8f
jmp 0x402eb3
inc edi
movsx eax, byte [edi]
or eax, eax
je 0x402ea4
cmp eax, 0x20
jne 0x402e97
jmp 0x402ea7
inc edi
movsx eax, byte [edi]
or eax, eax
je 0x402eb3
cmp eax, 0x20
je 0x402ea6
push 0
call sub.KERNEL32.dll_GetModuleHandleA
push 1
push edi
push 0
push eax
call fcn.00401946
pop edi
leave
ret
Function at 0x41c3b9
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x41c3da
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x41c3d1
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x41c3c9
mov eax, ebx
leave
ret

Function at 0x41c400
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 8]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x41c45f
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x41c48c
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x41c47b
xor ecx, eax
xor edx, ebx
dec edi
jne 0x41c46c
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x41c4b2
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x41c453
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x41ccf2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword ds:[ebp - 0x20], 0xff8bff8b
mov dword ds:[ebp - 0x14], 0xff8bff8b
mov dword ds:[ebp - 0x1c], 0xff8bff8b
push 0x7fc
push dword [ebp - 0x20]
call fcn.0041c37f
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 4]
mov ebx, eax
pop ecx
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x41ced1
push dword [ebp - 4]
call fcn.0041c363
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41cdc2
jmp 0x41ced1
push dword [ebp - 4]
call fcn.0041c363
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [ebp - 4], eax
jne 0x41ce16
lea eax, [ebp - 4]
push eax
call fcn.0041ccd8
mov dword [ebp - 0x28], eax
push 0
push 4
push dword [ebp - 0x28]
push dword [ebp - 4]
push 0xffffffff
push dword [ebp - 0x14]
call fcn.0041c58a
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x41ce16
mov eax, 1
jmp 0x41ce18
xor eax, eax
test eax, eax
je 0x41cec6
push ebx
push esi
push edx
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov eax, dword [eax]
add eax, ebx
lea eax, [eax + 0x78]
mov eax, dword [eax]
lea esi, [eax + ebx]
mov dword [ebp - 0x10], esi
lea edx, [esi + 0x20]
mov edx, dword [edx]
add edx, ebx
mov edx, dword [edx]
add edx, ebx
mov dword [ebp - 0x18], edx
lea eax, [esi + 0x18]
mov eax, dword [eax]
dec eax
mov dword [ebp - 4], eax
pop ebx
pop esi
pop edx
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x41cebe
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [ebp - 0x1c]
call fcn.0041caf5
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x41cead
push edi
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
lea eax, [eax + edi*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop edi
leave
ret 8
push dword [ebp - 0xc]
call fcn.0041ccb1
add dword [ebp - 8], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x41ce60
add esp, 0xc
jmp 0x41ced1
pop ebx
pop ecx
pop edx
add ecx, 4
jmp 0x41cd9b
add esp, 0xc
mov edi, edi
mov edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, 0
jmp 0x41cef2
mov esp, ebp
pop ebp
ret 8