joyce8/EMBER2024-capa huggingface dataset:
Function at 0xe25000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xe25131
push esi
call fcn.00e28145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00e17080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xe25131
push 0
push ebp
call fcn.00e173a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00e17260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xe2508b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00e172f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xe25121
push 0xe3d918
push edi
call fcn.00e263f0
push eax
push ebx
push esi
call fcn.00e24f60
push 0xe3d8f8
push edi
call fcn.00e263f0
push eax
push ebx
push esi
call fcn.00e24f60
push 0xe3d8d8
push edi
call fcn.00e263f0
push eax
push ebx
push esi
call fcn.00e24f60
push 0xe3d8c0
push edi
call fcn.00e263f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00e24f60
push 0xe3d8a0
push edi
call fcn.00e263f0
push eax
push ebx
push esi
call fcn.00e24f60
push 0xe3d888
push edi
call fcn.00e263f0
push eax
push ebx
push esi
call fcn.00e24f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xe261b0
Capabilities:
Acquire debug privileges

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

Function at 0xe26bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xe26c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xe3887c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xe26c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xe26c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x1002a8d
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
lea eax, [ebp + 0x14]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
mov dword [ebp + 0x14], esi
push dword [ebp + 8]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1002ae8
mov eax, dword [ebp + 0x14]
cmp eax, 2
jb 0x1002ae3
shr eax, 1
xor ecx, ecx
cmp cx, word [edi + eax*2 - 2]
jne 0x1002ae3
mov eax, dword [ebp + 0x10]
dec eax
je 0x1002adf
dec eax
jne 0x1002ae3
push esi
push edi
call fcn.01002996
test eax, eax
jne 0x1002ae8
xor eax, eax
jmp 0x1002ae8
mov eax, 0x3f7
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x1002d87
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1003220
call fcn.01002f44
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x10043c8
push ebx
push esi
push edi
call dword [sym.imp.API_MS_Win_Core_Interlocked_L1_1_0.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1002b9c
cmp eax, esi
jne 0x1002b8f
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x1002b9f
push 0x3e8
call dword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_Sleep]
jmp 0x1002b76
xor esi, esi
inc esi
mov eax, dword [0x10043c4]
cmp eax, esi
jne 0x1002bb2
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1002bed
mov eax, dword [0x10043c4]
test eax, eax
jne 0x1002be7
mov dword [0x10043c4], esi
push 0x1001188
push 0x100117c
call fcn.01135000
pop ecx
pop ecx
test eax, eax
je 0x1002bed
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x1002cb7
mov dword [0x1004078], esi
mov eax, dword [0x10043c4]
cmp eax, esi
jne 0x1002c11
push 0x1001178
push 0x1001170
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x10043c4], 2
cmp dword [ebp - 0x1c], ebx
jne 0x1002c1e
push ebx
push edi
call dword [sym.imp.API_MS_Win_Core_Interlocked_L1_1_0.dll_InterlockedExchange]
cmp dword [0x10043cc], ebx
je 0x1002c3f
push 0x10043cc
call fcn.01002eb9
pop ecx
test eax, eax
je 0x1002c3f
push ebx
push 2
push ebx
call dword [0x10043cc]
push dword [0x1004060]
push dword [0x1004064]
push dword [0x100405c]
call fcn.010018dc
add esp, 0xc
mov dword [0x1004074], eax
cmp dword [0x1004068], ebx
jne 0x1002c9d
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x1004078], ebx
jne 0x1002cab
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1004074]
call fcn.01002f89
ret
call fcn.01003091
jmp 0x1002b54
Function at 0x4020d6
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edi, dword [ebp + 8]
cmp word [edi], 0x5a4d
jne 0x40214b
mov edx, edi
add edx, dword [edi + 0x3c]
cmp word [edx], 0x4550
jne 0x40214b
mov dword [ebp - 0xc], edx
mov eax, dword [edx + 0x78]
add eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [eax + 0x20]
add eax, dword [ebp + 8]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 8]
cmp ecx, dword [edx + 0x18]
jge 0x40214b
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + ecx*4]
add ebx, dword [ebp + 8]
push dword [ebp + 0xc]
push ebx
call fcn.00402c93
cmp eax, 1
je 0x40212b
inc ecx
jmp 0x402109
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
add eax, dword [ebp + 8]
xor ebx, ebx
mov bx, word [eax + ecx*2]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
add eax, dword [ebp + 8]
mov eax, dword [eax + ebx*4]
add eax, dword [ebp + 8]
jmp 0x40214d
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x402153
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [0x403010], 0x400000
push 0x7f02
push 0
call dword [sym.imp.user32.dll_LoadIconA]
sub esp, 8
mov dword [0x403014], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
sub esp, 8
mov dword [0x403018], eax
mov eax, section..data_1
mov dword [esp], eax
call dword [sym.imp.user32.dll_RegisterClassA]
sub esp, 4
test eax, eax
je 0x40227e
mov dword [esp], 0
mov dword [esp + 4], 0x403044
mov dword [esp + 8], 0x403049
mov dword [esp + 0xc], 0x80000
mov dword [esp + 0x10], pe_nt_image_headers32
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x18], 0x100
mov dword [esp + 0x1c], 0xc0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov eax, dword [0x403010]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.user32.dll_CreateWindowExA]
sub esp, 0x30
test eax, eax
je 0x40227e
mov dword [esp], 0x403028
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call dword [sym.imp.user32.dll_GetMessageA]
sub esp, 0x10
cmp eax, 1
jb 0x40227e
jne 0x402213
push 0x40307e
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov dword [0x403089], eax
push 0x403069
push dword [0x403089]
call fcn.004020d6
push 0x403028
call eax
sub esp, 4
mov dword [esp], 0x403028
call dword [sym.imp.user32.dll_DispatchMessageA]
sub esp, 4
jmp 0x402213
leave
mov eax, dword [0x403030]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ExitProcess]

Function at 0x4022ab
Capabilities:
Execute anti-debugging instructions

Disassembly:
push eax
mov edi, eax
mov esi, 0x40308d
mov ecx, dword [0x40228d]
dec ecx
mov bl, byte [0x402291]
rdtsc
push eax
mov bh, byte [esi]
mov byte [edi], bh
inc edi
inc esi
inc esi
push eax
mov al, byte [esi]
stosb byte es:[edi], al
add byte [edi - 1], bl
pop eax
loop 0x4022c8
rdtsc
pop edx
sub eax, edx
sub esp, 0x18
push 0
push dword [0x40304f]
call dword [sym.imp.Msacm32.dll_acmStreamOpen]
pop edx
sub edx, eax
push edx
push 0
push 2
push 0x403067
push 0x403053
call dword [sym.imp.Winmm.dll_mciSendStringA]
pop edx
sub edx, eax
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x475008]
jne 0x40100a
repz ret
jmp fcn.00401a2c

Function at 0x40656b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00403313
and dword [ebp - 4], 0
cmp dword [0x476db8], 0
mov ebx, eax
jne 0x40661c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4066cd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4066cd
push eax
call fcn.004032a1
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x476db8], eax
call esi
push eax
call fcn.004032a1
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x476dbc], eax
call esi
push eax
call fcn.004032a1
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x476dc0], eax
call esi
push eax
call fcn.004032a1
pop ecx
mov dword [0x476dc8], eax
test eax, eax
je 0x40661c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004032a1
pop ecx
mov dword [0x476dc4], eax
mov eax, dword [0x476dc4]
cmp eax, ebx
je 0x406674
cmp dword [0x476dc8], ebx
je 0x406674
push eax
call fcn.0040331c
push dword [0x476dc8]
mov esi, eax
call fcn.0040331c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406674
test edi, edi
je 0x406674
call esi
test eax, eax
je 0x40666b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40666b
test byte [ebp - 0xc], 1
jne 0x406674
or dword [ebp + 0x10], 0x200000
jmp 0x4066ad
mov eax, dword [0x476dbc]
cmp eax, ebx
je 0x4066ad
push eax
call fcn.0040331c
pop ecx
test eax, eax
je 0x4066ad
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4066ad
mov eax, dword [0x476dc0]
cmp eax, ebx
je 0x4066ad
push eax
call fcn.0040331c
pop ecx
test eax, eax
je 0x4066ad
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x476db8]
call fcn.0040331c
pop ecx
test eax, eax
je 0x4066cd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4066cf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x471570
Capabilities:
Get hostname

Disassembly:
sub esp, 0xc2c
mov eax, dword [0x475008]
xor eax, esp
mov dword [esp + 0xc28], eax
push ebp
mov ebp, dword [esp + 0xc34]
push edi
cmp ebx, 0x182
jne 0x4715a4
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
jmp 0x4715ce
cmp ebx, 0x19f
jne 0x4715ce
push str.werababumogasetaraporevog
push str.zoriluwokisobuturowa
push str.bepicocoyam
push str.finekojuyiheyocakusisasuru
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor edi, edi
test ebx, ebx
jle 0x471668
push esi
lea esp, [esp]
lea esi, [esp + 0x10]
mov dword [esp + 0xc], 5
mov dword [esp + 0x10], 0
call fcn.00471560
mov eax, dword [esp + 0x10]
add eax, 0x46
mov dword [esp + 0xc], eax
sub dword [esp + 0xc], 0x46
mov cl, byte [esp + 0xc]
xor byte [edi + ebp], cl
cmp ebx, 0xf
jne 0x47165e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaAvailableMemoryNode]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push str.picuf
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectW]
push 0
lea ecx, [esp + 0x438]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
inc edi
cmp edi, ebx
jl 0x4715e0
pop esi
pop edi
pop ebp
cmp ebx, 0x2d
jne 0x471683
mov dword [0x2b74fe0], 0xa62e7790
mov dword [0x2b74fe4], 0xffffffff
mov ecx, dword [esp + 0xc28]
xor ecx, esp
call fcn.00401000
add esp, 0xc2c
ret

Function at 0x4716a0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x804
mov eax, dword [0x475008]
xor eax, esp
mov dword [esp + 0x800], eax
mov eax, dword [0x2b74eac]
push ebx
push esi
mov esi, dword [0x2b74cf4]
mov ebx, eax
cmp eax, 0x5dd
jne 0x4716d9
push 0
lea eax, [esp + 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov eax, dword [0x475fe0]
call fcn.00471530
cmp dword [0x2b74eac], 0x2f
jne 0x4716f4
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
call fcn.00471570
add esp, 4
cmp dword [0x2b74eac], 0x568
pop esi
pop ebx
jne 0x47171b
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaHighestNodeNumber]
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.00401000
add esp, 0x804
ret
Function at 0x40eb70
Capabilities:
Write file on windows

Disassembly:
push 0x54
mov eax, 0x42a0cd
call fcn.00415576
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x3c], edi
cmp dword [edi + 0x3c], ebx
je 0x40ec89
cmp byte [edi + 0x41], bl
je 0x40ec89
mov eax, dword [edi]
push 0xffffffffffffffff
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x40eba8
xor al, al
jmp 0x40ec8b
lea esi, [ebp - 0x30]
call fcn.0040e890
lea eax, [edi + 0x44]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x1c]
lea ebx, [ebp - 0x48]
lea esi, [ebp - 0x30]
mov dword [ebp - 0x34], eax
call fcn.0040e90c
mov esi, eax
call fcn.0040f4d5
add eax, dword [ebp - 0x34]
lea ebx, [ebp - 0x60]
lea esi, [ebp - 0x30]
mov dword [ebp - 0x34], eax
call fcn.0040e90c
mov esi, eax
call fcn.0040f4d5
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
lea esi, [ebp - 0x38]
push esi
push dword [ebp - 0x34]
push eax
push dword [ebp - 0x40]
call dword [edx + 0x18]
xor ebx, ebx
sub eax, ebx
je 0x40ec0d
dec eax
je 0x40ec10
dec eax
dec eax
jne 0x40ec79
mov bl, 1
jmp 0x40ec79
mov byte [edi + 0x41], bl
lea ebx, [ebp - 0x58]
lea esi, [ebp - 0x30]
call fcn.0040e90c
mov esi, eax
call fcn.0040f4d5
mov ecx, dword [ebp - 0x38]
sub ecx, eax
mov dword [ebp - 0x34], ecx
je 0x40ec55
push dword [edi + 0x4c]
lea ebx, [ebp - 0x50]
push ecx
push 1
lea esi, [ebp - 0x30]
call fcn.0040e90c
mov esi, eax
call fcn.0040f4d5
push eax
call fcn.00414702
add esp, 0x10
cmp dword [ebp - 0x34], eax
jne 0x40ec77
mov ecx, dword [ebp - 0x34]
cmp byte [edi + 0x41], 0
je 0x40ec09
test ecx, ecx
jne 0x40ebb9
push ecx
push 8
pop ebx
lea edi, [ebp - 0x30]
call fcn.0040e8c8
mov edi, dword [ebp - 0x3c]
jmp 0x40ebb9
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.004022ef
mov al, bl
jmp 0x40ec8b
mov al, 1
call fcn.004155f9
ret
Function at 0x4115e3
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x429e01
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x43637c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xc]
add esi, 4
mov dword [esp + 0x24], eax
mov eax, dword [esi + 4]
mov ebx, 0x42ea84
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
call fcn.004010c3
mov dword [esp + 0x14], eax
and dword [esp + 0x38], 0
xor bl, bl
mov ecx, dword [esp + 0x24]
xor al, al
cmp dword [esp + 0x20], ecx
je 0x411649
inc al
cmp esi, esi
je 0x41164f
mov al, 1
test al, al
je 0x4116b9
lea esi, [esp + 0x18]
mov eax, ecx
call fcn.004119fa
mov edi, eax
lea esi, [esp + 0x14]
mov byte [esp + 0x38], 1
call fcn.00405117
mov byte [esp + 0x38], 0
cmp dword [esp + 0x18], 0
je 0x411684
push dword [esp + 0x18]
call fcn.00412f89
pop ecx
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebp + 8]
call fcn.00411330
test al, al
je 0x4116a6
mov esi, dword [esp + 0x24]
mov edi, dword [ebp + 0xc]
add esi, 4
call fcn.00405117
mov bl, 1
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 8]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
test bl, bl
je 0x41163b
test bl, bl
jne 0x4116f9
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
push ecx
mov dword [esp + 0x24], esp
mov edi, esp
call fcn.004010c3
mov dword [edi], eax
mov eax, dword [ebp + 8]
push ecx
mov byte [esp + 0x40], 2
mov ebx, dword [eax]
mov dword [esp + 0x24], esp
mov edi, esp
call fcn.004010c3
mov dword [edi], eax
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
mov byte [esp + 0x44], 0
call fcn.004118a5
cmp dword [esp + 0x14], 0
je 0x41170a
push dword [esp + 0x14]
call fcn.00412f89
pop ecx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x402890
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
push str.restoreserverdefaults
call fcn.00488280
push str.restoreserverdefaultsconfirm
mov esi, eax
call fcn.00488280
add esp, 8
xor ebp, ebp
xor ebx, ebx
test esi, esi
mov edi, eax
je 0x4028ca
push esi
call fcn.004753b0
push esi
mov ebp, eax
call fcn.00477540
add esp, 8
xor esi, esi
test edi, edi
je 0x4028e1
push edi
call fcn.004753b0
push edi
mov ebx, eax
call fcn.00477540
add esp, 8
xor edi, edi
push 0x134
push ebp
push ebx
push 0
call dword [0x58a2a4]
test esi, esi
mov ebx, eax
je 0x4028ff
push esi
call fcn.00477540
add esp, 4
test edi, edi
je 0x40290c
push edi
call fcn.00477540
add esp, 4
pop edi
pop esi
pop ebp
cmp ebx, 6
pop ebx
jne 0x402929
push str.reset
push 0
push 0x4022e0
call fcn.004b32aa
add esp, 0xc
ret

Function at 0x40291a
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
push str.restoreserverdefaults
call fcn.00488280
push str.restoreserverdefaultsconfirm
mov esi, eax
call fcn.00488280
add esp, 8
xor ebp, ebp
xor ebx, ebx
test esi, esi
mov edi, eax
je 0x4028ca
push esi
call fcn.004753b0
push esi
mov ebp, eax
call fcn.00477540
add esp, 8
xor esi, esi
test edi, edi
je 0x4028e1
push edi
call fcn.004753b0
push edi
mov ebx, eax
call fcn.00477540
add esp, 8
xor edi, edi
push 0x134
push ebp
push ebx
push 0
call dword [0x58a2a4]
test esi, esi
mov ebx, eax
je 0x4028ff
push esi
call fcn.00477540
add esp, 4
test edi, edi
je 0x40290c
push edi
call fcn.00477540
add esp, 4
pop edi
pop esi
pop ebp
cmp ebx, 6
pop ebx
jne 0x402929
push str.reset
push 0
push 0x4022e0
call fcn.004b32aa
add esp, 0xc
ret

Function at 0x403420
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x6da36c]
test eax, eax
je 0x403432
push 0
push eax
call dword [0x58a2a0]
cmp dword [0x6da374], 0
mov dword [0x6da378], 0
jne 0x403454
push str.stop
call fcn.00402200
add esp, 4
jmp 0x40347f
push 0x6d8150
call fcn.004013b0
add esp, 4
test eax, eax
jle 0x40347f
push 0x402
push section..text
mov dword [0x6d8148], 0x5cd688
call dword [0x58a26c]
mov dword [0x6da368], 0
mov dword [0x6da36c], 0
call dword [0x58a35c]
push 0
call fcn.004b3799
int3
Function at 0x4217e1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push 0
push 0x6e1598
call fcn.00479fc0
mov esi, dword [0x6dad38]
add esp, 8
test esi, esi
je 0x421825
lea ebx, [ebx]
mov eax, dword [esi + 0x74]
test eax, eax
je 0x421817
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 1
mov esi, dword [esi + 0x5c]
test esi, esi
jne 0x421800
push 0
push 0x6e1598
call fcn.0047a000
add esp, 8
pop esi
jmp fcn.00425250
Function at 0x43fea0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, edx
add edi, 0xfffffffc
or ecx, 0xffffffff
xor eax, eax
test edi, edi
jle 0x43fed3
push ebx
movzx edx, byte [eax + esi]
mov ebx, ecx
shr ebx, 0x18
xor edx, ebx
and edx, 0xff
shl ecx, 8
xor ecx, dword [edx*4 + 0x5d3b60]
add eax, 1
cmp eax, edi
jl 0x43feb0
pop ebx
movzx edx, byte [eax + esi]
movzx edi, byte [eax + esi + 1]
shl edx, 8
add edx, edi
movzx edi, byte [eax + esi + 2]
movzx eax, byte [eax + esi + 3]
shl edx, 8
add edx, edi
shl edx, 8
add edx, eax
xor eax, eax
cmp ecx, edx
sete al
pop edi
ret
Function at 0x4520a0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [0x5eef00]
xor eax, esp
mov dword [esp + 0x14], eax
mov edx, dword [ebx + 4]
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
xor eax, eax
mov edi, ecx
mov ecx, dword [ebx]
add ecx, 4
push eax
adc edx, eax
push edx
push ecx
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.00478b70
add esp, 0x10
lea esi, [esp + 0xc]
mov ecx, edi
call fcn.00451ef0
test eax, eax
je 0x45210f
mov eax, dword [esp + 0xc]
cmp eax, 0x12
push eax
jge 0x452123
push str.COMM_chunk_too_small___d_
push 0
push str.aiff_get_comm_chunk
push pe_nt_image_headers32
push 3
call fcn.0048d750
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.004b2f95
add esp, 0x18
ret
call fcn.004772c0
mov esi, eax
add esp, 4
test esi, esi
je 0x45210f
mov eax, dword [esp + 0xc]
push eax
push esi
push edi
call fcn.00478bb0
mov ecx, dword [esp + 0x18]
add esp, 0xc
cmp eax, ecx
je 0x45217f
push eax
push ecx
push str.read_error__expected__d__got__d
push 0
push str.aiff_get_comm_chunk
push pe_nt_image_headers32
push 3
call fcn.0048d750
push esi
call fcn.00477540
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.004b2f95
add esp, 0x18
ret
movzx ecx, byte [esi]
movzx edx, byte [esi + 1]
shl ecx, 8
add ecx, edx
mov dword [ebp + 0x10], ecx
movzx edi, byte [esi + 2]
movzx eax, byte [esi + 3]
movzx ecx, byte [esi + 4]
movzx edx, byte [esi + 5]
shl edi, 8
add edi, eax
movzx ax, byte [esi + 6]
shl edi, 8
add edi, ecx
movzx cx, byte [esi + 7]
shl ax, 8
shl edi, 8
add ax, cx
add edi, edx
movzx edx, ax
mov dword [esp + 0x10], edx
lea edx, [esi + 8]
call fcn.00452050
mov ecx, eax
movzx eax, word [esp + 0x10]
imul eax, ecx
imul eax, dword [ebp + 0x10]
cdq
and edx, 7
add eax, edx
sar eax, 3
test ecx, ecx
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x14], eax
jle 0x452211
mov eax, edi
mov edx, 0x3e8
mul edx
mov edi, eax
mov eax, edx
mov dword [esp + 0x10], eax
mov eax, ecx
cdq
push edx
push eax
mov eax, dword [esp + 0x18]
push eax
push edi
call fcn.004b3e60
jmp 0x452219
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push edx
push eax
call fcn.00474ef0
push esi
mov dword [ebp + 0x20], eax
call fcn.00477540
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
add eax, 8
add esp, 0xc
cdq
add dword [ebx], eax
pop edi
pop esi
adc dword [ebx + 4], edx
pop ebp
xor ecx, esp
mov eax, 1
call fcn.004b2f95
add esp, 0x18
ret