joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405460
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x49c3f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor ebx, ebx
push 0xffffffffffffffff
push ebx
lea eax, [esi + 0xff4]
mov edi, 0xf
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.00404f10
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0xfd8]
push ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0xc4], ebx
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.00404f10
push 0xffffffffffffffff
push ebx
lea edx, [esi + 0x1010]
push edx
lea ecx, [esp + 0x68]
mov byte [esp + 0xc4], 1
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
call fcn.00404f10
push 0xffffffffffffffff
push ebx
lea eax, [esi + 0x102c]
push eax
lea ecx, [esp + 0x84]
mov byte [esp + 0xc4], 2
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
call fcn.00404f10
push 0xffffffffffffffff
push ebx
lea ebp, [esi + 0x1048]
push ebp
lea ecx, [esp + 0xa0]
mov byte [esp + 0xc4], 3
mov dword [esp + 0xb8], edi
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
call fcn.00404f10
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov eax, 1
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
xor eax, eax
mov ecx, 0x2d
lea edi, [esi + 0xbf8]
rep stosd dword es:[edi], eax
mov dword [esp + 0xb8], 4
xor edi, edi
lea esp, [esp]
cmp dword [esp + edi*4 + 0x10], ebx
jne 0x4055cb
cmp edi, 4
mov ecx, esi
jne 0x4055b6
push str.while
push ebp
push edi
jmp 0x4055c6
mov edx, edi
imul edx, edx, 0x1c
push str.inma
lea eax, [esp + edx + 0x28]
push eax
push edi
call fcn.00402bf0
inc edi
cmp edi, 5
jl 0x4055a0
mov ecx, esi
call fcn.0045ba60
mov esi, dword [esi + 0xbc4]
push esi
call fcn.0045c010
mov ecx, eax
call fcn.0045f7b0
push fcn.0045e640
push 5
push 0x1c
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0xc8], 0xffffffff
call fcn.00479fa1
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0xac
ret
Function at 0x4220e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x49c956
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00407400
push fcn.00458890
push fcn.004590d0
push 5
push 0x23c
lea eax, [esi + 0x400]
xor ebx, ebx
push eax
mov dword [esp + 0x2c], ebx
mov dword [esi], 0x49f20c
mov dword [esi + 0x7c], 0x49f204
call fcn.0047a001
lea ecx, [esi + 0xf2c]
mov byte [esp + 0x18], 1
call fcn.004590d0
lea ecx, [esi + 0x1168]
mov byte [esp + 0x18], 2
call fcn.004590d0
push fcn.00458890
push fcn.004590d0
push 0xa
push 0x23c
lea ecx, [esi + 0x13a4]
push ecx
mov byte [esp + 0x2c], 3
call fcn.0047a001
lea ecx, [esi + 0x29fc]
mov byte [esp + 0x18], 4
call fcn.00463d40
lea ecx, [esi + 0x2b88]
mov byte [esp + 0x18], 5
call fcn.0045ac60
lea ecx, [esi + 0x2ba0]
mov byte [esp + 0x18], 6
call fcn.0042dfd0
lea ecx, [esi + 0x2bb4]
mov byte [esp + 0x18], 7
call fcn.00412ac0
push fcn.0043be10
push fcn.0043ca00
push 0x13
push 0x16c0
lea edx, [esi + 0x230018]
push edx
mov byte [esp + 0x2c], 8
call fcn.0047a001
push fcn.0043be10
push fcn.0043ca00
push 0x13
push 0x16c0
lea eax, [esi + 0x24b058]
push eax
mov byte [esp + 0x2c], 9
call fcn.0047a001
lea ecx, [esi + 0x266098]
mov byte [esp + 0x18], 0xa
call fcn.0042cc30
push 9
push str.CGameMain
lea ecx, [esi + 0x80]
mov byte [esp + 0x20], 0xb
call fcn.00405070
push 0x1b
push str.CGameMain::
lea ecx, [esi + 0x14]
call fcn.00405070
mov dword [esi + 0x30], 0x421b60
mov dword [esi + 0x34], 0x418e00
xor eax, eax
lea edi, [esi + 0x73f0]
mov ecx, 0x8a2c1
rep stosd dword es:[edi], eax
lea edi, [esi + 0x53ec]
mov ecx, 0x6fe
rep stosd dword es:[edi], eax
lea edi, [esi + 0x6fe4]
mov ecx, 0x103
rep stosd dword es:[edi], eax
mov dword [esi + 0x276178], ebx
mov dword [esi + 0x27617c], ebx
xor ecx, ecx
lea edx, [esi + 0x276180]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
mov dword [edx + 0x18], ecx
mov dword [edx + 0x1c], ecx
lea edi, [esi + 0x2761a0]
mov ecx, 0x10
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x2761e0], ebx
mov dword [esi + 0x2761e8], ebx
mov dword [esi + 0x2761ec], ebx
pop edi
mov dword [esi + 0x2761e4], 0xffffffff
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x424dc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1c
push esi
mov esi, ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], esi
call fcn.0044a200
test eax, eax
jne 0x424dde
pop esi
add esp, 0x1c
ret 0x24
mov eax, dword [0x4b824c]
push ebx
push edi
mov edi, dword [eax + 0xafc]
mov eax, dword [esi]
push eax
mov ecx, edi
call fcn.00430a00
add esi, 0x28
push esi
mov ecx, edi
call fcn.00430a20
mov eax, dword [esp + 0x2c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424e07
xor ebx, ebx
sub eax, edx
cmp eax, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], ebx
jle 0x424f8a
push ebp
mov ebp, dword [esp + 0x44]
jmp 0x424e30
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
movsx eax, byte [ecx + edx]
lea esi, [ecx + edx]
push eax
mov dword [esp + 0x18], 2
call fcn.0047b292
add esp, 4
test eax, eax
jne 0x424e81
push 1
push 0x49e358
push esi
call fcn.0047bb00
add esp, 0xc
test eax, eax
jne 0x424e72
mov dword [esp + 0x10], 2
jmp 0x424e89
mov eax, 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
jmp 0x424e89
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x14]
push edx
xor ecx, ecx
lea eax, [esp + 0x48]
mov word [esp + 0x48], cx
push esi
push eax
mov byte [esp + 0x52], cl
call fcn.0047a710
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp eax, 2
je 0x424f45
movzx ecx, byte [esp + 0x50]
movzx edx, byte [esp + 0x4c]
movzx eax, byte [esp + 0x48]
push ecx
push edx
push eax
mov ecx, edi
call fcn.00430620
push ebp
push ebp
mov ecx, edi
call fcn.00430690
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x12c], 1
je 0x424f03
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
add eax, edx
lea edx, [ebx + ecx]
push eax
push edx
mov ecx, edi
call fcn.004306c0
mov esi, dword [esp + 0x38]
jmp 0x424f38
mov esi, dword [esp + 0x38]
mov eax, dword [esi + 0x228]
test eax, eax
jne 0x424f16
mov eax, dword [esi + 0x78]
jmp 0x424f1c
mov eax, dword [esi + 0x1c0]
mov ecx, dword [esp + 0x3c]
lea edx, [ebx + ecx]
mov ecx, dword [esp + 0x40]
push edx
sub eax, dword [esp + 0x2c]
sub eax, ecx
sub eax, ebp
push eax
mov ecx, edi
call fcn.004306c0
lea eax, [esp + 0x44]
push eax
push esi
mov ecx, edi
call fcn.00438b60
mov eax, dword [esp + 0x10]
sub eax, 0
je 0x424f6d
dec eax
je 0x424f62
dec eax
jne 0x424f6f
mov eax, dword [esp + 0x28]
xor ebx, ebx
add eax, ebp
mov dword [esp + 0x28], eax
jmp 0x424f6f
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
add ebx, eax
jmp 0x424f6f
add ebx, ebp
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
add eax, edx
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x424e30
pop ebp
pop edi
pop ebx
mov eax, 1
pop esi
add esp, 0x1c
ret 0x24
Function at 0x42de30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x49cc4d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00464480
lea edi, [esi + 0x7c]
xor ebp, ebp
mov ecx, edi
mov dword [esp + 0x18], ebp
call fcn.00464370
lea ecx, [esi + 0xac]
mov byte [esp + 0x18], 1
call fcn.004301f0
lea ecx, [esi + 0xc0]
mov byte [esp + 0x18], 2
mov dword [esi], 0x4a033c
mov dword [edi], 0x4a0334
call fcn.00409890
lea ecx, [esi + 0x440]
mov byte [esp + 0x18], 3
call fcn.004590d0
push 0xc
push str.CMovieDxShow
lea ecx, [esi + 0x80]
mov byte [esp + 0x20], 4
mov dword [esi + 0xbc], 1
call fcn.00405070
push 0x1a
push str.CMovieDxShow::
lea ecx, [esi + 0x14]
call fcn.00405070
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xb8], ebp
mov dword [esi + 0x67c], ebp
mov dword [esi + 0x684], ebp
mov dword [esi + 0x688], ebp
pop edi
mov dword [esi + 0x30], 0x42ce60
mov dword [esi + 0x34], fcn.0042d770
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x49ccd2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x4a0408
mov dword [esi + 0x7c], 0x4a0400
lea edi, [esi + 0x9b4]
mov ecx, edi
mov dword [esp + 0x18], 3
call fcn.00458ff0
mov ecx, esi
call fcn.0042e9e0
mov ecx, esi
call fcn.0042ea80
xor ebx, ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov eax, dword [esi + 0x2e8]
cmp eax, ebx
je 0x42ef50
push eax
call fcn.0047b1ee
add esp, 4
mov dword [esi + 0x2e8], ebx
lea ecx, [esi + 0xbf8]
mov byte [esp + 0x18], 2
call fcn.00458890
mov ecx, edi
mov byte [esp + 0x18], 1
call fcn.00458890
lea ecx, [esi + 0x9b0]
mov byte [esp + 0x18], bl
call fcn.004498c0
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00407490
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x42ffb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x49ccd2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00407400
xor ebp, ebp
lea ecx, [esi + 0x9b0]
mov dword [esp + 0x18], ebp
mov dword [esi], 0x4a0408
mov dword [esi + 0x7c], 0x4a0400
call fcn.0042dfd0
lea ecx, [esi + 0x9b4]
mov byte [esp + 0x18], 1
call fcn.004590d0
lea ecx, [esi + 0xbf8]
mov byte [esp + 0x18], 2
call fcn.004590d0
push 0xe
push str.CObjectSurface
lea ecx, [esi + 0x80]
mov byte [esp + 0x20], 3
call fcn.00405070
push 0x32
push str.CObjectSurface::
lea ecx, [esi + 0x14]
call fcn.00405070
mov dword [esi + 0x30], fcn.004498c0
mov dword [esi + 0x34], fcn.004498c0
xor eax, eax
lea edi, [esi + 0xc8]
mov ecx, 0x23a
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xe34], ebp
mov dword [esi + 0xe38], ebp
mov dword [esi + 0xbf0], ebp
mov dword [esi + 0xbf4], ebp
pop edi
mov dword [esi + 0xc0], 1
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x43bb40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49ce4c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x4a0580
lea edi, [esi + 0x90]
mov ecx, edi
mov dword [esp + 0x14], 6
mov dword [esi + 0x30], 0
call fcn.0045f5c0
lea ecx, [esi + 0x218]
mov byte [esp + 0x14], 5
call fcn.00458890
lea ecx, [esi + 0x1d4]
mov byte [esp + 0x14], 4
call fcn.00466a60
lea ecx, [esi + 0x1c4]
mov byte [esp + 0x14], 3
call fcn.00466960
lea ecx, [esi + 0x1b4]
mov byte [esp + 0x14], 2
call fcn.00466960
lea ecx, [esi + 0x1a4]
mov byte [esp + 0x14], 1
call fcn.00466960
mov ecx, edi
mov byte [esp + 0x14], 0
call fcn.0045ef40
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00464430
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x43bb56
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49ce4c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x4a0580
lea edi, [esi + 0x90]
mov ecx, edi
mov dword [esp + 0x14], 6
mov dword [esi + 0x30], 0
call fcn.0045f5c0
lea ecx, [esi + 0x218]
mov byte [esp + 0x14], 5
call fcn.00458890
lea ecx, [esi + 0x1d4]
mov byte [esp + 0x14], 4
call fcn.00466a60
lea ecx, [esi + 0x1c4]
mov byte [esp + 0x14], 3
call fcn.00466960
lea ecx, [esi + 0x1b4]
mov byte [esp + 0x14], 2
call fcn.00466960
lea ecx, [esi + 0x1a4]
mov byte [esp + 0x14], 1
call fcn.00466960
mov ecx, edi
mov byte [esp + 0x14], 0
call fcn.0045ef40
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00464430
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x43bd00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49ce4c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00464480
xor edi, edi
lea ecx, [esi + 0x90]
mov dword [esp + 0x14], edi
mov dword [esi], 0x4a0580
call fcn.0045f3a0
lea ecx, [esi + 0x1a4]
mov byte [esp + 0x14], 1
call fcn.004669a0
lea ecx, [esi + 0x1b4]
mov byte [esp + 0x14], 2
call fcn.004669a0
lea ecx, [esi + 0x1c4]
mov byte [esp + 0x14], 3
call fcn.004669a0
lea ecx, [esi + 0x1d4]
mov byte [esp + 0x14], 4
call fcn.00466df0
lea ecx, [esi + 0x218]
mov byte [esp + 0x14], 5
call fcn.004590d0
push 0xb
push str.CSnowEffect
lea ecx, [esi + 0x14]
mov byte [esp + 0x1c], 6
mov dword [esi + 0x7c], 1
call fcn.00405070
mov ecx, dword [esp + 0xc]
mov eax, 0x41200000
mov dword [esi + 0x1b8], edi
mov dword [esi + 0x1bc], edi
mov dword [esi + 0x464], edi
mov dword [esi + 0x46c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], eax
mov dword [esi + 0x30], 0x43bc00
mov dword [esi + 0x1c0], 0xc0000000
mov dword [esi + 0x468], 0x20
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x43ca00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49ce96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00407400
lea ecx, [esi + 0xc0]
mov dword [esp + 0x14], 0
mov dword [esi], 0x4a059c
mov dword [esi + 0x7c], 0x4a0594
call fcn.004664a0
push 0xd
push str.CSoundProcess
lea ecx, [esi + 0x80]
mov byte [esp + 0x1c], 1
call fcn.00405070
push 0xd
push str.CSoundProcess
lea ecx, [esi + 0x14]
call fcn.00405070
xor eax, eax
mov dword [esi + 0x30], 0x43c9d0
mov dword [esi + 0x34], fcn.004498c0
mov ecx, 0x58
lea edi, [esi + 0x1560]
rep stosd dword es:[edi], eax
mov ecx, esi
call fcn.0043c860
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x43e4e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49cec4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00407400
xor edi, edi
lea ecx, [esi + 0xc0]
mov dword [esp + 0x14], edi
mov dword [esi], 0x4a05d4
mov dword [esi + 0x7c], 0x4a05cc
call fcn.004590d0
lea ecx, [esi + 0x650]
mov byte [esp + 0x14], 1
call fcn.0042dfd0
push 0x14
push str.CSystemButtonManager
lea ecx, [esi + 0x80]
mov byte [esp + 0x1c], 2
call fcn.00405070
push 0x2e
push str.CSystemButtonManager::
lea ecx, [esi + 0x14]
call fcn.00405070
mov dword [esi + 0x654], edi
mov dword [esi + 0x2fc], edi
mov dword [esi + 0x300], edi
mov dword [esi + 0x660], edi
mov dword [esi + 0x664], edi
mov dword [esi + 0x30], 0x43dd20
mov dword [esi + 0x34], 0x43e380
mov dword [esi + 0x644], 0xffffffff
xor eax, eax
lea edi, [esi + 0x43c]
mov ecx, 0x41
rep stosd dword es:[edi], eax
lea edi, [esi + 0x540]
mov ecx, 0x41
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x43ebb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x130
push ebp
push esi
mov esi, dword [0x4b824c]
push edi
mov ebp, ecx
push str.sys_
mov ecx, esi
call fcn.004039b0
push 0x104
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.00402f50
lea edi, [esp + 0x38]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x43ebe3
mov ecx, dword [str.sys_]
mov dl, byte [0x49f1a8]
mov eax, dword [esp + 0x140]
mov dword [edi], ecx
mov byte [edi + 4], dl
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43ec05
lea edi, [esp + 0x38]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x43ec13
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x38]
and ecx, 3
push 0x49e398
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0047a6fa
mov edi, eax
xor esi, esi
add esp, 8
cmp edi, esi
je 0x43ed5b
push edi
push 4
lea ecx, [esp + 0x1c]
push 1
push ecx
mov dword [esp + 0x24], esi
call fcn.0047abbc
push edi
push 4
push 1
push ebp
call fcn.0047abbc
mov eax, dword [ebp]
add esp, 0x20
cmp eax, esi
mov dword [esp + 0x10], esi
jle 0x43ed52
mov dword [esp + 0xc], esi
push ebx
mov edi, edi
mov esi, dword [ebp + 4]
add esi, dword [esp + 0x10]
je 0x43ed32
push edi
push 4
lea ebx, [esi + 4]
push 1
push ebx
call fcn.0047abbc
mov edx, dword [ebx]
mov eax, dword [esi + 0xc]
push edi
push edx
push 1
push eax
call fcn.0047abbc
push edi
push 4
lea ebx, [esi + 8]
push 1
push ebx
call fcn.0047abbc
mov ecx, dword [ebx]
mov edx, dword [esi + 0x10]
push edi
push ecx
push 1
push edx
call fcn.0047abbc
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
lea eax, [esi + 0x14]
lea edx, [esp + 0x5c]
add esp, 0x40
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x43ecf5
push edi
push 4
push 1
push esi
call fcn.0047abbc
add esp, 0x10
push 1
push str.test
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebp
call fcn.0043e710
push edi
push 0x20
lea edx, [esp + 0x24]
push 1
push edx
call fcn.0047abbc
add esp, 0x10
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp]
inc eax
add edx, 0x34
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jl 0x43ec80
pop ebx
push edi
call fcn.0047a57a
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x130
ret 4
Function at 0x4439b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49d094
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x4a0a90
mov dword [esi + 0x7c], 0x4a0a88
lea edi, [esi + 0xdc]
mov ecx, edi
mov dword [esp + 0x14], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
call fcn.0045ac80
lea ecx, [esi + 0xf4]
mov byte [esp + 0x14], 1
call fcn.0045b470
mov ecx, edi
mov byte [esp + 0x14], 0
call fcn.0045b470
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00407490
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4439c6
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49d094
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x4a0a90
mov dword [esi + 0x7c], 0x4a0a88
lea edi, [esi + 0xdc]
mov ecx, edi
mov dword [esp + 0x14], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
call fcn.0045ac80
lea ecx, [esi + 0xf4]
mov byte [esp + 0x14], 1
call fcn.0045b470
mov ecx, edi
mov byte [esp + 0x14], 0
call fcn.0045b470
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00407490
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4467b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49d158
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00407400
push 0xc
xor edi, edi
push 0x4a0b48
lea ecx, [esi + 0x80]
mov dword [esp + 0x1c], edi
mov dword [esi], 0x4a0b20
mov dword [esi + 0x7c], 0x4a0b18
call fcn.00405070
push 0xc
push 0x4a0b48
lea ecx, [esi + 0x14]
call fcn.00405070
mov ecx, dword [esp + 0xc]
mov dword [esi + 0xb0], edi
mov dword [esi + 0x410e4], edi
mov dword [esi + 0x10e0], edi
mov dword [esi + 0x30], fcn.004498c0
mov dword [esi + 0x34], 0x446620
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x447100
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x49d1a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xc0]
mov dword [esp + 0xc], esi
mov dword [esi], 0x4a0b70
mov dword [esi + 0x7c], 0x4a0b68
mov dword [edi], 0x4a0b60
lea ecx, [esi + 0x16c]
mov dword [esp + 0x18], 1
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
call fcn.004498c0
mov ecx, edi
mov byte [esp + 0x18], 0
call fcn.0045e140
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00407490
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x447118
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x49d1a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xc0]
mov dword [esp + 0xc], esi
mov dword [esi], 0x4a0b70
mov dword [esi + 0x7c], 0x4a0b68
mov dword [edi], 0x4a0b60
lea ecx, [esi + 0x16c]
mov dword [esp + 0x18], 1
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
call fcn.004498c0
mov ecx, edi
mov byte [esp + 0x18], 0
call fcn.0045e140
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00407490
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x447290
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49d1d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00407400
lea edi, [esi + 0xc0]
mov ecx, edi
mov dword [esp + 0x14], 0
call fcn.0045e4f0
lea ecx, [esi + 0x16c]
mov byte [esp + 0x14], 1
mov dword [esi], 0x4a0b70
mov dword [esi + 0x7c], 0x4a0b68
mov dword [edi], 0x4a0b60
call fcn.0042dfd0
push 0xe
push str.CViewerNumList
lea ecx, [esi + 0x80]
mov byte [esp + 0x1c], 2
call fcn.00405070
push 0x1e
push str.CViewerNumList::
lea ecx, [esi + 0x14]
call fcn.00405070
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x30], fcn.004498c0
mov dword [esi + 0x34], fcn.004498c0
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x447e50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49d244
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00407400
lea edi, [esi + 0xc0]
mov ecx, edi
mov dword [esp + 0x18], 0
call fcn.0045e4f0
lea ecx, [esi + 0x16c]
mov byte [esp + 0x18], 1
mov dword [esi], 0x4a0bb8
mov dword [esi + 0x7c], 0x4a0bb0
mov dword [edi], 0x4a0ba8
call fcn.0042dfd0
push 0xd
push str.CViewerScript
lea ecx, [esi + 0x80]
mov byte [esp + 0x20], 2
call fcn.00405070
push 0x23
push str.CViewerScript::
lea ecx, [esi + 0x14]
call fcn.00405070
lea ebx, [esi + 0x170]
xor eax, eax
mov dword [esi + 0x30], fcn.004498c0
mov dword [esi + 0x34], fcn.004498c0
mov ecx, 0x89
mov edi, ebx
push 0x61a80
rep stosd dword es:[edi], eax
call fcn.0047b461
add esp, 4
mov edi, eax
mov dword [ebx], edi
xor eax, eax
mov ecx, 0x186a0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret