joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4083d0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x45ce28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [0x46c35c]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x4745bc
lea ebx, [esi + 0x48]
push str._sSAVE
push ebx
mov dword [esp + 0x40], eax
mov dword [esi + 0x44], 1
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor ebp, ebp
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp dword [esi + 0x2dc], ebp
jne 0x408445
push 0x4000
call fcn.0043b7c1
mov edi, eax
add esp, 4
mov ecx, 0x1000
xor eax, eax
mov dword [esi + 0x2dc], edi
rep stosd dword es:[edi], eax
mov ecx, esi
call fcn.00408220
push ebx
lea edi, [esi + 0x14c]
push str._sSystem.sav
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.0041dfc0
push 0x21
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], ebp
call fcn.0041e310
test eax, eax
lea ecx, [esp + 0x10]
jne 0x408497
mov dword [esp + 0x40], 0xffffffff
call fcn.0041e160
xor eax, eax
jmp 0x40851f
push ebp
push 0x40
lea edi, [esi + 4]
push edi
call fcn.0041dd50
mov eax, dword [esi + 0x24]
mov ebx, 0x22
cmp eax, ebx
je 0x4084d4
push 0x20
push str.SystemSave
push edi
call fcn.0043bf40
add esp, 0xc
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], 0x4000
mov dword [esi + 0x2c], ebp
mov dword [esi + 0x30], ebp
mov dword [esi + 0x38], ebp
jmp 0x408509
push ebp
push 0x88
lea eax, [esi + 0x250]
push eax
lea ecx, [esp + 0x1c]
call fcn.0041dd50
mov ecx, dword [esi + 0x2dc]
push ebp
push 0x4000
push ecx
lea ecx, [esp + 0x1c]
call fcn.0041dd50
lea ecx, [esp + 0x10]
call fcn.0041e040
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], 0xffffffff
call fcn.0041e160
mov eax, 1
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x28]
pop ebx
call fcn.0043b8ee
add esp, 0x34
ret

Function at 0x409670
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
push 0
push ebx
call edi
mov esi, dword [esp + 0x1c]
push 0
push esi
mov byte [esp + 0x20], al
call edi
push 0
push esi
mov byte [esp + 0x24], al
call edi
mov edi, dword [sym.imp.USER32.dll_keybd_event]
push 0
mov byte [esp + 0x14], al
mov eax, dword [esp + 0x1c]
push 1
push eax
push ebx
call edi
test esi, esi
je 0x4096c0
mov ecx, dword [esp + 0x1c]
push 0
push 1
push ecx
push esi
call edi
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x4096d4
mov edx, dword [esp + 0x10]
push 0
push 1
push edx
push ebp
call edi
mov eax, dword [esp + 0x18]
push 0
push 3
push eax
push ebx
call edi
test esi, esi
je 0x4096f0
mov ecx, dword [esp + 0x1c]
push 0
push 3
push ecx
push esi
call edi
test ebp, ebp
je 0x409700
mov edx, dword [esp + 0x10]
push 0
push 3
push edx
push ebp
call edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x40aa40
Capabilities:
Inspect section memory permissions

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push esi
push eax
mov esi, ecx
call fcn.00409a10
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x10], eax
jne 0x40aa63
xor eax, eax
pop esi
add esp, 8
ret 8
mov eax, dword [eax + 0x5a4]
cmp eax, ecx
push edi
jl 0x40aa7e
cmp eax, 0x2f
jg 0x40aa7e
lea edx, [eax + eax*4]
mov edi, dword [esi + edx*8 + 0x18]
cmp edi, ecx
jne 0x40aa88
pop edi
xor eax, eax
pop esi
add esp, 8
ret 8
push ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov eax, dword [edi]
push ebp
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call dword [eax + 0x84]
mov ebx, dword [esp + 0x20]
test bl, 1
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
je 0x40aaba
add esi, 0xffffff38
jmp 0x40aaf9
test bl, 4
je 0x40aac7
add esi, 0xfffffede
jmp 0x40aaf9
test bl, 8
je 0x40aad4
add esi, 0xffffff6a
jmp 0x40aaf9
test bl, 2
je 0x40aae1
add esi, 0xc8
jmp 0x40aaf9
test bl, 0x10
je 0x40aaee
add esi, 0x96
jmp 0x40aaf9
test bl, 0x20
je 0x40aaf9
add esi, 0x122
test ebx, 0x10000000
je 0x40ab0c
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
mov esi, eax
neg esi
test ebx, 0x20000000
je 0x40ab19
mov esi, 0x320
test ebx, 0x40000000
je 0x40ab2c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
mov ebp, eax
neg ebp
test ebx, ebx
jns 0x40ab35
mov ebp, 0x258
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
push ebp
push esi
call dword [edx + 8]
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 8
ret 8

Function at 0x40ab50
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, dword [esp + 4]
push esi
push eax
mov esi, ecx
call fcn.00409a10
test eax, eax
jne 0x40ab65
pop esi
ret 0xc
mov eax, dword [eax + 0x5a4]
test eax, eax
push edi
jl 0x40ab80
cmp eax, 0x2f
jg 0x40ab80
lea ecx, [eax + eax*4]
mov edi, dword [esi + ecx*8 + 0x18]
test edi, edi
jne 0x40ab87
pop edi
xor eax, eax
pop esi
ret 0xc
mov esi, dword [esp + 0x14]
mov edx, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [edx + 0x84]
mov ebx, dword [esp + 0x14]
test bl, 1
je 0x40aba9
mov eax, dword [esi]
add eax, 0xffffff38
jmp 0x40abe9
test bl, 4
je 0x40abb7
mov eax, dword [esi]
add eax, 0xfffffed4
jmp 0x40abe9
test bl, 8
je 0x40abc3
mov eax, dword [esi]
add eax, 0xffffff9c
jmp 0x40abe9
test bl, 2
je 0x40abd1
mov eax, dword [esi]
add eax, 0xc8
jmp 0x40abe9
test bl, 0x10
je 0x40abdd
mov eax, dword [esi]
add eax, 0x64
jmp 0x40abe9
test bl, 0x20
je 0x40abeb
mov eax, dword [esi]
add eax, 0x12c
mov dword [esi], eax
test ebx, 0x10000000
je 0x40abfe
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
neg eax
mov dword [esi], eax
test ebx, 0x20000000
je 0x40ac0c
mov dword [esi], 0x320
test ebx, 0x40000000
je 0x40ac20
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xc]
neg eax
mov dword [esi + 4], eax
test ebx, ebx
pop ebx
jns 0x40ac2c
mov dword [esi + 4], 0x258
pop edi
mov eax, 1
pop esi
ret 0xc
Function at 0x4113b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x45d39f
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
lea ecx, [esi + 0x30]
mov dword [esp + 0x10], esi
mov dword [esi], vtable.CSsScript.0
call fcn.0041b270
xor ebx, ebx
lea ebp, [esi + 0x170]
mov dword [ebp + 0x34], 0xf
mov dword [ebp + 0x30], ebx
mov dword [esp + 0x1c], ebx
mov byte [ebp + 0x20], bl
lea ecx, [esi + 0x25c]
mov byte [esp + 0x1c], 1
call fcn.0041b160
lea ecx, [esi + 0x264]
mov byte [esp + 0x1c], 2
call fcn.0041b160
lea ecx, [esi + 0x26c]
mov byte [esp + 0x1c], 3
call fcn.0041b160
lea ecx, [esi + 0x274]
mov byte [esp + 0x1c], 4
call fcn.0041b160
lea ecx, [esi + 0x27c]
mov byte [esp + 0x1c], 5
call fcn.0041b160
lea ecx, [esi + 0x284]
mov byte [esp + 0x1c], 6
call fcn.0041b160
lea ecx, [esi + 0x28c]
mov byte [esp + 0x1c], 7
call fcn.0041b160
lea ecx, [esi + 0x294]
mov byte [esp + 0x1c], 8
call fcn.0041b160
lea ecx, [esi + 0x29c]
mov byte [esp + 0x1c], 9
call fcn.0041b160
lea ecx, [esi + 0x2a4]
mov byte [esp + 0x1c], 0xa
call fcn.0041b160
lea ecx, [esi + 0x2ac]
mov byte [esp + 0x1c], 0xb
call fcn.0041b160
lea ecx, [esi + 0x2b4]
mov byte [esp + 0x1c], 0xc
call fcn.0041b1e0
lea ecx, [esi + 0x2c8]
mov byte [esp + 0x1c], 0xd
call fcn.0041b1e0
mov byte [esp + 0x1c], 0xe
mov dword [esi + 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
or eax, 0xffffffff
mov dword [esi + 0x2dc], eax
mov dword [esi + 0x2ec], eax
mov dword [esi + 0x22c], ebx
mov dword [esi + 0x2f0], ebx
mov dword [esi + 0x24c], ebx
mov dword [esi + 0x250], ebx
mov dword [esi + 0x248], ebx
mov dword [esi + 0x254], ebx
mov dword [esi + 0x258], ebx
xor eax, eax
mov ecx, 0x10
lea edi, [esi + 0x1a8]
rep stosd dword es:[edi], eax
mov ecx, 0x10
lea edi, [esi + 0x1e8]
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x140]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov ecx, 0xe
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, 0x220
lea edi, [esi + 0x2f4]
rep stosd dword es:[edi], eax
push 0x1e
lea ecx, [esi + 0x2c8]
call fcn.0041b220
mov ecx, dword [esp + 0x14]
pop edi
mov dword [esi + 0x138], ebx
mov dword [esi + 0x13c], ebx
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41b757
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45d67b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CSsSelectWindow.0
mov ecx, dword [esi + 0x14]
xor ebx, ebx
cmp ecx, ebx
mov dword [esp + 0x14], ebx
je 0x41b77a
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x14], ebx
mov ecx, dword [esi + 0x18]
cmp ecx, ebx
je 0x41b78a
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esi + 0x18], ebx
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
je 0x41b79a
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x10], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
cmp dword [esi + 0x34], 0x10
jb 0x41b7b5
mov ecx, dword [esi + 0x20]
push ecx
call fcn.0043b95e
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], 0xf
mov byte [esi + 0x20], bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x41df90
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0xc]
xor eax, eax
test edi, edi
jle 0x41dfb8
mov cl, byte [esp + 0x10]
push ebx
push esi
mov esi, dword [esp + 0x10]
mov bl, byte [eax + esi]
mov dl, al
and dl, cl
xor bl, dl
mov byte [eax + esi], bl
inc eax
cmp eax, edi
jl 0x41dfa5
pop esi
pop ebx
mov eax, 1
pop edi
ret
Function at 0x41f600
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45d856
mov eax, dword fs:[0]
push eax
mov eax, 0xd45c
mov dword fs:[0], esp
call fcn.0043c550
mov eax, dword [0x46c35c]
push ebp
mov dword [esp + 0xd45c], eax
mov eax, dword [esp + 0xd474]
test eax, eax
push esi
mov esi, ecx
push edi
lea ebp, [esi + 0x158]
jne 0x41f64f
push ebp
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
jmp 0x41f65e
push 0x104
push eax
push ebp
call fcn.0043bf40
add esp, 0xc
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41f663
sub eax, edx
je 0x41f680
cmp byte [eax + esi + 0x157], 0x5c
jne 0x41f680
mov byte [eax + esi + 0x157], 0
mov eax, dword [esp + 0xd478]
push eax
push ebp
lea edi, [esi + 0x54]
push str._s_s
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.0041dfc0
push 0x21
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0xd478], 0
call fcn.0041e310
test eax, eax
je 0x41f6ee
lea ecx, [esp + 0xc]
push ecx
push 0x48
lea edx, [esi + 4]
push edx
lea ecx, [esp + 0x1c]
call fcn.0041dd50
mov eax, dword [esi + 0x40]
lea eax, [eax + eax*8]
shl eax, 3
push eax
call fcn.0043b7c1
mov edi, eax
add esp, 4
test edi, edi
mov dword [esi + 0x4c], edi
jne 0x41f709
lea ecx, [esp + 0x10]
mov dword [esp + 0xd470], 0xffffffff
call fcn.0041e160
xor eax, eax
jmp 0x41f802
mov eax, dword [esi + 0x40]
lea ecx, [eax + eax*8]
shl ecx, 3
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x48]
push 0
push eax
lea ecx, [esp + 0x18]
call fcn.0041de40
mov eax, dword [esi + 0x38]
test eax, eax
je 0x41f7c4
push eax
call fcn.0043c534
mov ecx, dword [esi + 0x38]
mov edx, ecx
mov ebp, eax
shr ecx, 2
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esi + 0x38]
add esp, 4
lea eax, [esp + 0xc]
push eax
push ecx
push ebp
lea ecx, [esp + 0x1c]
call fcn.0041dd50
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x41f788
xor edx, edx
mov dl, al
mov eax, dword [esi + 0x38]
push edx
push eax
push ebp
call fcn.0041df90
add esp, 0xc
mov edi, vtable.CGsLZSS.0
mov dword [esp + 0x34], edi
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 0x4c]
push 0
push ecx
push edx
push ebp
lea ecx, [esp + 0x44]
mov byte [esp + 0xd480], 1
call fcn.0041dc10
push ebp
call fcn.0043c41c
add esp, 4
mov byte [esp + 0xd470], 0
mov dword [esp + 0x34], edi
jmp 0x41f7e0
mov edx, dword [esi + 0x4c]
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi + 0x40]
lea ecx, [eax + eax*8]
shl ecx, 3
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.0041dd50
lea ecx, [esp + 0x10]
call fcn.0041e040
lea ecx, [esp + 0x10]
mov dword [esp + 0xd470], 0xffffffff
call fcn.0041e160
mov eax, 1
mov ecx, dword [esp + 0xd468]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xd45c]
pop ebp
call fcn.0043b8ee
add esp, 0xd468
ret 8
Function at 0x420b1d
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45d8b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [0x46c35c]
push esi
mov esi, ecx
mov dword [esp + 0x30], eax
push esi
lea ecx, [esp + 8]
call fcn.00421db0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push eax
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], 0
call fcn.004212a0
lea edx, [esp + 4]
push edx
mov ecx, esi
call fcn.004200b0
lea ecx, [esp + 4]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00421fb0
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x30]
pop esi
call fcn.0043b8ee
add esp, 0x3c
ret 8
Function at 0x423340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x45d9a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov eax, dword [0x46c35c]
push esi
mov esi, ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x60], eax
call fcn.0041dfc0
mov eax, dword [esp + 0x74]
push 0x21
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x74], 0
call fcn.0041e310
test eax, eax
jne 0x4233a1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], 0xffffffff
call fcn.0041e160
xor eax, eax
jmp 0x4234d4
push 0
push 0xe
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x48]
call fcn.0041dd50
push 0
push 0x28
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x48]
call fcn.0041dd50
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x4233d2
mov eax, 0x20
mov ecx, dword [esi + 0x10]
mov edx, dword [esp + 8]
test ecx, ecx
mov ecx, dword [esp + 0xc]
push edi
je 0x4233f1
cmp dword [esi + 0x18], edx
jne 0x4233f1
cmp dword [esi + 0x1c], ecx
jne 0x4233f1
cmp eax, dword [esi + 0x28]
je 0x423417
push eax
push ecx
push edx
mov ecx, esi
call fcn.00422510
test eax, eax
jne 0x423417
lea ecx, [esp + 0x40]
mov dword [esp + 0x70], 0xffffffff
call fcn.0041e160
xor eax, eax
jmp 0x4234d3
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x48]
push edx
mov ecx, esi
call fcn.004226a0
test eax, eax
je 0x4233ff
mov eax, dword [esi + 0x14]
test eax, eax
je 0x423464
mov ecx, dword [esi + 0x18]
test ecx, ecx
jl 0x423464
mov ecx, dword [esi + 0x1c]
test ecx, ecx
jl 0x423464
mov ecx, dword [esi + 0x28]
cmp ecx, 8
jne 0x423456
movzx eax, byte [eax]
mov dword [esi + 0x2c], eax
jmp 0x423464
cmp ecx, 0x20
jne 0x423464
mov ecx, dword [eax]
mov dword [esi + 0x2c], ecx
mov byte [esi + 0x2f], 0
xor eax, eax
mov ecx, 0x1d
lea edi, [esi + 0x30]
rep stosd dword es:[edi], eax
mov cl, byte [esp + 0x2c]
test cl, 0xf
je 0x423497
or dword [esi + 0x50], 0xf
mov eax, dword [esp + 0x20]
mov edx, eax
and edx, 0xffff
sar eax, 0x10
and eax, 0xffff
mov dword [esi + 0x54], edx
mov dword [esi + 0x58], eax
test cl, 0xf0
je 0x4234bd
or dword [esi + 0x50], 0xf0
mov eax, dword [esp + 0x24]
mov ecx, eax
and ecx, 0xffff
sar eax, 0x10
and eax, 0xffff
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x70], 0xffffffff
call fcn.0041e160
mov eax, 1
pop edi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x60]
pop esi
call fcn.0043b8ee
add esp, 0x6c
ret 8
Function at 0x42335d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x45d9a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov eax, dword [0x46c35c]
push esi
mov esi, ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x60], eax
call fcn.0041dfc0
mov eax, dword [esp + 0x74]
push 0x21
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x74], 0
call fcn.0041e310
test eax, eax
jne 0x4233a1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], 0xffffffff
call fcn.0041e160
xor eax, eax
jmp 0x4234d4
push 0
push 0xe
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x48]
call fcn.0041dd50
push 0
push 0x28
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x48]
call fcn.0041dd50
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x4233d2
mov eax, 0x20
mov ecx, dword [esi + 0x10]
mov edx, dword [esp + 8]
test ecx, ecx
mov ecx, dword [esp + 0xc]
push edi
je 0x4233f1
cmp dword [esi + 0x18], edx
jne 0x4233f1
cmp dword [esi + 0x1c], ecx
jne 0x4233f1
cmp eax, dword [esi + 0x28]
je 0x423417
push eax
push ecx
push edx
mov ecx, esi
call fcn.00422510
test eax, eax
jne 0x423417
lea ecx, [esp + 0x40]
mov dword [esp + 0x70], 0xffffffff
call fcn.0041e160
xor eax, eax
jmp 0x4234d3
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x48]
push edx
mov ecx, esi
call fcn.004226a0
test eax, eax
je 0x4233ff
mov eax, dword [esi + 0x14]
test eax, eax
je 0x423464
mov ecx, dword [esi + 0x18]
test ecx, ecx
jl 0x423464
mov ecx, dword [esi + 0x1c]
test ecx, ecx
jl 0x423464
mov ecx, dword [esi + 0x28]
cmp ecx, 8
jne 0x423456
movzx eax, byte [eax]
mov dword [esi + 0x2c], eax
jmp 0x423464
cmp ecx, 0x20
jne 0x423464
mov ecx, dword [eax]
mov dword [esi + 0x2c], ecx
mov byte [esi + 0x2f], 0
xor eax, eax
mov ecx, 0x1d
lea edi, [esi + 0x30]
rep stosd dword es:[edi], eax
mov cl, byte [esp + 0x2c]
test cl, 0xf
je 0x423497
or dword [esi + 0x50], 0xf
mov eax, dword [esp + 0x20]
mov edx, eax
and edx, 0xffff
sar eax, 0x10
and eax, 0xffff
mov dword [esi + 0x54], edx
mov dword [esi + 0x58], eax
test cl, 0xf0
je 0x4234bd
or dword [esi + 0x50], 0xf0
mov eax, dword [esp + 0x24]
mov ecx, eax
and ecx, 0xffff
sar eax, 0x10
and eax, 0xffff
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x70], 0xffffffff
call fcn.0041e160
mov eax, 1
pop edi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x60]
pop esi
call fcn.0043b8ee
add esp, 0x6c
ret 8
Function at 0x425810
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45da98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x24]
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call fcn.004262d0
lea edx, [esi + 0x90]
xor eax, eax
mov edi, edx
mov dword [esi], vtable.CGsSurfaceSprite.0
mov ecx, 0xd
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
push 1
mov dword [edx], eax
mov edx, dword [esi]
mov dword [esi + 0x7c], ecx
push edi
mov ecx, esi
mov dword [esp + 0x2c], 0
call dword [edx + 0x3c]
mov ecx, dword [esi + 0x7c]
test ecx, ecx
mov eax, edi
je 0x42588b
test edi, edi
jne 0x42588b
mov eax, dword [ecx]
lea edx, [esp + 0xc]
push edx
call dword [eax + 0x54]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00425da0
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x428090
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45db18
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 [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x10], ecx
xor ecx, ecx
dec eax
mov dword [esp + 0x1c], 0
mov dword [esi], vtable.CGsTrackingSprite::CGsTrackingUpdateRegion.0
mov dword [esi + 0x2c], edx
lea ebp, [esi + 0x1c]
lea ebx, [esi + 0x18]
je 0x4280f4
test eax, eax
js 0x4280ed
shl eax, 1
inc ecx
test eax, eax
jns 0x4280e6
or eax, 0xffffffff
shr eax, cl
jmp 0x4280fb
mov ecx, 0x20
xor eax, eax
test ebp, ebp
je 0x428102
mov dword [ebp], eax
test ebx, ebx
je 0x42810f
mov eax, 0x20
sub eax, ecx
mov dword [ebx], eax
mov eax, dword [esp + 0x34]
xor ecx, ecx
dec eax
lea edx, [esi + 0x24]
lea edi, [esi + 0x20]
je 0x428130
test eax, eax
js 0x428129
shl eax, 1
inc ecx
test eax, eax
jns 0x428122
or eax, 0xffffffff
shr eax, cl
jmp 0x428137
mov ecx, 0x20
xor eax, eax
test edx, edx
je 0x42813d
mov dword [edx], eax
test edi, edi
je 0x42814a
mov eax, 0x20
sub eax, ecx
mov dword [edi], eax
mov eax, dword [ebp]
mov ecx, dword [esp + 0x28]
mov edx, dword [edx]
add eax, ecx
mov ecx, dword [ebx]
mov ebx, dword [esp + 0x2c]
shr eax, cl
mov ecx, dword [edi]
add edx, ebx
shr edx, cl
mov dword [esi + 4], eax
mov dword [esi + 8], edx
imul edx, eax
push edx
mov dword [esi + 0x14], edx
call fcn.0043b7c1
mov ecx, dword [esi + 0x14]
mov edx, ecx
mov edi, eax
shr ecx, 2
mov dword [esi + 0x28], edi
mov eax, 0x1010101
rep stosd dword es:[edi], eax
add esp, 4
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14
Function at 0x435b70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [0x46c35c]
push edi
mov dword [esp + 0xa4], eax
xor eax, eax
mov ecx, 0x25
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x18]
dec eax
je 0x435c23
dec eax
je 0x435bdd
mov ecx, dword [ebp + 8]
push str.Unknown_OS_Version
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, 1
mov ecx, dword [esp + 0xa4]
call fcn.0043b8ee
pop edi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0xc]
cmp eax, 5
jne 0x435c11
mov eax, dword [esp + 0x10]
cmp eax, 1
jne 0x435bfe
push eax
push 5
lea edx, [esp + 0x24]
push edx
push str.WindowsXP__s__NT:_d._d_
jmp 0x435c52
mov edx, dword [ebp + 8]
push eax
push 5
lea ecx, [esp + 0x24]
push ecx
push str.Windows2000__s__NT:_d._d_
push edx
jmp 0x435c56
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
push edx
push eax
push str.WindowsNT__d._d__s
jmp 0x435c52
mov eax, dword [esp + 0x10]
test eax, eax
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x1c]
push ecx
jne 0x435c3d
push eax
push edx
push str.Windows95__d._d__s
jmp 0x435c52
cmp eax, 0x5a
jne 0x435c4b
push eax
push edx
push str.WindowsMe__d._d__s
jmp 0x435c52
push eax
push edx
push str.Windows98__d._d__s
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esp + 0xb8]
add esp, 0x14
mov eax, 1
call fcn.0043b8ee
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x436850
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [ecx + 4]
sub esp, 0xc
test eax, eax
jne 0x436860
add esp, 0xc
ret 8
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 8]
push ecx
push 0
push edx
push eax
mov dword [esp + 0x18], 4
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4368a3
cmp dword [esp], 4
mov eax, dword [esp + 4]
je 0x4368a7
mov eax, dword [esp + 0x14]
add esp, 0xc
ret 8