joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c320
Capabilities:
Read file on windows

Disassembly:
push esi
lea edx, [esp]
push 4
push edx
push dword [eax]
call fcn.00471d9e
mov eax, dword [esp + 0xc]
add esp, 0x10
ret

Function at 0x45c340
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push esi
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
lea ecx, [esp]
push ecx
push 0xf003f
push eax
push ebx
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x45c36f
mov eax, 0xffffffff
pop ecx
pop ebx
pop esi
ret
push esi
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x45c390
push dword [esp]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xffffffff
pop ecx
pop ebx
pop esi
ret
push ebx
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x45c3b2
push dword [esp]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xffffffff
pop ecx
pop ebx
pop esi
ret
push dword [esp]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop ecx
pop ebx
pop esi
ret

Function at 0x45c3c8
Capabilities:
Get disk size

Disassembly:
sub esp, 0x18
xor edx, edx
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
lea edx, [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push edx
lea edx, [esp + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov eax, dword [esp]
mov edx, dword [esp + 4]
add esp, 0x18
ret

Function at 0x45c410
Capabilities:
Delete registry value

Disassembly:
push ebp
push esi
mov ebp, edx
mov edx, eax
xor eax, eax
mov dword [esp], eax
lea ecx, [esp]
push ecx
push 0xf003f
push eax
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x45c43d
mov eax, 0xffffffff
pop ecx
pop ebp
ret
push ebp
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x45c45d
push dword [esp]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xffffffff
pop ecx
pop ebp
ret
push dword [esp]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop ecx
pop ebp
ret
Function at 0x45c738
Capabilities:
Get common file path

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x28
mov edi, ecx
mov ebp, edx
mov esi, eax
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov byte [esi], bl
lea ebx, [esp + 0x24]
push ebx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x45c825
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx]
push 0x209
push ebx
call dword [eax + 0xc]
mov ebx, eax
test ebx, ebx
je 0x45c825
lea eax, [esp + 0x20]
push eax
push 0
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x45c81a
mov dword [esp], edi
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0x4595a8
mov dword [esp + 0x18], ebp
lea edx, [esp]
push edx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
mov ebp, eax
test ebp, ebp
je 0x45c7ed
push ebx
push ebp
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x45c7e2
mov edi, ebx
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x45c7d8
mov edx, dword [esp + 0x24]
mov ecx, dword [edx]
push ebp
push edx
call dword [ecx + 0x14]
mov edx, dword [esp + 0x24]
mov ecx, dword [edx]
push dword [esp + 0x20]
push edx
call dword [ecx + 0x14]
mov edx, dword [esp + 0x24]
mov ecx, dword [edx]
push ebx
push edx
call dword [ecx + 0x14]
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
push eax
call dword [edx + 8]
xor eax, eax
add esp, 0x28
pop ebx
pop ebp
pop esi
pop edi
ret
mov edx, dword [esp + 0x24]
mov ecx, dword [edx]
push ebx
push edx
call dword [ecx + 0x14]
mov eax, 1
add esp, 0x28
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x45d254
Capabilities:
Get file attributes

Disassembly:
push esi
push ebp
push ebx
push esi
mov ebp, eax
cmp dword [0x873e4c], 0
je 0x45d26e
push 0x669680
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x873a48], 0
jbe 0x45d2a3
xor ebx, ebx
mov edx, dword [0x873a4c]
mov eax, dword [edx + ebx*4]
test eax, eax
je 0x45d293
push eax
call fcn.004706fe
pop ecx
mov edx, dword [0x873a4c]
mov dword [edx + ebx*4], 0
inc ebx
cmp ebx, dword [0x873a48]
jb 0x45d279
mov edx, dword [0x873a4c]
test edx, edx
je 0x45d2b4
push edx
call fcn.004706fe
pop ecx
xor edx, edx
mov dword [0x873a4c], edx
push edx
push edx
push 0xffffffffffffffff
push ebp
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
mov ebx, eax
mov edx, 0x10000
cmp ebx, 0x10000
jbe 0x45d2d8
mov ebx, edx
mov dword [0x873a48], ebx
lea ecx, [ebx + ebx]
add ecx, ecx
push ecx
call fcn.0047016c
pop ecx
mov dword [0x873a4c], eax
test ebx, ebx
jbe 0x45d31a
xor edx, edx
mov ebx, eax
mov esi, edx
jmp 0x45d301
mov ebx, dword [0x873a4c]
push 0x209
call fcn.0047016c
pop ecx
mov dword [ebx + esi*4], eax
mov ebx, dword [0x873a48]
inc esi
cmp esi, ebx
jb 0x45d2fb
test ebx, ebx
jbe 0x45d37b
xor ebx, ebx
mov dword [esp], edi
mov eax, dword [0x873a4c]
push 0x209
push dword [eax + ebx*4]
push ebx
push ebp
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
mov eax, dword [0x873a4c]
push dword [eax + ebx*4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0x10
cmp eax, 0x10
jne 0x45d36f
mov eax, dword [0x873a4c]
mov edi, dword [eax + ebx*4]
mov edx, 0x879338
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x45d365
inc ebx
cmp ebx, dword [0x873a48]
jb 0x45d323
mov edi, dword [esp]
push ebp
call dword [sym.imp.SHELL32.dll_DragFinish]
cmp dword [0x873e4c], 0
je 0x45d396
push 0x669680
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ecx
pop ebx
pop ebp
pop esi
ret
Function at 0x4649f0
Capabilities:
Read file on windows

Disassembly:
push edi
push ebx
sub esp, 0x24
mov edi, eax
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x464a09
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x464a01
mov ebx, eax
inc ebx
push ebx
call fcn.0047016c
pop ecx
mov ecx, dword [0x873c9c]
mov edx, dword [0x873c98]
mov dword [edx + ecx*4], eax
mov edx, dword [0x873c98]
mov ecx, dword [0x873c9c]
mov edx, dword [edx + ecx*4]
test edx, edx
je 0x464b65
push ebx
push edi
push edx
call dword [0x5b9aac]
add esp, 0xc
mov ebx, dword [0x873c9c]
mov ecx, dword [0x873c98]
lea eax, [esp + 8]
mov edx, dword [ecx + ebx*4]
call fcn.00464bd8
movsx eax, byte [esp + 0x10]
test eax, eax
je 0x464b40
lea eax, [esp + 0x20]
push 4
push eax
push dword [esp + 0x10]
call fcn.00471d9e
add esp, 0xc
lea eax, [esp + 8]
call fcn.0045c320
mov edi, eax
lea eax, [esp + 8]
call fcn.0045c320
mov ebx, eax
lea eax, [esp + 8]
call fcn.00464c68
mov edx, dword [esp + 0x20]
cmp edx, 0x465059
jne 0x464ade
cmp edi, 0x22b
je 0x464ab8
cmp edi, 0xea
jl 0x464b1b
mov edx, dword [0x873ca0]
add edx, ebx
mov dword [0x873ca0], edx
cmp edx, 0x30d40
jge 0x464aff
mov eax, dword [0x873c9c]
inc eax
mov dword [0x873c9c], eax
cmp eax, 0x64
jge 0x464ae6
xor eax, eax
add esp, 0x24
pop ebx
pop edi
ret
push 0x64
push 1
push 0x196c2
call fcn.0046d1fc
mov eax, 0xffffffff
add esp, 0x30
pop ebx
pop edi
ret
push 0x30d40
push 1
push 0x196cc
call fcn.0046d1fc
mov eax, 0xffffffff
add esp, 0x30
pop ebx
pop edi
ret
mov edx, dword [0x873c9c]
mov eax, dword [0x873c98]
push dword [eax + edx*4]
push 1
push 0x196b8
call fcn.0046d1fc
mov eax, 0xffffffff
add esp, 0x30
pop ebx
pop edi
ret
mov edx, dword [0x873c9c]
mov eax, dword [0x873c98]
push dword [eax + edx*4]
push 1
push 0xdbfb0
call fcn.0046d1fc
mov eax, 0xfffffffe
add esp, 0x30
pop ebx
pop edi
ret
push 1
push 0x186aa
call fcn.0046d258
mov eax, 0xffffffff
add esp, 0x2c
pop ebx
pop edi
ret

Function at 0x464c54
Capabilities:
Read file on windows

Disassembly:
push ecx
push edx
push dword [eax]
call fcn.00471d9e
add esp, 0xc
ret
Function at 0x4652e8
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
lea eax, [esp]
push eax
push 0
push 0x879cfc
push 0x6623a0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x465318
mov byte [0x8739d0], 1
xor eax, eax
add esp, 0x20c
ret
lea eax, [esp]
push 0x80
push 0x8301
push eax
call fcn.004708f4
add esp, 0xc
cmp eax, 0xffffffff
je 0x46534c
push eax
call fcn.00470dca
lea eax, [esp + 4]
push eax
call fcn.004708ca
xor eax, eax
add esp, 0x214
ret
mov byte [0x8739d0], 1
xor eax, eax
add esp, 0x20c
ret

Function at 0x465365
Capabilities:
Check mutex on windows

Disassembly:
push ebx
mov ebx, eax
xor ecx, ecx
push edx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
movzx ebx, bl
mov dword [ebx*4 + 0x8740b8], eax
test eax, eax
je 0x4653a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4653a2
push dword [ebx*4 + 0x8740b8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ebx
ret
xor eax, eax
pop ebx
ret
mov eax, 0xffffffff
pop ebx
ret

Function at 0x4653b0
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push 0x41c4a0
call fcn.00473296
add esp, 0xc
test eax, eax
je 0x4653d6
movsx edx, byte [0x59cc34]
dec edx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadIdealProcessor]
ret
push 0x879dc0
push 0
call fcn.00409070
add esp, 8
ret

Function at 0x4656dd
Capabilities:
Create process on windows

Disassembly:
push esi
push ebx
sub esp, 0x3c
mov ebx, ecx
movsx esi, byte [eax]
test esi, esi
je 0x4657c4
mov esi, dword [0x57ae80]
mov dword [esp + 0xc], esi
mov esi, dword [0x57ae8c]
mov dword [esp + 0x18], esi
mov esi, dword [0x57ae94]
mov dword [esp + 0x20], esi
mov esi, dword [0x57ae98]
mov dword [esp + 0x24], esi
mov esi, dword [0x57ae9c]
mov dword [esp + 0x28], esi
mov esi, dword [0x57aea0]
mov dword [esp + 0x2c], esi
mov esi, dword [0x57aea4]
mov dword [esp + 0x30], esi
mov esi, dword [0x57aea8]
mov dword [esp + 0x34], esi
mov esi, dword [0x57aeac]
mov dword [esp + 0x38], esi
mov dword [esp], 0x3c
mov dword [esp + 8], 0
mov ecx, dword [0x873e88]
test ecx, ecx
je 0x465782
xor esi, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], esi
mov dword [esp + 4], esi
mov esi, dword [ecx + 0x2a4]
test esi, esi
je 0x465782
mov dword [esp + 8], esi
mov dword [esp + 0x1c], 1
mov dword [esp + 4], 0x40
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
lea eax, [esp]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x4657c4
mov eax, dword [esp + 0x20]
cmp eax, 0x20
jle 0x4657c4
movsx eax, bl
test eax, eax
je 0x4657c4
push 0xffffffffffffffff
push dword [esp + 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 0xffffffff
add esp, 0x3c
pop ebx
pop esi
ret
Function at 0x469cec
Capabilities:
Get system information on windows

Disassembly:
push edi
sub esp, 0x24
call fcn.0046330c
mov byte [0x873a18], al
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movsx eax, byte [esp + 0x14]
mov byte [0x59cc34], al
movsx edi, byte [0x59cc2c]
cmp edi, eax
jg 0x469d1b
mov edi, eax
movsx edx, byte [0x59cc28]
cmp edx, edi
jl 0x469d28
mov edx, edi
mov byte [0x59cc30], dl
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 8
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [0x873a88], eax
push 0xa
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [0x873a8c], eax
push 0xc
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [0x873a90], eax
push 0x74
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [0x873a94], eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x873a94]
cmp eax, 0x3c
jae 0x469d8d
mov dword [0x873a94], 0xffffffff
xor eax, eax
add esp, 0x24
pop edi
ret

Function at 0x46a860
Capabilities:
Delete file

Disassembly:
cmp dword [0x873e4c], 0
je 0x46a874
push 0x669680
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x87acd4
push 0x662280
push 0x87ace4
push 0x5cf8a0
call fcn.00470878
add esp, 0x10
push 0x5cf8a0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [0x873e4c], 0
je 0x46a8af
push 0x669680
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
ret

Function at 0x46b708
Capabilities:
Create thread

Disassembly:
movsx eax, byte [0x873a00]
test eax, eax
je 0x46b724
xor eax, eax
push eax
push eax
push 0x420a04
call fcn.00473296
add esp, 0xc
ret
Function at 0x46b728
Capabilities:
Create thread

Disassembly:
push edi
push esi
push ebx
push esi
movsx edx, byte [0x59cc30]
test edx, edx
jle 0x46b7c3
xor eax, eax
xor ecx, ecx
xor edx, edx
mov edi, eax
mov ebx, edx
mov esi, ecx
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi*4 + 0x7dcc80], eax
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebx + 0x7dcd80], eax
xor eax, eax
push eax
push 1
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebx + 0x7dce80], eax
cmp dword [esi*4 + 0x7dcc80], 0
je 0x46b889
cmp dword [esi*4 + 0x7dcd80], 0
je 0x46b879
cmp dword [esi*4 + 0x7dce80], 0
je 0x46b869
add ebx, 4
inc esi
movsx edx, byte [0x59cc30]
cmp esi, edx
jl 0x46b747
mov eax, edi
cmp eax, 1
je 0x46b851
test edx, edx
jle 0x46b84d
xor eax, eax
xor ecx, ecx
xor edx, edx
mov ebx, eax
mov esi, edx
mov edi, ecx
mov dword [esi + 0x7db380], edi
xor ecx, ecx
lea edx, [esi + 0x7db380]
lea eax, [esp]
push eax
push ecx
push edx
push 0x41f55c
push ecx
push ecx
call fcn.004736ad
add esp, 0x18
mov dword [edi*4 + 0x7db280], eax
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadIdealProcessor]
cmp dword [edi*4 + 0x7db280], 0
jne 0x46b818
mov ebx, 1
add esi, 0x64
inc edi
movsx eax, byte [0x59cc30]
cmp edi, eax
jl 0x46b7d7
mov eax, ebx
cmp eax, 1
je 0x46b835
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
ret
push 0x87a2a4
push 0
call fcn.00409070
mov eax, 0xffffffff
add esp, 0xc
pop ebx
pop esi
pop edi
ret
xor eax, eax
jmp 0x46b829
push 0x87a278
push 0
call fcn.00409070
mov eax, 0xffffffff
add esp, 0xc
pop ebx
pop esi
pop edi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 1
jmp 0x46b7a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 1
jmp 0x46b79b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 1
jmp 0x46b78d

Function at 0x46cb94
Capabilities:
Create thread

Disassembly:
push esi
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x873f18], eax
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x873f1c], eax
xor eax, eax
push eax
push 1
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x873f20], eax
xor edx, edx
lea eax, [esp]
push eax
push edx
push 0x7d2e40
push 0x41b69c
push edx
push edx
call fcn.004736ad
add esp, 0x18
mov dword [0x873f14], eax
pop ecx
ret

Function at 0x46cc04
Capabilities:
Create thread

Disassembly:
push esi
xor eax, eax
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x873ee0], eax
xor eax, eax
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x873ee4], eax
xor edx, edx
mov eax, 1
push edx
push eax
push eax
push edx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x873ee8], eax
xor edx, edx
lea eax, [esp]
push eax
push edx
push 0x7cf740
push 0x4186e4
push edx
push edx
call fcn.004736ad
add esp, 0x18
mov dword [0x873edc], eax
pop ecx
ret
Function at 0x46cc64
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push 0x417d84
call fcn.00473296
add esp, 0xc
call fcn.0046cbec
ret

Function at 0x46cf98
Capabilities:
Inspect section memory permissions

Disassembly:
push esi
call dword [sym.imp.WINMM.dll_joyGetNumDevs]
test eax, eax
jg 0x46cfac
mov dword [0x8736d8], eax
xor eax, eax
pop ecx
ret
mov edx, 0x10
cmp eax, 0x10
jl 0x46cfb8
mov eax, edx
mov dword [0x8736d8], eax
xor eax, eax
mov dword [esp], ebx
mov ebx, eax
lea edx, [ebx + 0x78c280]
push 0x34
push edx
call dword [0x5b9aa0]
add esp, 8
mov dword [ebx + 0x78c280], 0x34
mov dword [ebx + 0x78c284], 0x83
add ebx, 0x34
cmp ebx, 0x340
jl 0x46cfc4
mov ebx, dword [esp]
mov dword [0x78c5c0], 1
mov dword [0x78c5c4], 2
mov dword [0x78c5c8], 4
mov dword [0x78c5cc], 8
mov dword [0x78c5d0], 0x10
mov dword [0x78c5d4], 0x20
mov dword [0x78c5d8], 0x40
mov dword [0x78c5dc], 0x80
mov dword [0x78c5e0], 0x100
mov dword [0x78c5e4], 0x200
mov dword [0x78c5e8], 0x400
mov dword [0x78c5ec], 0x800
mov dword [0x78c5f0], 0x1000
mov dword [0x78c5f4], 0x2000
mov dword [0x78c5f8], 0x4000
mov dword [0x78c5fc], 0x8000
mov dword [0x78c600], 0x10000
mov dword [0x78c604], 0x20000
mov dword [0x78c608], 0x40000
mov dword [0x78c60c], 0x80000
mov dword [0x78c610], 0x100000
mov dword [0x78c614], 0x200000
mov dword [0x78c618], 0x400000
mov dword [0x78c61c], 0x800000
mov dword [0x78c620], 0x1000000
mov dword [0x78c624], 0x2000000
mov dword [0x78c628], 0x4000000
mov dword [0x78c62c], 0x8000000
mov dword [0x78c630], 0x10000000
mov dword [0x78c634], 0x20000000
mov dword [0x78c638], 0x40000000
mov dword [0x78c63c], 0x80000000
mov eax, 1
pop ecx
ret

Function at 0x46d4b4
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x5cfcc0], eax
mov eax, 1
mov ecx, dword [eax*4 + 0x5cfcbc]
mov edx, ecx
shr edx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x5cfcc0], edx
inc eax
cmp eax, 0x270
jl 0x46d4c2
mov dword [0x59cc10], eax
ret
Function at 0x479339
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x5a0298
cmp edx, dword [eax]
je 0x47935b
add eax, 8
inc ecx
cmp eax, 0x5a0328
jl 0x47934c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x5a0298]
jne 0x479489
mov eax, dword [0x8744f8]
cmp eax, 1
je 0x479463
test eax, eax
jne 0x47938c
cmp dword [0x59d854], 1
je 0x479463
cmp edx, 0xfc
je 0x479489
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4793c3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0047a850
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004772a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x479406
lea eax, [ebp - 0x1a4]
push eax
call fcn.004772a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x57b448
push edi
call fcn.004733e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0047a850
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0047a860
lea eax, [ebp - 0xa0]
push 0x57b428
push eax
call fcn.0047a860
push dword [esi + 0x5a029c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0047a860
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0047d83b
add esp, 0x2c
pop edi
jmp 0x479489
lea eax, [ebp + 8]
lea esi, [esi + 0x5a029c]
push 0
push eax
push dword [esi]
call fcn.004772a0
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 0x495ca8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx + 0x14]
cmp eax, 0xca
je 0x495d56
cmp eax, 0xcb
je 0x495ceb
cmp eax, 0xcc
je 0x495ce1
push ebx
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x14]
mov dword [ecx + 0x18], edx
mov eax, dword [ebx]
call dword [eax]
pop ecx
mov eax, ebx
call fcn.00495d88
pop ecx
pop ebx
ret
mov edx, dword [ebx + 0x190]
movzx ecx, byte [edx + 0x10]
test ecx, ecx
jne 0x495d04
mov edx, dword [ebx + 0x7c]
mov dword [ebx + 0x84], edx
jmp 0x495ce1
mov edx, dword [ebx + 8]
test edx, edx
je 0x495d0f
push ebx
call dword [edx]
pop ecx
push ebx
mov edx, dword [ebx + 0x190]
call dword [edx]
pop ecx
test eax, eax
je 0x495d80
cmp eax, 2
je 0x495cf9
mov edx, dword [ebx + 8]
test edx, edx
je 0x495d0f
cmp eax, 3
je 0x495d33
cmp eax, 1
jne 0x495d0b
mov ecx, dword [edx + 4]
add ecx, 1
mov dword [edx + 4], ecx
mov edx, dword [ebx + 8]
mov eax, dword [edx + 8]
cmp ecx, eax
jl 0x495d07
mov ecx, dword [ebx + 0x11c]
add eax, ecx
mov dword [edx + 8], eax
mov edx, dword [ebx + 8]
jmp 0x495d07
push ebx
call fcn.00498ae0
pop ecx
movzx edx, byte [ebx + 0x40]
test edx, edx
jne 0x495d71
mov dword [ebx + 0x14], 0xcb
jmp 0x495ceb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ecx
pop ebx
ret
xor eax, eax
pop ecx
pop ebx
ret

Function at 0x495d88
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
sub esp, 8
mov ebx, eax
mov edx, dword [ebx + 0x14]
cmp edx, 0xcc
je 0x495db1
push ebx
mov edx, dword [ebx + 0x180]
call dword [edx]
pop ecx
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x14], 0xcc
mov edx, dword [ebx + 0x180]
movzx ecx, byte [edx + 8]
test ecx, ecx
je 0x495e4a
mov eax, dword [ebx + 0x78]
mov dword [esp], esi
mov dword [esp + 4], edi
lea ecx, [ebx + 0x78]
mov esi, ecx
jmp 0x495dd6
xor eax, eax
cmp eax, dword [ebx + 0x60]
jae 0x495e1e
mov edx, dword [ebx + 8]
test edx, edx
je 0x495df8
push ebx
mov dword [edx + 4], eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0x60]
mov dword [edx + 8], eax
mov edi, dword [ebx + 8]
call dword [edi]
pop ecx
mov eax, dword [ebx + 0x78]
mov edx, dword [ebx + 0x184]
mov edi, eax
xor eax, eax
push eax
push esi
push eax
push ebx
call dword [edx + 4]
add esp, 0x10
mov eax, dword [ebx + 0x78]
cmp eax, edi
je 0x495e6b
cmp eax, dword [ebx + 0x60]
jb 0x495ddb
mov edx, dword [ebx + 0x180]
push ebx
call dword [edx + 4]
push ebx
mov eax, dword [ebx + 0x180]
call dword [eax]
add esp, 8
mov edx, dword [ebx + 0x180]
mov dword [ebx + 0x78], 0
movzx eax, byte [edx + 8]
test eax, eax
jne 0x495dd4
mov esi, dword [esp]
mov edi, dword [esp + 4]
movzx edx, byte [ebx + 0x41]
test edx, edx
je 0x495e59
mov edx, 0xce
jmp 0x495e5e
mov edx, 0xcd
mov dword [ebx + 0x14], edx
mov eax, 1
add esp, 8
pop ebx
ret
mov esi, dword [esp]
mov edi, dword [esp + 4]
xor eax, eax
add esp, 8
pop ebx
ret