joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403e20
Capabilities:
Query environment variable

Disassembly:
sub esp, 4
push ebx
push esi
push edi
xor ebx, ebx
push ebp
xor edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
cmp dword [0x406540], ebx
jne 0x403e6f
call esi
cmp eax, ebx
mov edi, eax
je 0x403e4d
mov dword [0x406540], 1
jmp 0x403e6f
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test ebx, ebx
je 0x403e65
mov dword [0x406540], 2
jmp 0x403e6f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp dword [0x406540], 1
jne 0x403f1e
test edi, edi
jne 0x403e92
call esi
mov edi, eax
test edi, edi
jne 0x403e92
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp word [edi], 0
mov esi, edi
je 0x403eac
add esi, 2
cmp word [esi], 0
jne 0x403e9a
add esi, 2
cmp word [esi], 0
jne 0x403e9a
sub esi, edi
push 0
sar esi, 1
push 0
inc esi
push 0
push 0
push esi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebp, eax
test ebp, ebp
je 0x403f0d
push ebp
call fcn.00404640
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x403f0d
push 0
push 0
push ebp
push ebx
push esi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x403efc
push ebx
call fcn.004045f0
add esp, 4
xor ebx, ebx
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp dword [0x406540], 2
jne 0x403fa2
test ebx, ebx
jne 0x403f41
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test ebx, ebx
jne 0x403f41
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov ebp, ebx
cmp byte [ebx], 0
je 0x403f56
inc ebp
cmp byte [ebp], 0
jne 0x403f48
inc ebp
cmp byte [ebp], 0
jne 0x403f48
sub ebp, ebx
inc ebp
push ebp
call fcn.00404640
mov dword [esp + 0x14], eax
add esp, 4
test eax, eax
jne 0x403f7b
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov edi, dword [esp + 0x10]
mov esi, ebx
mov ecx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
Function at 0x4042f0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1a8
xor ecx, ecx
mov eax, 0x406558
push ebx
mov edx, dword [esp + 0x1b0]
push esi
push edi
push ebp
cmp dword [eax], edx
je 0x404317
add eax, 8
inc ecx
cmp eax, 0x4065e8
jb 0x404308
cmp dword [ecx*8 + 0x406558], edx
lea ebx, [ecx*8]
jne 0x4044db
cmp dword [0x406280], 1
je 0x404497
cmp dword [0x406280], 0
jne 0x40434e
cmp dword [0x406284], 1
je 0x404497
cmp edx, 0xfc
je 0x4044db
lea eax, [esp + 0xb4]
push 0x104
push eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
call ebp
test eax, eax
jne 0x40438b
mov esi, str._program_name_unknown_
lea edi, [esp + 0xb4]
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea ebp, [esp + 0xb4]
lea edi, [esp + 0xb4]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
cmp ecx, 0x3c
jbe 0x4043cf
lea edi, [esp + 0xb4]
mov ecx, 0xffffffff
sub eax, eax
push 3
repne scasb al, byte es:[edi]
not ecx
lea ebp, [esp + ecx + 0x7c]
push 0x405380
push ebp
call fcn.004044f0
add esp, 0xc
mov esi, str.Runtime_Error__n_nProgram:
lea edi, [esp + 0x14]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, ebp
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x14]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x405360
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x14]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx + 0x40655c]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
lea edi, [esp + 0x14]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x12010
and ecx, 3
push str.Microsoft_Visual_C_Runtime_Library
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x1c]
push eax
call fcn.00404e50
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1a8
ret
cmp dword [0x407a20], 0
je 0x4044ad
mov eax, dword [0x407a20]
mov esi, dword [eax + 0x10]
cmp esi, 0xffffffff
jne 0x4044b7
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov edx, dword [ebx + 0x40655c]
push 0
lea eax, [esp + 0x14]
mov edi, edx
push eax
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1a8
ret
Function at 0x4079b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a42b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.005967ee
mov ebp, dword [esp + 0x30]
mov dword [esi], vtable.CDIBSMemDC.0
mov dword [esi + 0x48], ebp
mov ecx, dword [esp + 0x34]
mov edx, dword [ebp + 0xc]
xor eax, eax
test edx, edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x28], 0
sete al
mov dword [esi + 0x5c], eax
mov eax, dword [esp + 0x38]
test eax, eax
mov dword [esi + 0x60], ecx
mov dword [esi + 0x1c], edx
lea ebx, [esi + 0x4c]
jne 0x407a1c
mov eax, dword [ebp]
push ebx
mov ecx, ebp
call dword [eax + 0x50]
jmp 0x407a34
mov edx, dword [eax]
mov ecx, ebx
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x407b40
mov eax, dword [ebp + 4]
push edi
push eax
call dword [0x5b71b0]
push eax
mov ecx, esi
call fcn.005968a5
mov ecx, dword [ebp + 8]
push 2
push ebx
push ecx
call dword [0x5b71b4]
lea edx, [esi + 0x20]
mov ecx, 0xa
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [edx], 0x28
mov eax, dword [ebx + 8]
mov ecx, dword [ebx]
push 0
sub eax, ecx
push 0
mov dword [esi + 0x24], eax
mov ecx, dword [ebx + 0xc]
mov edi, dword [ebx + 4]
lea eax, [esi + 0x10]
sub ecx, edi
push eax
mov dword [esi + 0x28], ecx
mov ecx, dword [esi + 4]
push 0
push edx
push ecx
mov word [esi + 0x2c], 1
mov word [esi + 0x2e], 0x18
mov dword [esi + 0x30], 0
call dword [0x5b71b8]
mov edx, dword [esi + 4]
push eax
push edx
mov dword [esi + 0x14], eax
call dword [fcn.005b71bc]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 8]
push eax
call dword [0x5b71c0]
push eax
mov ecx, esi
call fcn.00596b0b
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [fcn.005b71c4]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esi]
push ecx
lea ecx, [esp + 0x20]
push edx
push ecx
mov ecx, esi
call dword [eax + 0x48]
mov eax, dword [ebp + 8]
lea edx, [esp + 0x14]
push edx
push eax
call dword [fcn.005b71c8]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
push eax
lea eax, [esp + 0x20]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x40]
mov ecx, dword [ebp + 8]
push 2
push ebx
push ecx
call dword [0x5b71cc]
mov edx, dword [esi + 0x50]
mov eax, dword [ebx]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, esi
call fcn.00596c75
pop edi
jmp 0x407b52
mov edx, dword [ebp + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [ebp + 4]
mov dword [esi + 4], eax
mov ecx, dword [ebp + 8]
mov dword [esi + 8], ecx
mov edx, dword [ebp + 8]
push edx
call dword [fcn.005b71d0]
push eax
push ebx
mov ecx, esi
call fcn.0059bbba
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x408590
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a43ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x628100]
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 4]
mov dword [ecx], eax
xor edi, edi
push 0x62cce0
mov dword [esp + 0x1c], edi
call fcn.0058f868
lea ecx, [esp + 0xc]
or eax, 0xffffffff
push ecx
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], eax
mov dword [esi + 8], eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi], edi
call fcn.0058ca0f
lea edx, [esp + 0xc]
push edx
call fcn.0058ca0f
lea eax, [esp + 0xc]
push eax
call fcn.0058ca0f
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x40ebe0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5a4eef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov dword [esp + 0x10], 0
mov eax, dword [0x628100]
push esi
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], 1
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov eax, esi
mov edi, dword [fcn.005b76fc]
shrd eax, ecx, 0x14
push eax
lea edx, [esp + 0x20]
push 0x602c04
push edx
shr ecx, 0x14
mov byte [esp + 0x44], 3
call edi
add esp, 0xc
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
call fcn.0058f868
and esi, 0xfffff
lea ecx, [esp + 0x1c]
lea eax, [esi + esi*4]
add eax, eax
shr eax, 0x14
push eax
push 0x602c04
push ecx
call edi
add esp, 0xc
lea edx, [esp + 0x1c]
lea ecx, [esp + 0xc]
push edx
call fcn.0058f868
lea eax, [esp + 0x10]
push 0x601e2c
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.0058f974
lea edx, [esp + 0xc]
mov byte [esp + 0x38], 4
push edx
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.0058f90e
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 5
call fcn.0058f818
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 4
call fcn.0058f6df
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 3
call fcn.0058f6df
mov esi, dword [esp + 0x40]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0058f454
mov dword [esp + 0x18], 1
lea ecx, [esp + 8]
mov byte [esp + 0x38], 2
call fcn.0058f6df
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 1
call fcn.0058f6df
mov byte [esp + 0x38], 0
lea ecx, [esp + 0x10]
call fcn.0058f6df
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret

Function at 0x413900
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5a5a38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x50]
push eax
mov eax, dword [esi + 0x54]
push ecx
push edx
push eax
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov dword [esp + 0x2c], 1
call fcn.0058f454
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x30], 2
call fcn.0058f454
mov edx, dword [esi]
mov ecx, esi
mov byte [esp + 0x2c], 1
call dword [edx + 8]
lea ecx, [esp + 0x1c]
mov esi, eax
mov byte [esp + 0x14], 0
call fcn.0058f6df
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], 0xffffffff
call fcn.0058f6df
mov ecx, dword [esp + 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret 8
Function at 0x417c50
Capabilities:
Access peb ldr_data
Check os version
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5a646e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x628100]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 0x30]
mov dword [edi], eax
xor ebx, ebx
mov ebp, 1
push 0x6030b4
mov ecx, edi
mov dword [esp + 0xb4], ebx
mov dword [esi], vtable.CIROSVersionInfo.0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebp
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.0058f868
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0x94
push ecx
call dword [fcn.005b7444]
test eax, eax
je 0x417db1
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x20], eax
dec eax
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
je 0x417d64
dec eax
jne 0x417db4
mov edx, dword [esp + 0x20]
cmp ecx, 3
mov dword [esi + 0x2c], edx
jne 0x417d15
push 0x6030a4
mov ecx, edi
call fcn.0058f868
mov dword [esi + 0x10], ebp
cmp dword [esi + 0x24], 4
jne 0x417d2a
push 0x603094
mov ecx, edi
call fcn.0058f868
mov dword [esi + 0x14], ebp
cmp dword [esi + 0x24], 5
jne 0x417db4
cmp dword [esi + 0x28], ebx
jne 0x417d48
push 0x603084
mov ecx, edi
call fcn.0058f868
mov dword [esi + 0x18], ebp
cmp dword [esi + 0x24], 5
jne 0x417db4
cmp dword [esi + 0x28], ebx
jbe 0x417db4
push 0x603078
mov ecx, edi
call fcn.0058f868
mov dword [esi + 0x1c], ebp
jmp 0x417db4
mov eax, dword [esp + 0x20]
and eax, 0xffff
cmp ecx, 4
mov dword [esi + 0x2c], eax
ja 0x417d8c
jne 0x417d7b
cmp edx, ebx
ja 0x417d8c
push 0x60306c
mov ecx, edi
mov dword [esi + 4], ebp
call fcn.0058f868
jmp 0x417db4
cmp edx, 0xa
mov ecx, edi
ja 0x417da2
push 0x603060
mov dword [esi + 8], ebp
call fcn.0058f868
jmp 0x417db4
push 0x603054
mov dword [esi + 0xc], ebp
call fcn.0058f868
jmp 0x417db4
mov dword [esi + 4], ebp
mov ecx, dword [esp + 0xa8]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x41ae20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a6c19
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x628100]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 4]
mov dword [edi], eax
mov ecx, dword [0x628100]
lea ebp, [esi + 8]
mov dword [esp + 0x24], 0
mov dword [ebp], ecx
lea ebx, [esi + 0xc]
mov byte [esp + 0x24], 1
mov ecx, ebx
call fcn.0040e280
mov ecx, edi
mov byte [esp + 0x24], 2
mov dword [esi], vtable.CIRTextFile.0
call fcn.0058f66a
mov ecx, ebp
call fcn.0058f66a
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x601dd4
call fcn.0058f74d
push ecx
mov byte [esp + 0x30], 3
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x62cce0
call fcn.0058f74d
mov ecx, ebx
mov byte [esp + 0x30], 2
call fcn.0040e370
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret

Function at 0x41ae3f
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a6c19
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x628100]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 4]
mov dword [edi], eax
mov ecx, dword [0x628100]
lea ebp, [esi + 8]
mov dword [esp + 0x24], 0
mov dword [ebp], ecx
lea ebx, [esi + 0xc]
mov byte [esp + 0x24], 1
mov ecx, ebx
call fcn.0040e280
mov ecx, edi
mov byte [esp + 0x24], 2
mov dword [esi], vtable.CIRTextFile.0
call fcn.0058f66a
mov ecx, ebp
call fcn.0058f66a
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x601dd4
call fcn.0058f74d
push ecx
mov byte [esp + 0x30], 3
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x62cce0
call fcn.0058f74d
mov ecx, ebx
mov byte [esp + 0x30], 2
call fcn.0040e370
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret
Function at 0x420c00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a785f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov dword [esp + 0x24], 0
push 0x62cce0
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 1
call fcn.0058f74d
mov eax, dword [esp + 0x40]
mov bl, 2
sub eax, 0
mov byte [esp + 0x30], bl
je 0x420d80
dec eax
je 0x420d11
dec eax
jne 0x420df2
lea eax, [esp + 0x40]
push 7
push eax
lea ecx, [esp + 0x44]
call fcn.0058c2ae
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 7
call fcn.0058f818
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], bl
call fcn.0058f6df
mov ecx, dword [esp + 8]
push 0x602f2c
push ecx
call fcn.00573e3e
add esp, 8
test eax, eax
je 0x420df2
lea edx, [esp + 0xc]
push 8
push edx
lea ecx, [esp + 0x44]
call fcn.0058c2ae
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 8
call fcn.0058f818
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], bl
call fcn.0058f6df
mov eax, dword [esp + 8]
push 0x603838
push eax
call fcn.00573e3e
add esp, 8
test eax, eax
je 0x420df2
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x10]
push ecx
push 0x603838
push edx
call fcn.0058f9e8
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 9
call fcn.0058f818
lea ecx, [esp + 0x10]
jmp 0x420de9
lea eax, [esp + 0x14]
push 7
push eax
lea ecx, [esp + 0x44]
call fcn.0058c2ae
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 5
call fcn.0058f818
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], bl
call fcn.0058f6df
mov ecx, dword [esp + 8]
push 0x602f2c
push ecx
call fcn.00573e3e
add esp, 8
test eax, eax
je 0x420df2
lea edx, [esp + 0x3c]
lea eax, [esp + 0x18]
push edx
push 0x602f2c
push eax
call fcn.0058f9e8
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 6
call fcn.0058f818
lea ecx, [esp + 0x18]
jmp 0x420de9
lea ecx, [esp + 0x1c]
push 6
push ecx
lea ecx, [esp + 0x44]
call fcn.0058c2ae
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 3
call fcn.0058f818
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call fcn.0058f6df
mov edx, dword [esp + 8]
push 0x603830
push edx
call fcn.00573e3e
add esp, 8
test eax, eax
je 0x420df2
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x20]
push eax
push 0x603830
push ecx
call fcn.0058f9e8
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 4
call fcn.0058f818
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], bl
call fcn.0058f6df
mov esi, dword [esp + 0x38]
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.0058f454
mov dword [esp + 0x24], 1
lea ecx, [esp + 8]
mov byte [esp + 0x30], 1
call fcn.0058f6df
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 0
call fcn.0058f6df
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
Function at 0x42cf60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a8699
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov eax, dword [0x628100]
lea ebx, [esi + 8]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [ebx], eax
mov ecx, dword [0x628100]
lea ebp, [esi + 0x1c]
mov dword [ebp], ecx
push 0xa
lea ecx, [esi + 0x30]
mov byte [esp + 0x20], 2
call fcn.0058e570
push 0x6040bc
mov ecx, ebx
mov byte [esp + 0x20], 3
mov dword [esi], vtable.CAutoPlayBaseObject.0
mov dword [esi + 4], edi
call fcn.0058f868
lea ebx, [esi + 0xc]
xor eax, eax
xor ecx, ecx
mov edx, 0xc8
mov dword [ebx], eax
mov eax, 0x96
push 0x62cce0
mov dword [ebx + 4], ecx
mov ecx, ebp
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], eax
call fcn.0058f868
mov eax, 1
or ecx, 0xffffffff
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x50], eax
mov eax, 0xbf800000
mov dword [esi + 0x20], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], ecx
mov dword [esi + 0x5c], ecx
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x42cf78
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a8699
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov eax, dword [0x628100]
lea ebx, [esi + 8]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [ebx], eax
mov ecx, dword [0x628100]
lea ebp, [esi + 0x1c]
mov dword [ebp], ecx
push 0xa
lea ecx, [esi + 0x30]
mov byte [esp + 0x20], 2
call fcn.0058e570
push 0x6040bc
mov ecx, ebx
mov byte [esp + 0x20], 3
mov dword [esi], vtable.CAutoPlayBaseObject.0
mov dword [esi + 4], edi
call fcn.0058f868
lea ebx, [esi + 0xc]
xor eax, eax
xor ecx, ecx
mov edx, 0xc8
mov dword [ebx], eax
mov eax, 0x96
push 0x62cce0
mov dword [ebx + 4], ecx
mov ecx, ebp
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], eax
call fcn.0058f868
mov eax, 1
or ecx, 0xffffffff
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x50], eax
mov eax, 0xbf800000
mov dword [esi + 0x20], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], ecx
mov dword [esi + 0x5c], ecx
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret