joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10009276
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94c
mov eax, dword [0x10046040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.100119dd
test eax, eax
js 0x10009504
push 0x104
lea eax, [ebp - 0x13c]
push eax
push dword [0x1004603c]
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
mov edi, 0x100012dc
push edi
lea eax, [ebp - 0x34]
push 0x2d
push eax
call fcn.1001e479
add esp, 0xc
xor ebx, ebx
push ebx
lea eax, [ebp - 0x13c]
push eax
push ebx
push 0x10001354
push 2
push 0x10003584
mov byte [ebp - 0x2f], 0x5c
call fcn.1001e479
test eax, eax
je 0x100092f3
mov eax, 0x80040201
jmp 0x10009504
push ebx
lea eax, [ebp - 0x13c]
push eax
push ebx
push 0x1000136c
push 3
push 0x10003234
call fcn.1001e479
test eax, eax
jne 0x100092e9
push 1
lea eax, [ebp - 0x13c]
push eax
push ebx
push 0x10001388
push 4
mov esi, 0x10003304
push esi
call fcn.1001e479
test eax, eax
jne 0x100092e9
mov ebx, dword [sym.imp.USER32.dll_LoadStringA]
push 0x800
lea eax, [ebp - 0x93c]
push eax
push 5
push dword [0x1004603c]
call ebx
test eax, eax
jne 0x10009357
mov byte [ebp - 0x93c], al
lea eax, [ebp - 0x93c]
push eax
push 0
push 0
push 0x100013a4
call fcn.1001e479
test eax, eax
jne 0x100092e9
lea eax, [ebp - 0x2e]
push eax
push esi
call fcn.1001e479
lea eax, [ebp - 0x2e]
push eax
push edi
push 0
push 0x100013a4
call fcn.1001e479
test eax, eax
jne 0x100092e9
push eax
lea eax, [ebp - 0x13c]
push eax
push 0
push 0x100013c0
push 6
push 0x10003434
call fcn.1001e479
test eax, eax
jne 0x100092e9
push eax
lea eax, [ebp - 0x13c]
push eax
push 0
push 0x100013dc
push 7
push 0x10003444
call fcn.1001e479
test eax, eax
jne 0x100092e9
push eax
lea eax, [ebp - 0x13c]
push eax
push 0
push 0x100013fc
push 9
push 0x10003454
call fcn.1001e479
test eax, eax
jne 0x100092e9
push 0x10001424
mov dword [ebp - 0x940], eax
mov dword [ebp - 0x944], eax
mov dword [ebp - 0x94c], eax
call dword [sym.imp.kernel32.dll_lstrlenA]
mov esi, eax
lea eax, [ebp - 0x940]
push eax
push 1
push 0
push 0x10001434
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10009502
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x944]
push eax
push 0
lea eax, [ebp - 0x948]
push eax
push 0
push 0x100012a8
push dword [ebp - 0x940]
call edi
test eax, eax
jne 0x10009502
mov eax, dword [ebp - 0x944]
inc eax
add eax, esi
mov dword [ebp - 0x944], eax
call fcn.10009f0e
mov esi, esp
test esi, esi
je 0x10009502
lea eax, [ebp - 0x94c]
push eax
push esi
lea eax, [ebp - 0x948]
push eax
push 0
push 0x100012a8
push dword [ebp - 0x940]
call edi
test eax, eax
jne 0x10009502
push dword [ebp - 0x940]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x10001424
push dword [ebp - 0x944]
push esi
call fcn.1001e479
push 0x10001450
lea eax, [ebp - 0x13c]
push 0x106
push eax
call fcn.1001e479
add esp, 0xc
push 0x800
lea eax, [ebp - 0x93c]
push eax
push 1
push dword [0x1004603c]
call ebx
test eax, eax
jne 0x10009502
mov eax, 0xc7ce0017
jmp 0x10009504
xor eax, eax
lea esp, [ebp - 0x958]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10009f00
leave
ret
Function at 0x10009bb9
Capabilities:
Accept command line arguments

Disassembly:
push 8
push 0x10042958
call fcn.1000aecb
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x10009c47
call fcn.1000ae99
test eax, eax
jne 0x10009bdd
xor eax, eax
jmp 0x10009d13
call fcn.1000a293
test eax, eax
jne 0x10009bed
call fcn.1000aeb7
jmp 0x10009bd6
call fcn.1000ae4d
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x10049d38], eax
call fcn.1001e479
mov dword [0x10048aa4], eax
call fcn.1001e479
test eax, eax
jns 0x10009c17
call fcn.10009f6a
jmp 0x10009be6
call fcn.1001e479
test eax, eax
js 0x10009c40
call fcn.1000aa85
test eax, eax
js 0x10009c40
push 0
call fcn.1001e479
pop ecx
test eax, eax
jne 0x10009c40
inc dword [0x10048aa0]
jmp 0x10009d10
call fcn.1000aa32
jmp 0x10009c10
xor edi, edi
cmp eax, edi
jne 0x10009ca6
cmp dword [0x10048aa0], edi
jle 0x10009bd6
dec dword [0x10048aa0]
mov dword [ebp - 4], edi
cmp dword [0x10048ad8], edi
jne 0x10009c6b
call fcn.1000a7c0
cmp dword [ebp + 0x10], edi
jne 0x10009c7f
call fcn.1000aa32
call fcn.10009f6a
call fcn.1000aeb7
mov dword [ebp - 4], 0xfffffffe
call fcn.10009c92
jmp 0x10009d10
cmp eax, 2
jne 0x10009d04
call fcn.10009f36
push 0x214
push 1
call fcn.1001e479
pop ecx
pop ecx
mov esi, eax
cmp esi, edi
je 0x10009bd6
push esi
push dword [0x10046048]
push dword [0x10048ab8]
call dword [sym.imp.kernel32.dll_DecodePointer]
call eax
test eax, eax
je 0x10009cf8
push edi
push esi
call fcn.10009fad
pop ecx
pop ecx
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov dword [esi], eax
or dword [esi + 4], 0xffffffff
jmp 0x10009d10
push esi
call fcn.1001e479
pop ecx
jmp 0x10009bd6
cmp eax, 3
jne 0x10009d10
push edi
call fcn.1001e479
pop ecx
xor eax, eax
inc eax
call fcn.1000af10
ret 0xc

Function at 0x10009f00
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10046040]
jne 0x1000b4a0
repz ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x10048cf8], eax
mov dword [0x10048cf4], ecx
mov dword [0x10048cf0], edx
mov dword [0x10048cec], ebx
mov dword [0x10048ce8], esi
mov dword [0x10048ce4], edi
mov word [0x10048d10], ss
mov word [0x10048d04], cs
mov word [0x10048ce0], ds
mov word [0x10048cdc], es
mov word [0x10048cd8], fs
mov word [0x10048cd4], gs
pushfd
pop dword [0x10048d08]
mov eax, dword [ebp]
mov dword [0x10048cfc], eax
mov eax, dword [ebp + 4]
mov dword [0x10048d00], eax
lea eax, [ebp + 8]
mov dword [0x10048d0c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x10048c48], 0x10001
mov eax, dword [0x10048d00]
mov dword [0x10048bfc], eax
mov dword [0x10048bf0], 0xc0000409
mov dword [0x10048bf4], 1
mov eax, dword [0x10046040]
mov dword [ebp - 0x328], eax
mov eax, dword [0x10046044]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x10048c40], eax
push 1
call fcn.1000ce11
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x10001564
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x10048c40], 0
jne 0x1000b58c
push 1
call fcn.1000ce11
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x1001100d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x100418d8
call fcn.10037358
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x41c], edx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
push 2
push ebx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x1001106e
call fcn.1000e3e2
mov esi, eax
jmp 0x10011146
push dword [ebp - 0x41c]
push esi
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x1001108c
call fcn.1000e3e2
jmp 0x1001113d
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x10011082
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x41c], esi
cmp eax, esi
jae 0x100110bf
mov esi, 0x8007000e
jmp 0x1001113f
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.1001e479
mov dword [ebp - 4], 1
jmp 0x100110f3
cmp dword [ebp - 0x418], 0
je 0x100110b5
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x420]
push ebx
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x10011082
mov eax, dword [ebp - 0x418]
push dword [ebp + 0x14]
xor edx, edx
mov word [eax + ecx*2], dx
push dword [ebp - 0x418]
lea ecx, [ebp - 0x42c]
call fcn.1001e479
mov esi, eax
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1001115f
lea ecx, [ebp - 0x418]
call fcn.10011269
mov eax, esi
call fcn.100373b1
ret 0x10
Function at 0x1001e479
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x1001e488
pop dword [ebp - 4]
mov eax, 0x1001e488
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x185525b7
add dword [ebp - 0x14], 0x35fd1f94
mov dword [ebp - 0x10], 0x6fa527a6
sub dword [ebp - 0x10], 0x3d71db61
mov dword [ebp - 0xc], 0x17779ad1
add dword [ebp - 0xc], 0x34d4a95d
mov dword [ebp - 8], 0xaffc0048
sub dword [ebp - 8], 0xaffc0048
lea eax, [ebp - 0x14]
push eax
mov eax, 0x7e9b14ad
add eax, 0x9164fcd7
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0x73c57903
add dword [ebp - 0x14], 0xacf053
mov dword [ebp - 0x10], 0x951529aa
sub dword [ebp - 0x10], 0x53a8c835
mov dword [ebp - 0xc], 0xc9664bd9
sub dword [ebp - 0xc], 0x65f6df6d
mov dword [ebp - 8], 0xe148296d
add dword [ebp - 8], 0x1eb7d693
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x41b4d
push 0
call eax
mov ecx, 0xcc558548
sub ecx, 0xcc55461b
mov edi, eax
mov edx, 0xaa4a1b14
sub edx, 0x9a450314
add edx, dword [ebp - 4]
mov esi, 0x597bf0e6
mov ebx, dword [edx]
xor ebx, esi
mov dword [edi], ebx
add edi, 0xb03addfb
sub edi, 0xb03addf7
add edx, 4
loop 0x1001e59a
add eax, 0xef87
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xff21fbe
add ecx, 0xde042
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x409b90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f53f2
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x54f018]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov eax, dword [0x54f018]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x18]
push eax
mov esi, ecx
mov dword [esp + 0x20], edi
call dword [sym.imp.mfc100.dll_Ordinal_4340]
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], eax
call dword [sym.imp.mfc100.dll_Ordinal_316]
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x48], ebx
call dword [sym.imp.mfc100.dll_Ordinal_5007]
mov ecx, dword [eax + 0x20]
push ebx
push ebx
push 0x1200
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ebx
cmp eax, ebx
jle 0x409cc0
jmp 0x409c24
mov edi, dword [esp + 0x1c]
mov edi, dword [edi + 8]
lea edx, [esp + 0x28]
push edx
push 2
xor eax, eax
push ebx
push edi
mov ecx, esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call dword [sym.imp.mfc100.dll_Ordinal_6216]
test eax, eax
je 0x409cb1
push ebx
push edi
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call dword [sym.imp.mfc100.dll_Ordinal_5175]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 1
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 0
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add dword [esp + 0x28], 5
dec dword [esp + 0x30]
mov edi, dword [ecx]
push 0x824
lea edx, [esp + 0x2c]
push edx
push eax
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [edi + 0x70]
push ebx
call eax
mov ebx, dword [esp + 0x18]
inc ebx
mov dword [esp + 0x18], ebx
cmp ebx, dword [esp + 0x20]
jl 0x409c20
mov edi, dword [esi + 0x78]
sub edi, dword [esi + 0x74]
xor ebx, ebx
sar edi, 4
test edi, edi
jle 0x409cdc
nop
mov edx, ebx
call fcn.00409a90
inc ebx
cmp ebx, edi
jl 0x409cd0
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004e8d32
mov esp, ebp
pop ebp
ret 4
Function at 0x409dd0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f53c4
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x54f018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
mov ecx, esi
call dword [sym.imp.mfc100.dll_Ordinal_374]
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [esi], vtable.CSGMemDC.0
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], vtable.CBitmap.0
mov byte [ebp - 4], 1
lea edi, [esi + 0x20]
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ecx
xor eax, eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
cmp dword [ebx + 0xc], ecx
sete al
mov dword [esi + 0x30], eax
cmp eax, ecx
je 0x409eab
mov eax, dword [ebx]
mov edx, dword [eax + 0x58]
push edi
mov ecx, ebx
call edx
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call dword [sym.imp.mfc100.dll_Ordinal_2183]
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
push eax
mov eax, dword [ebx + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
lea ebx, [esi + 0x10]
push eax
mov ecx, ebx
call dword [sym.imp.mfc100.dll_Ordinal_2184]
test ebx, ebx
je 0x409e88
mov ebx, dword [ebx + 4]
mov ecx, dword [esi + 4]
push ebx
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_11924]
mov edx, dword [esi + 0x24]
mov dword [esi + 0x18], eax
mov eax, dword [edi]
push edx
push eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, esi
call dword [sym.imp.mfc100.dll_Ordinal_12861]
jmp 0x409ebd
mov edx, dword [ebx + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 8]
mov dword [esi + 8], ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40eed0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6d21
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x54f018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [edi + 8]
lea eax, [ebp - 0x4c]
push eax
push ecx
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
xor ebx, ebx
sub eax, dword [ebp - 0x4c]
cdq
sub eax, edx
sar eax, 1
push eax
push ebx
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esi + 8]
add dword [esi + 0xc], 0xfffffffb
lea edx, [eax - 0xf]
add eax, 0xfffffffc
mov dword [esi], edx
mov dword [esi + 8], eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], vtable.CFont.0
push str.Tahoma
push 0x20
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x64
push ebx
push ebx
push ebx
push 0xfffffffffffffff7
mov dword [ebp - 4], ebx
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc100.dll_Ordinal_2184]
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
lea ecx, [ebp - 0x54]
push ecx
mov ecx, edi
call edx
push 0x523888
lea ecx, [ebp - 0x58]
mov ebx, eax
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x58]
mov edx, dword [edi]
mov edx, dword [edx + 0x70]
push ecx
mov ecx, dword [eax - 0xc]
push esi
push ecx
push eax
mov ecx, edi
call edx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
push ebx
mov ecx, edi
call edx
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc100.dll_Ordinal_3439]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x54], vtable.CFont.0
call fcn.00403d90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e8d32
mov esp, ebp
pop ebp
ret 4
Function at 0x426840
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f51ef
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x54f018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
xor ecx, ecx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
push 0x1fc
mov byte [ebp - 4], 5
push eax
lea edi, [esi + 0x73]
push edi
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov word [esi + 0x70], cx
call sub.MSVCR100.dll_memset
push 0x1505
push 0x1f8
push edi
call fcn.004ecc40
mov dword [esi + 0x26b], eax
add esp, 0x18
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x42d1d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5038f9
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x54f018]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x54f018]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, edx
mov eax, dword [edi]
mov ebx, ecx
mov ecx, dword [edi + 4]
cmp eax, ecx
je 0x42d23a
mov edx, dword [esp + 0x18]
push edx
push ecx
call fcn.00416a00
mov ecx, dword [esp + 0x20]
push ecx
mov esi, eax
mov eax, dword [edi + 4]
lea edx, [edi + 0xc]
push edx
push eax
push esi
call fcn.004169c0
add esp, 0x18
mov dword [edi + 4], esi
mov eax, 0xf
xor esi, esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], esi
mov byte [esp + 0x44], 0
mov dword [esp + 0x70], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], esi
mov byte [esp + 0x28], 0
push esi
push esi
mov byte [esp + 0x78], 1
mov eax, dword [ebx + 0x730]
push 0x146
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
cmp eax, esi
jbe 0x42d382
add ebx, 0x710
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [esp + 0x70], 2
mov eax, dword [esp + 0x44]
mov ecx, 0x10
mov dword [esp + 0x54], esi
cmp dword [esp + 0x58], ecx
jae 0x42d2b8
lea eax, [esp + 0x44]
mov byte [eax], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], esi
cmp dword [esp + 0x3c], ecx
jae 0x42d2cd
lea eax, [esp + 0x28]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov byte [eax], 0
call dword [sym.imp.mfc100.dll_Ordinal_5204]
mov esi, dword [esp + 0x1c]
sub esp, 0x1c
mov ecx, esp
mov eax, esi
lea edx, [eax + 1]
mov dword [esp + 0x3c], esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
lea ebx, [esp + 0x60]
mov byte [ecx], 0
mov dword [esp + 0x3c], edx
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42d310
sub eax, dword [esp + 0x3c]
push eax
push esi
call fcn.004016d0
mov ecx, ebx
call fcn.0042e130
add esp, 0x1c
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00481b00
mov esi, dword [edi + 4]
mov eax, dword [edi]
lea edx, [esp + 0x30]
push edx
push esi
call fcn.0042e430
add esp, 0x10
cmp eax, esi
jne 0x42d35e
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.0042e360
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 1
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, dword [esp + 0x14]
inc eax
xor esi, esi
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x18]
jb 0x42d292
mov ebx, dword [sym.imp.mfc100.dll_Ordinal_1296]
mov edi, 0x10
cmp dword [esp + 0x3c], edi
jb 0x42d39d
mov ecx, dword [esp + 0x28]
push ecx
call ebx
add esp, 4
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], esi
mov byte [esp + 0x28], 0
cmp dword [esp + 0x58], edi
jb 0x42d3be
mov edx, dword [esp + 0x44]
push edx
call ebx
add esp, 4
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.004e8d32
mov esp, ebp
pop ebp
ret
Function at 0x4312a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f423c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x54f018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov edi, 1
mov ecx, esi
mov dword [ebp - 4], edi
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
cmp dword [eax - 0xc], ebx
jle 0x43135f
mov edi, dword [sym.imp.MSVCR100.dll_strtoul]
xor eax, eax
push 1
push eax
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_7876]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
push 0x10
lea edx, [ebp - 0x18]
push edx
push eax
mov dword [ebp - 0x18], 0
call edi
lea ecx, [ebx + 1]
movzx edx, cl
xor eax, edx
movzx eax, al
push eax
lea ecx, [ebp - 0x10]
push 0x5277f4
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_4283]
add esp, 0x18
lea edx, [ebp - 0x10]
push edx
mov ecx, esi
call dword [sym.imp.mfc100.dll_Ordinal_1479]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 0xc]
inc ebx
movzx eax, bx
cmp eax, ecx
jl 0x4312f3
mov ecx, esi
call dword [sym.imp.mfc100.dll_Ordinal_7837]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46ca60
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov esi, eax
mov eax, dword [esi + 0x6e8]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, dword [esi + 0x6e8]
or eax, 1
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [esi + 0x6e8]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1037
push edx
call edi
or eax, 0x21
push eax
mov eax, dword [esi + 0x6e8]
push 0
push 0x1036
push eax
call edi
mov edi, dword [sym.imp.mfc100.dll_Ordinal_7206]
push 0xffffffffffffffff
push 0x8c
push 0
push str.Items
add esi, 0x6c8
push 0
mov ecx, esi
call edi
push 0xffffffffffffffff
push 0xc8
push 0
push str.RDT_Setting
push 1
mov ecx, esi
call edi
mov edi, dword [sym.imp.mfc100.dll_Ordinal_7211]
push 0
push 0
push 0
push 0
push str.SLC_Loop
push 0
push 1
mov ecx, esi
call edi
push 0
push 0
push 0
push 0
push 0x528ba4
push 1
push 1
mov ecx, esi
call edi
push 0
push 0
push 0
push 0
push str.TLC_Loop
push 2
push 1
mov ecx, esi
call edi
push 0
push 0
push 0
push 0
push 0x528bbc
push 3
push 1
mov ecx, esi
call edi
push 0
push 0
push 0
push 0
push str.Ref_Mode
push 4
push 1
mov ecx, esi
call edi
push 0
push 0
push 0
push 0
push str.Erase_Mode
push 5
push 1
mov ecx, esi
call edi
push 0
push 0
push 0
push 0
push 0x52d394
push 6
push 1
mov ecx, esi
call edi
push 0
push 0
push 0
push 0
push str.Read_Mode
push 7
push 1
mov ecx, esi
call edi
push 0
push 0
push 0
push 0
push str.Test_Type
push 8
push 1
mov ecx, esi
call edi
push 0
push 0
push 0
push 0
push 0x524230
push 9
push 1
mov ecx, esi
call edi
push 0
push 0
push 0
push 0
push str.Total_Fail_Cnt
push 0xa
push 1
mov ecx, esi
call edi
push 0
push 0
push 0
push 0
push str.Erase_Fail_Cnt
push 0xb
push 1
mov ecx, esi
call edi
push 0
push 0
push 0
push 0
push str.Program_Fail_Cnt
push 0xc
push 1
mov ecx, esi
call edi
push 0
push 0
push 0
push 0
push str.Read_Fail_Cnt
push 0xd
push 1
mov ecx, esi
call edi
push 0
push 0
push 0
push 0
push str.Bad_Block_Cnt___Lun
push 0xe
push 1
mov ecx, esi
call edi
push 0
push 0
push 0
push 0
push str.Vdt_Cnt_TH
push 0xf
push 1
mov ecx, esi
call edi
push 0
push 0
push 0
push 0
push 0x52d420
push 0x10
push 1
mov ecx, esi
call edi
pop edi
pop esi
ret