joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409286
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
push esi
push edi
mov edi, 0x104
push edi
push 0x41e0f8
push dword [ebp + 8]
call fcn.0040c26a
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcpynA]
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x34c]
push eax
call esi
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x34c]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x409408
cmp dword [0x421b9c], 0
jne 0x4093d8
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrcmpA]
lea eax, [ebp - 0x21c]
push 0x41e0f4
push eax
call ebx
test eax, eax
je 0x4093b6
lea eax, [ebp - 0x21c]
push 0x41e0f0
push eax
call ebx
test eax, eax
je 0x4093b6
lea eax, [ebp - 0x21c]
push edi
push eax
push dword [ebp + 8]
call fcn.0040c26a
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x108]
push eax
call esi
test byte [ebp - 0x248], 0x10
lea eax, [ebp - 0x108]
push eax
je 0x409349
call fcn.00409286
jmp 0x4093b5
call fcn.004091c9
test eax, eax
pop ecx
jne 0x4093b6
mov eax, dword [0x420e74]
sub eax, 0
je 0x409362
dec eax
jne 0x4093b6
jmp 0x409398
mov eax, dword [0x42300c]
sub eax, 0
je 0x409371
dec eax
je 0x409398
jmp 0x4093b6
lea eax, [ebp - 0x108]
push eax
push 0x408ed4
push dword [0x421310]
push 0x42a
push dword [0x422730]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
test eax, eax
je 0x4093b6
lea eax, [ebp - 0x108]
push eax
call fcn.00402508
test eax, eax
pop ecx
jne 0x4093b6
lea eax, [ebp - 0x108]
push eax
call fcn.00408649
pop ecx
lea eax, [ebp - 0x248]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
je 0x4093d7
cmp dword [0x421b9c], 0
je 0x4092ea
pop ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_FindClose]
cmp dword [0x421b9c], 0
jne 0x409408
push dword [ebp + 8]
call fcn.0040254d
test eax, eax
pop ecx
jne 0x409408
cmp dword [0x422f04], eax
je 0x409408
push dword [ebp + 8]
call fcn.004087b4
pop ecx
pop edi
pop esi
leave
ret

Function at 0x40940c
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor esi, esi
push dword [ebp + 8]
push esi
call fcn.0040bb2c
push eax
call fcn.004130c6
push esi
push esi
mov edi, eax
call fcn.0040bb2c
push esi
push esi
mov ebx, eax
call fcn.0040bb2c
add esp, 0x1c
mov dword [ebp - 4], eax
lea eax, [ebp + 8]
push eax
push 2
push esi
push ebx
push dword [edi*4 + 0x41a918]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40949a
Capabilities:
Delete file

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
push dword [esp + 0x10]
push ebx
call fcn.0040bb2c
push ebx
push ebx
mov esi, eax
call fcn.0040bb2c
push ebx
push ebx
mov edi, eax
call fcn.0040bb2c
push esi
mov ebx, eax
call fcn.0040bc3c
add esp, 0x1c
test eax, eax
jne 0x4094d5
push esi
call fcn.0040c415
test eax, eax
pop ecx
je 0x40950d
push esi
push ebx
push edi
call fcn.0040c90d
push esi
push edi
call fcn.0040c8ba
add esp, 0x14
test eax, eax
je 0x40950d
push esi
push edi
call fcn.0040c924
push esi
call fcn.0040c8ff
add esp, 0xc
test eax, eax
je 0x40950d
push esi
call fcn.0040c939
pop ecx
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
pop edi
pop esi
pop ebx
ret

Function at 0x40a20f
Capabilities:
Get installed programs
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
push esi
lea eax, [ebp - 0x324]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
lea eax, [ebp - 0x324]
push 0x41e044
mov esi, 0x208
push eax
push esi
call fcn.0040baef
lea eax, [ebp - 0x324]
push 0x422a9c
push eax
push esi
call fcn.0040baef
add esp, 0x18
lea eax, [ebp - 4]
push eax
push 1
pop esi
lea eax, [ebp - 0x324]
push esi
push 0
push eax
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40a2ec
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push str.UninstallFolderCount
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40a2e3
cmp dword [ebp - 8], esi
jb 0x40a2e3
push esi
lea eax, [ebp - 0x18]
push 0x41e1f0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x11c]
push 0x104
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 4]
call fcn.0040c94b
add esp, 0x1c
test eax, eax
je 0x40a2dd
lea eax, [ebp - 0x11c]
push eax
call fcn.0040254d
pop ecx
inc esi
cmp esi, dword [ebp - 8]
jbe 0x40a2a1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.004075ce
pop esi
leave
ret
Function at 0x40c2d2
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_SetErrorMode]
push edi
push 0x8001
call esi
mov ebx, eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
push ebx
mov edi, eax
call esi
test edi, edi
je 0x40c35b
push edi
call fcn.00412ed8
pop ecx
mov esi, eax
push esi
push edi
push dword [ebp - 4]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x40c350
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push 0x41e044
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40c350
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
test esi, esi
mov edx, dword [eax + 8]
mov dword [ecx], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 4], eax
je 0x40c34b
push esi
call fcn.00412e70
pop ecx
push 1
pop eax
jmp 0x40c367
test esi, esi
je 0x40c35b
push esi
call fcn.00412e70
pop ecx
mov eax, dword [ebp + 0xc]
or dword [eax], 0xffffffff
or dword [eax + 4], 0xffffffff
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40c36c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_SetErrorMode]
push edi
push 1
call esi
push 0x104
mov edi, eax
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpynA]
lea eax, [ebp - 0x104]
push eax
call fcn.0040bd80
pop ecx
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
push edi
mov ebx, eax
call esi
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret

Function at 0x40c3bf
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_SetErrorMode]
push edi
push 1
call esi
push 0x104
mov edi, eax
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpynA]
lea eax, [ebp - 0x104]
push eax
call fcn.0040bd80
pop ecx
lea eax, [ebp - 0x104]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
push edi
mov ebx, eax
call esi
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x40c449
Capabilities:
Create directory

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
mov esi, 0x423258
je 0x40c4fa
push 0x104
push dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.DLL_lstrcpynA]
push esi
call fcn.0040bd1b
pop ecx
mov dword [0x423e90], eax
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
cmp eax, 2
mov eax, dword [0x423e90]
jl 0x40c4b0
cmp byte [eax + 1], 0x3a
jne 0x40c4b0
push eax
call fcn.0040bf6e
mov eax, dword [0x423e90]
pop ecx
inc eax
push 0x5c
inc eax
pop ebx
mov dword [0x423e90], eax
cmp byte [eax], bl
jne 0x40c516
inc eax
mov dword [0x423e90], eax
jmp 0x40c4a4
push 0x5c
pop ebx
cmp byte [eax], bl
jne 0x40c516
cmp byte [eax + 1], bl
jne 0x40c516
inc eax
mov dword [0x423e90], eax
cmp byte [eax], bl
je 0x40c4bc
push ebx
push eax
call fcn.00412f00
pop ecx
test eax, eax
pop ecx
je 0x40c511
cmp byte [eax], bl
jne 0x40c4da
inc eax
jmp 0x40c4d3
push eax
call fcn.0040bf6e
push ebx
push eax
mov dword [0x423e90], eax
call fcn.00412f00
add esp, 0xc
test eax, eax
je 0x40c511
cmp byte [eax], bl
jne 0x40c50a
inc eax
jmp 0x40c4f3
mov eax, dword [0x423e90]
push 0x5c
pop ebx
mov byte [eax], bl
mov eax, dword [0x423e90]
inc eax
mov dword [0x423e90], eax
jmp 0x40c516
mov eax, dword [0x423e90]
push ebx
push eax
call fcn.00412f00
pop ecx
mov dword [0x423e90], eax
test eax, eax
pop ecx
je 0x40c55d
and byte [eax], 0
push esi
call fcn.0040c42f
test eax, eax
pop ecx
je 0x40c54c
mov eax, dword [0x423e90]
push ebx
mov byte [eax], bl
inc dword [0x423e90]
push dword [0x423e90]
jmp 0x40c518
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
neg eax
sbb eax, eax
and eax, esi
jmp 0x40c55f
xor eax, eax
pop esi
pop ebx
ret

Function at 0x40c615
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x40c649
push dword [ebp + 0x1c]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040c562
add esp, 0xc
test eax, eax
jne 0x40c64d
cmp dword [ebp + 0x10], eax
je 0x40c649
push dword [ebp + 0x18]
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.DLL_lstrcpynA]
jmp 0x40c689
xor eax, eax
jmp 0x40c68b
push dword [ebp + 0x1c]
call fcn.0040bc3c
test eax, eax
pop ecx
je 0x40c671
push dword [ebp + 0x18]
push esi
push 0x423224
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetProfileStringA]
jmp 0x40c689
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push esi
push 0x423224
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
mov eax, esi
pop esi
pop ebp
ret
Function at 0x40c94b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], eax
test esi, esi
je 0x40c993
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0x14]
push esi
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40c990
push 1
pop eax
cmp dword [ebp + 0x14], eax
je 0x40c986
cmp dword [ebp + 0x14], 2
jne 0x40c990
cmp dword [ebp - 4], eax
ja 0x40c995
and byte [esi], 0
jmp 0x40c995
and byte [esi], 0
xor eax, eax
pop esi
leave
ret

Function at 0x40c998
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
test esi, esi
je 0x40ca8a
mov ebx, dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableA]
mov edi, 0x104
push edi
push esi
push str.TEMP
call ebx
test eax, eax
je 0x40c9fe
push esi
call fcn.0040bd80
push eax
call fcn.0040bc3c
pop ecx
test eax, eax
pop ecx
jne 0x40c9fe
push esi
call fcn.0040c42f
test eax, eax
pop ecx
jne 0x40ca85
push esi
call fcn.0040c449
test eax, eax
pop ecx
je 0x40c9ef
push 0
jmp 0x40c9e1
push esi
call fcn.0040c42f
test eax, eax
pop ecx
jne 0x40ca85
push edi
push esi
push 0x41ed20
call ebx
test eax, eax
je 0x40ca42
push esi
call fcn.0040bd80
push eax
call fcn.0040bc3c
pop ecx
test eax, eax
pop ecx
jne 0x40ca42
push esi
call fcn.0040c42f
test eax, eax
pop ecx
jne 0x40ca85
push esi
call fcn.0040c449
test eax, eax
pop ecx
je 0x40ca37
push 0
jmp 0x40ca29
push esi
call fcn.0040c42f
test eax, eax
pop ecx
jne 0x40ca85
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
test eax, eax
je 0x40ca8a
push esi
call fcn.0040bd80
push eax
call fcn.0040bc3c
pop ecx
test eax, eax
pop ecx
jne 0x40ca8a
push esi
call fcn.0040c42f
test eax, eax
pop ecx
jne 0x40ca85
push esi
call fcn.0040c449
test eax, eax
pop ecx
je 0x40ca7a
push 0
jmp 0x40ca6c
push esi
call fcn.0040c42f
test eax, eax
pop ecx
je 0x40ca8a
push 1
pop eax
jmp 0x40ca8c
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x40cb52
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push ebx
push esi
push edi
push 0x44
pop esi
xor ebx, ebx
push esi
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.00412e80
mov edi, dword [ebp + 8]
mov dword [ebp - 0x54], esi
push edi
call fcn.0040c415
add esp, 0x10
test eax, eax
je 0x40cb85
mov eax, edi
jmp 0x40cb8c
push edi
call fcn.0040c115
pop ecx
push 0x104
push eax
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpynA]
lea eax, [ebp - 0x25c]
push eax
call fcn.0040be4c
lea eax, [ebp - 0x25c]
mov dword [esp], 0x41e970
mov esi, 0x208
push eax
push esi
call fcn.0040baef
push dword [ebp + 0xc]
lea eax, [ebp - 0x25c]
push eax
push esi
call fcn.0040baef
push edi
call fcn.0040c076
push eax
call fcn.0040c42f
add esp, 0x20
test eax, eax
je 0x40cbf0
push edi
call fcn.0040c076
pop ecx
jmp 0x40cbf2
xor eax, eax
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x54]
push ecx
push eax
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x25c]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
je 0x40cc37
cmp dword [ebp + 0x10], ebx
je 0x40cc22
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
push 1
pop eax
jmp 0x40cc39
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x40e50b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x40e60e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x41ab30]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x41ab30]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x41ab30]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x41ab30]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x41ab30]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x41ab30]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x41ab30]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x41ab30]
xor eax, edx
inc ecx
dec edi
jne 0x40e526
pop edi
test esi, esi
je 0x40e630
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x41ab30]
xor eax, edx
inc ecx
dec esi
jne 0x40e612
pop esi
pop ebx
not eax
ret
Function at 0x415215
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4204f0
cmp edx, dword [eax]
je 0x415237
add eax, 8
inc ecx
cmp eax, 0x420580
jl 0x415228
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4204f0]
jne 0x415365
mov eax, dword [0x423ec0]
cmp eax, 1
je 0x41533f
test eax, eax
jne 0x415268
cmp dword [0x4201f4], 1
je 0x41533f
cmp edx, 0xfc
je 0x415365
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x41529f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00413190
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004141e0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4152e2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004141e0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41beec
push edi
call fcn.00417250
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00413190
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004131a0
lea eax, [ebp - 0xa0]
push 0x41becc
push eax
call fcn.004131a0
push dword [esi + 0x4204f4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004131a0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004171c5
add esp, 0x2c
pop edi
jmp 0x415365
lea eax, [ebp + 8]
lea esi, [esi + 0x4204f4]
push 0
push eax
push dword [esi]
call fcn.004141e0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop esi
leave
ret
Function at 0x401620
Capabilities:
Check for time delay via gettickcount

Disassembly:
movsx eax, byte [0x4319ca]
movsx ecx, byte [0x4319ce]
push ebx
push ebp
push esi
push edi
push eax
push ecx
call fcn.00410820
mov edx, dword [0x431a08]
add word [0x4319d4], ax
push edx
push 0x76afffff
mov bl, 1
call fcn.004108a0
mov cl, byte [0x4319ce]
mov edi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
add cl, al
add esp, 0x10
mov byte [0x4319ce], cl
call edi
mov ebp, eax
call edi
sub eax, ebp
cmp eax, 0x535
jae 0x4017b7
push 0x4319b8
mov ecx, 0x431988
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::swap_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov bl, byte [0x4319cd]
cmp dword [eax], 1
jne 0x4016a3
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov eax, dword [0x43194c]
test eax, eax
je 0x4016b7
mov al, byte [eax - 1]
test al, al
je 0x4016b7
cmp al, 0xff
jne 0x4016d3
mov eax, dword [0x431954]
cmp eax, 0x1f
ja 0x4016c6
cmp eax, 1
jae 0x4016e0
push 1
mov ecx, 0x431948
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
mov ecx, 0x431948
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Copy_unsigned_int_]
mov eax, dword [0x43194c]
push 0x1b73ffff
movsx ecx, bl
mov ch, cl
mov byte [eax], cl
mov ecx, dword [0x43194c]
mov dword [0x431950], 1
mov byte [ecx + 1], 0
mov edx, dword [0x431a04]
push edx
call fcn.004109b0
mov byte [0x4319ce], al
call fcn.004017c0
push 0xd96bffff
push 0xfa6dffff
mov esi, eax
call fcn.00410a30
mov cl, byte [0x4319fc]
mov bl, byte [0x4319d1]
mov dl, byte [0x4319e4]
mov dword [0x4319f8], eax
or al, 0xff
add esp, 0x10
sub al, cl
or cl, 0xff
add bl, al
sub cl, dl
cmp esi, 0xd0000000
mov byte [0x4319d1], bl
mov byte [0x4319c9], cl
ja 0x40176d
cmp esi, 0x80000000
jae 0x4017b0
movsx edx, word [0x4319de]
movsx eax, word [0x4319dc]
push edx
push eax
call fcn.00410860
mov bl, byte [0x4319ce]
add esp, 8
add bl, al
inc word [0x4319de]
mov byte [0x4319ce], bl
call edi
sub eax, ebp
cmp eax, 0x535
jb 0x40167d
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret
Function at 0x40ee20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4292e9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
movsx eax, byte [0x4319c8]
push ebx
push esi
xor ebx, ebx
push eax
push 0xa957ffff
mov dword [esp + 0x10], ebx
call fcn.00410a30
movsx ecx, byte [0x4319d1]
movsx edx, word [0x4319dc]
add ecx, edx
mov byte [0x4319ca], al
mov ax, word [0x4319e0]
mov dword [0x4319e8], ecx
sub word [0x4319e4], ax
lea ecx, [esp + 0x10]
push ecx
push ebx
call fcn.00411b40
movsx edx, byte [0x4319cc]
push edx
push 0x2737ffff
call fcn.004109f0
mov word [0x4319dc], ax
mov al, byte [esp + 0x44]
mov byte [esp + 0x24], al
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
push 0xe009ffff
push 0xebb7ffff
mov dword [esp + 0x44], ebx
call fcn.004107d0
mov cl, byte [0x4319cc]
push 0xda9bffff
add cl, al
mov byte [0x4319cc], cl
movsx ecx, byte [0x4319d1]
push ecx
call fcn.00410820
add word [0x4319da], ax
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x34]
push edx
push eax
call fcn.00421850
mov ecx, dword [0x431a0c]
xor eax, eax
cmp word [0x4319e4], bx
setne al
add ecx, eax
mov dword [0x431a0c], ecx
mov ecx, dword [0x4319f8]
push ecx
push 0x4143ffff
call fcn.004109f0
mov esi, dword [esp + 0x64]
mov dl, byte [esp + 0x44]
mov byte [0x4319cf], al
add esp, 0x38
mov byte [esi], dl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea edx, [esp + 0xc]
mov ecx, dword [eax]
push ecx
push ebx
push edx
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x40ef8b
mov al, byte [ecx - 1]
cmp al, bl
je 0x40ef81
cmp al, 0xff
je 0x40ef81
dec al
mov byte [ecx - 1], al
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
dec ecx
push ecx
call fcn.004286a0
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x418780
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push 0x4319a8
mov ecx, 0x431928
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::swap_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____]
push 0x74dbffff
push 0x76f9ffff
call fcn.00410a30
add word [0x4319d4], ax
lea ecx, [esi + 0x10]
xor eax, eax
push 0x3985ffff
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov al, byte [0x4319ce]
dec al
mov byte [0x4319ce], al
mov dword [esi], 0x67452301
mov dl, byte [0x4319d1]
mov dword [0x4319fc], 1
dec dl
mov byte [0x4319d1], dl
mov dword [esi + 4], 0xefcdab89
movsx edx, byte [0x4319c8]
push edx
call fcn.004109b0
push 0x2de9ffff
push 0xe85dffff
mov word [0x4319e0], ax
call fcn.004109f0
mov cl, byte [0x4319ce]
push 0x2069ffff
add cl, al
push 0x82d5ffff
mov byte [0x4319ce], cl
mov dword [esi + 8], 0x98badcfe
movsx eax, byte [0x4319c9]
movsx ecx, word [0x4319d6]
and eax, ecx
mov dword [0x4319e8], eax
call fcn.00410820
mov cl, byte [0x4319c8]
add word [0x4319da], ax
dec cl
push 0xe487ffff
mov byte [0x4319c8], cl
mov dword [esi + 0xc], 0x10325476
movsx edx, byte [0x4319ce]
push edx
call fcn.004107d0
add word [0x4319d6], ax
add esp, 0x28
pop esi
ret

Function at 0x422e10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x429999
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov al, byte [esp + 0x24]
push ebx
xor ebx, ebx
push esi
mov byte [esp + 8], al
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
movsx ecx, byte [0x4319ca]
push ecx
push 0x30e9ffff
mov dword [esp + 0x28], ebx
call fcn.00410970
add word [0x4319e0], ax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x10]
push edx
push eax
push ecx
call fcn.00422ec0
mov ecx, dword [esp + 0x20]
add esp, 0x14
cmp ecx, ebx
mov esi, eax
je 0x422eab
mov al, byte [ecx - 1]
cmp al, bl
je 0x422ea1
cmp al, 0xff
je 0x422ea1
dec al
mov byte [ecx - 1], al
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
dec ecx
push ecx
call fcn.004286a0
add esp, 4
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret