joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46e960
Capabilities:
Check for peb ntglobalflag flag
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5d512b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
push ebx
push ebx
lea ecx, [esi + 4]
mov dword [esp + 0x28], esi
call fcn.00477730
mov dword [esi + 0x20], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x14], ebx
or eax, 0xffffffff
sub esp, 0x10
mov dword [esi + 0x2c], eax
mov dword [esi + 0x34], eax
mov eax, 0x10
mov edi, esp
mov dword [esp + 0x24], esp
push ebx
mov dword [esp + 0x68], ebx
mov dword [esi], 0x5daa60
mov dword [esi + 0x28], ebx
mov byte [esi + 0x3c], bl
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 0x80
mov byte [esi + 0x50], bl
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], 0x70
mov dword [esi + 0x54], ebx
call fcn.0041c370
push eax
mov ecx, edi
call fcn.00477730
mov ecx, esi
call fcn.0041c0c0
lea edi, [esi + 0x64]
mov dword [esp + 0x54], 1
mov ecx, edi
mov dword [esp + 0x14], edi
call fcn.00417f80
lea ecx, [edi + 0x5c]
mov byte [esp + 0x54], 2
call fcn.0044c710
mov dword [edi], fcn.005498b0
mov byte [edi + 0x6c], bl
mov dword [edi + 0x78], ebx
mov dword [edi + 0x74], ebx
mov dword [edi + 0x70], ebx
lea eax, [esp + 0x11]
lea ecx, [edi + 0x7c]
push eax
mov byte [esp + 0x58], 3
call fcn.00486050
mov dword [edi], 0x5da45c
lea ecx, [esp + 0x12]
mov byte [esp + 0x54], 4
push ecx
push str.deck_c_detail_bar.txt
lea ecx, [esp + 0x44]
mov dword [esi], 0x5db888
call fcn.0040e960
mov ebp, eax
lea edx, [esp + 0x13]
lea ecx, [esp + 0x2c]
push edx
push str.data_J_
mov byte [esp + 0x5c], 5
call fcn.0040e960
sub esp, 0x10
mov byte [esp + 0x64], 6
mov ecx, esp
mov dword [esp + 0x24], esp
push ebp
push eax
push ecx
call fcn.0040eed0
mov edx, dword [edi]
add esp, 0xc
mov ecx, edi
call dword [edx]
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 5
call fcn.00402850
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 4
call fcn.00402850
push ebx
mov ecx, edi
call fcn.00417f40
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call dword [edx + 0x38]
mov ecx, dword [edi + 0x50]
mov dword [esp + 0x14], 2
lea eax, [esp + 0x14]
mov edx, dword [ecx]
push eax
call dword [edx]
mov eax, dword [esp + 0x14]
mov edx, dword [edi]
push 0xffffffffffffffff
push eax
mov ecx, edi
call dword [edx + 8]
mov ecx, dword [edi + 0x28]
mov edx, dword [esp + 0x14]
mov dword [ecx + edx*4], ebx
mov eax, dword [edi + 0x60]
mov ecx, dword [esp + 0x14]
mov ecx, dword [eax + ecx*8 + 4]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x2c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x38]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0x4c], 0x6e
mov dword [esi + 0x60], 0x13
mov byte [esi + 0x50], bl
mov dword [esi + 0x14], 0xbf
mov dword [esi + 0x1c], 0x187
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x48
ret
Function at 0x46e97a
Capabilities:
Check for peb ntglobalflag flag
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5d512b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
push ebx
push ebx
lea ecx, [esi + 4]
mov dword [esp + 0x28], esi
call fcn.00477730
mov dword [esi + 0x20], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x14], ebx
or eax, 0xffffffff
sub esp, 0x10
mov dword [esi + 0x2c], eax
mov dword [esi + 0x34], eax
mov eax, 0x10
mov edi, esp
mov dword [esp + 0x24], esp
push ebx
mov dword [esp + 0x68], ebx
mov dword [esi], 0x5daa60
mov dword [esi + 0x28], ebx
mov byte [esi + 0x3c], bl
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 0x80
mov byte [esi + 0x50], bl
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], 0x70
mov dword [esi + 0x54], ebx
call fcn.0041c370
push eax
mov ecx, edi
call fcn.00477730
mov ecx, esi
call fcn.0041c0c0
lea edi, [esi + 0x64]
mov dword [esp + 0x54], 1
mov ecx, edi
mov dword [esp + 0x14], edi
call fcn.00417f80
lea ecx, [edi + 0x5c]
mov byte [esp + 0x54], 2
call fcn.0044c710
mov dword [edi], fcn.005498b0
mov byte [edi + 0x6c], bl
mov dword [edi + 0x78], ebx
mov dword [edi + 0x74], ebx
mov dword [edi + 0x70], ebx
lea eax, [esp + 0x11]
lea ecx, [edi + 0x7c]
push eax
mov byte [esp + 0x58], 3
call fcn.00486050
mov dword [edi], 0x5da45c
lea ecx, [esp + 0x12]
mov byte [esp + 0x54], 4
push ecx
push str.deck_c_detail_bar.txt
lea ecx, [esp + 0x44]
mov dword [esi], 0x5db888
call fcn.0040e960
mov ebp, eax
lea edx, [esp + 0x13]
lea ecx, [esp + 0x2c]
push edx
push str.data_J_
mov byte [esp + 0x5c], 5
call fcn.0040e960
sub esp, 0x10
mov byte [esp + 0x64], 6
mov ecx, esp
mov dword [esp + 0x24], esp
push ebp
push eax
push ecx
call fcn.0040eed0
mov edx, dword [edi]
add esp, 0xc
mov ecx, edi
call dword [edx]
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 5
call fcn.00402850
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 4
call fcn.00402850
push ebx
mov ecx, edi
call fcn.00417f40
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call dword [edx + 0x38]
mov ecx, dword [edi + 0x50]
mov dword [esp + 0x14], 2
lea eax, [esp + 0x14]
mov edx, dword [ecx]
push eax
call dword [edx]
mov eax, dword [esp + 0x14]
mov edx, dword [edi]
push 0xffffffffffffffff
push eax
mov ecx, edi
call dword [edx + 8]
mov ecx, dword [edi + 0x28]
mov edx, dword [esp + 0x14]
mov dword [ecx + edx*4], ebx
mov eax, dword [edi + 0x60]
mov ecx, dword [esp + 0x14]
mov ecx, dword [eax + ecx*8 + 4]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x2c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x38]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0x4c], 0x6e
mov dword [esi + 0x60], 0x13
mov byte [esi + 0x50], bl
mov dword [esi + 0x14], 0xbf
mov dword [esi + 0x1c], 0x187
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x48
ret
Function at 0x4734c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d5593
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call fcn.00461480
push fcn.00448080
push fcn.00447960
push 2
lea eax, [esi + 0xf0]
push 0xc8
push eax
mov dword [esp + 0x58], 0
call fcn.005c3e67
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esi + 0x284], eax
mov dword [esi], 0x5db8f0
shl eax, 4
add eax, 0x5f3348
mov dword [esi + 0x9c], ecx
mov byte [esp + 0x44], 1
mov eax, dword [eax + 4]
test eax, eax
jne 0x47353e
mov eax, 0x5da40c
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x2c]
push edx
push eax
lea edi, [esi + 0x10]
call fcn.0040e960
mov ebp, eax
lea eax, [esp + 0x50]
lea ecx, [esp + 0x1c]
push eax
push str.data_J_
mov byte [esp + 0x4c], 2
call fcn.0040e960
sub esp, 0x10
mov byte [esp + 0x54], 3
mov ecx, esp
mov dword [esp + 0x28], esp
push ebp
push eax
push ecx
call fcn.0040eed0
mov edx, dword [edi]
add esp, 0xc
mov ecx, edi
call dword [edx]
push 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 2
call fcn.00402850
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
call fcn.00402850
mov eax, dword [esi + 0xbc]
mov dword [esi + 0xc], 0xbbb
mov ecx, dword [edi + 0x50]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x4c]
mov edx, dword [ecx]
push eax
call dword [edx]
mov eax, dword [esp + 0x4c]
mov edx, dword [edi]
push 0xffffffffffffffff
push eax
mov ecx, edi
call dword [edx + 8]
mov ecx, dword [edi + 0x28]
mov edx, dword [esp + 0x4c]
mov dword [ecx + edx*4], 0
mov eax, dword [edi + 0x60]
mov ecx, dword [esp + 0x4c]
mov ecx, dword [eax + ecx*8 + 4]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
mov edx, dword [ecx]
push eax
call dword [edx + 0x38]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x54]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x10]
cdq
sub eax, edx
mov edx, dword [esp + 0x58]
sar eax, 1
sub edx, eax
mov eax, dword [esi + 0x284]
mov dword [esi + 0xa0], ecx
push eax
mov ecx, esi
mov dword [esi + 0xa4], edx
call fcn.00473800
mov dword [esi + 0x280], 0xffffffff
mov dword [esi + 0xc0], 0
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0xc4], 1
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x3c
ret 0x10
Function at 0x473da0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d561b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
call fcn.00461480
push fcn.00448080
push fcn.00447960
push 1
lea eax, [esi + 0xf0]
xor ebp, ebp
push 0xc8
push eax
mov dword [esp + 0x6c], ebp
call fcn.005c3e67
mov ecx, dword [esp + 0x60]
mov dl, byte [esp + 0x60]
mov dword [esi], 0x5db910
mov dword [esi + 0x9c], ecx
mov byte [esp + 0x20], dl
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x60]
mov dword [esi + 0x1bc], eax
push ecx
shl eax, 4
lea ecx, [esp + 0x44]
mov byte [esp + 0x5c], 2
mov eax, dword [eax + 0x5ebf88]
lea edi, [esi + 0x10]
push eax
call fcn.0040e960
mov ebx, eax
lea edx, [esp + 0x64]
lea ecx, [esp + 0x30]
push edx
push str.data_J_
mov byte [esp + 0x60], 3
call fcn.0040e960
sub esp, 0x10
mov byte [esp + 0x68], 4
mov ecx, esp
mov dword [esp + 0x2c], esp
push ebx
push eax
push ecx
call fcn.0040eed0
mov edx, dword [edi]
add esp, 0xc
mov ecx, edi
call dword [edx]
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x5c], 3
call fcn.00402850
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x5c], 2
call fcn.00402850
mov eax, dword [esi + 0xbc]
mov dword [esi + 0xc], 0xbbb
mov ecx, dword [edi + 0x50]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x60]
mov edx, dword [ecx]
push eax
call dword [edx]
mov eax, dword [esp + 0x60]
mov edx, dword [edi]
push 0xffffffffffffffff
push eax
mov ecx, edi
call dword [edx + 8]
mov ecx, dword [edi + 0x28]
mov edx, dword [esp + 0x60]
mov dword [ecx + edx*4], ebp
mov eax, dword [edi + 0x60]
mov ecx, dword [esp + 0x60]
mov ecx, dword [eax + ecx*8 + 4]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
mov edx, dword [ecx]
push eax
call dword [edx + 0x38]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x68]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x14]
cdq
sub eax, edx
mov edx, dword [esp + 0x6c]
sar eax, 1
mov dword [esi + 0xa0], ecx
sub edx, eax
mov ecx, esi
mov dword [esi + 0xa4], edx
call fcn.004740d0
mov ecx, dword [esp + 0x50]
mov dword [esi + 0xc0], ebp
mov dword [esi + 0xc4], 1
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x4c
ret 0x10
Function at 0x47cbfa
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5d5e04
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call fcn.0041a800
lea edi, [esi + 0x1e0]
mov dword [esp + 0x44], 0
mov ecx, edi
mov dword [esp + 0x18], edi
call fcn.00413890
mov al, byte [esp + 0x12]
lea ecx, [edi + 0x7c]
push 0
mov byte [esp + 0x48], 1
mov byte [ecx], al
call fcn.00402850
mov dword [edi], 0x5da45c
lea ebp, [esi + 0x26c]
mov byte [esp + 0x44], 2
mov ebx, ebp
mov ecx, ebx
mov dword [esp + 0x18], ebx
call fcn.0041c1e0
lea ecx, [ebx + 0x64]
mov byte [esp + 0x44], 3
call fcn.0041ae80
mov dword [ebx], 0x5dbadc
lea ecx, [esp + 0x12]
mov byte [esp + 0x44], 4
push ecx
push str.list_list_detail.txt
lea ecx, [esp + 0x34]
mov dword [esi], 0x5dbab4
call fcn.0040e960
mov ebx, eax
lea edx, [esp + 0x13]
lea ecx, [esp + 0x1c]
push edx
push str.data_J_
mov byte [esp + 0x4c], 5
call fcn.0040e960
sub esp, 0x10
mov byte [esp + 0x54], 6
mov ecx, esp
mov dword [esp + 0x28], esp
push ebx
push eax
push ecx
call fcn.0040eed0
mov edx, dword [edi]
add esp, 0xc
mov ecx, edi
call dword [edx]
push 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 5
call fcn.00402850
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 4
call fcn.00402850
mov eax, dword [edi]
push 0xffffffffffffffff
push 0
mov ecx, edi
call dword [eax + 8]
mov ecx, dword [0x5f2ff8]
push 0
call fcn.00417f40
mov ecx, dword [esi + 0x1e8]
mov edx, dword [ecx + 0x20]
push edx
mov ecx, ebp
call fcn.0047d360
mov eax, dword [esi + 0x1e8]
mov ebx, 0x3e8
mov edi, dword [ebp]
mov ecx, dword [eax + 0x24]
mov eax, ecx
cdq
idiv ebx
mov eax, 0x10624dd3
push edx
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, ebp
push edx
call dword [edi + 4]
mov dword [esi + 0x1dc], ebp
mov eax, dword [esi + 0x1e8]
mov ecx, dword [eax + 0xc]
mov edi, dword [eax + 0x14]
mov eax, 0x10624dd3
mov dword [esi + 0x1cc], 0x594f57
imul ecx
sar edx, 6
mov eax, edx
mov dword [esi + 0x1d0], 0x5f5350
shr eax, 0x1f
mov dword [esi + 0x1d4], 0x1c6767
mov dword [esi + 0x1d8], 0x5f3e5a
lea ebx, [edx + eax + 3]
mov eax, ecx
cdq
mov ecx, 0x3e8
idiv ecx
mov eax, 0x10624dd3
mov ecx, edx
imul edi
sar edx, 6
mov eax, edx
inc ecx
shr eax, 0x1f
lea ebp, [edx + eax - 5]
mov eax, edi
cdq
mov edi, 0x3e8
idiv edi
lea eax, [esi + 0x1bc]
pop edi
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ebp
mov dword [eax + 0xc], edx
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x38
ret
Function at 0x48c1b0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5d76d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 1
mov dword [esp + 0x18], edi
call fcn.0045cf80
lea esi, [edi + 0x18]
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x54], ebx
mov dword [edi + 0x14], ebx
mov dword [esp + 0x18], esi
call fcn.00549520
mov dword [esi], fcn.005498b0
lea ecx, [esi + 0x5c]
mov byte [esp + 0x54], 1
call fcn.0044c710
mov dword [esi], fcn.005498b0
mov byte [esi + 0x6c], bl
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x70], ebx
mov al, byte [esp + 0x12]
lea ecx, [esi + 0x7c]
push ebx
mov byte [esp + 0x58], 2
mov byte [ecx], al
call fcn.00402850
mov dword [esi], 0x5da45c
lea eax, [edi + 0xa4]
mov dword [esp + 0x18], eax
lea ebp, [eax + 4]
mov dword [ebp + 4], ebx
mov dword [ebp], 0x5da9f0
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
mov dword [eax], 0x5da8b4
mov ecx, dword [0x5f33d4]
lea eax, [esp + 0x1c]
mov byte [esp + 0x54], 5
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push eax
mov ecx, ebp
mov byte [esp + 0x58], 6
call fcn.004433f0
mov dword [esp + 0x1c], 0x5da9f0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 7
call fcn.00443050
mov dword [esp + 0x1c], 0x5da448
lea ecx, [esp + 0x12]
mov byte [esp + 0x54], 8
push ecx
push str.tutorial_popup.txt
lea ecx, [esp + 0x44]
mov dword [edi], 0x5dbda4
mov dword [edi + 0xc], 0x701
call fcn.0040e960
mov ebp, eax
lea edx, [esp + 0x13]
lea ecx, [esp + 0x2c]
push edx
push str.data_J_
mov byte [esp + 0x5c], 9
call fcn.0040e960
mov byte [esp + 0x54], 0xa
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push ebp
push eax
push ecx
call fcn.0040eed0
mov edx, dword [esi]
add esp, 0xc
mov ecx, esi
call dword [edx]
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 9
call fcn.00402850
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x48c325
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x48c31c
cmp al, 0xff
je 0x48c31c
dec al
mov byte [ecx], al
jmp 0x48c325
push ecx
call fcn.0054a2d0
add esp, 4
mov ecx, dword [esp + 0x4c]
mov byte [edi + 0x10], bl
mov byte [edi + 0x11], bl
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x48
ret
Function at 0x48d320
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5d777d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0xb
mov dword [esp + 0x18], esi
call fcn.0045cf80
lea edi, [esi + 0x20]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x18], edi
call fcn.00417f80
lea ecx, [edi + 0x5c]
mov byte [esp + 0x44], 1
call fcn.0044c710
mov dword [edi], fcn.005498b0
mov byte [edi + 0x6c], bl
mov dword [edi + 0x78], ebx
mov dword [edi + 0x74], ebx
mov dword [edi + 0x70], ebx
mov al, byte [esp + 0x12]
lea ecx, [edi + 0x7c]
push ebx
mov byte [esp + 0x48], 2
mov byte [ecx], al
call fcn.00402850
mov dword [edi], 0x5da45c
push ebx
lea ecx, [esi + 0xac]
mov byte [esp + 0x48], 3
call fcn.0048cae0
lea ecx, [esi + 0x160]
mov byte [esp + 0x44], 4
call fcn.0048c1b0
lea ecx, [esi + 0x224]
mov byte [esp + 0x44], 5
call fcn.0048d0d0
mov byte [esp + 0x44], 6
mov dword [esi], 0x5dbdd4
mov dword [esi + 0x14], ebx
call fcn.00449df0
cmp word [eax], 0x100
jne 0x48d3f4
call fcn.00449df0
xor ecx, ecx
mov cx, word [eax + 2]
push ecx
mov ecx, esi
call fcn.0048d6a0
lea edx, [esp + 0x12]
lea ecx, [esp + 0x2c]
push edx
push str.tutorial_back.txt
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
call fcn.0040e960
mov ebp, eax
lea eax, [esp + 0x13]
mov bl, 7
push eax
push str.data_J_
lea ecx, [esp + 0x24]
mov byte [esp + 0x4c], bl
call fcn.0040e960
sub esp, 0x10
mov byte [esp + 0x54], 8
mov ecx, esp
mov dword [esp + 0x28], esp
push ebp
push eax
push ecx
call fcn.0040eed0
mov edx, dword [edi]
add esp, 0xc
mov ecx, edi
call dword [edx]
push 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], bl
call fcn.00402850
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 6
call fcn.00402850
mov ecx, dword [esp + 0x3c]
mov eax, 4
mov dword [esi + 0xc], 0xffffff00
mov dword [esi + 0x168], eax
mov dword [esi + 0xb4], eax
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x38
ret
Function at 0x403304
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x468020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40339c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40337c
xor eax, eax
push ebp
push 0x403375
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4033b8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40337c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x468020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x468020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404098
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46a048], 0
je 0x4040f9
cmp word [0x46a21c], 0xd7b2
jne 0x4040c1
cmp dword [0x46a224], 0
jbe 0x4040c1
mov eax, 0x46a218
call dword [0x46a234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46806c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404120
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x468030], 0
jne 0x404115
push 0
push 0x468064
push 0x46806c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405e70
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405ed6
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.0040448c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ec8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405ec0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405edd
lea eax, [ebp - 0x10]
call fcn.0040421c
ret

Function at 0x40b18c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b1c5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040430c
jmp 0x40b1ce
mov eax, ebx
mov edx, esi
call fcn.00404270
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b1d8
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b1f9
mov al, byte [esp]
jmp 0x40b1fb
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b890
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b6f8
mov eax, dword [0x469958]
cmp byte [eax], 0
je 0x40b90c
mov eax, dword [0x469774]
call fcn.00402d34
call fcn.00402bb4
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040897c
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b954
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b942
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x469728]
mov eax, dword [eax + 4]
inc eax
add al, 0x50
Function at 0x40c1b0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c286
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004042b4
lea eax, [ebp - 8]
call fcn.0040472c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004046dc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c270
mov eax, ebx
call fcn.00402a28
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c269
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004046dc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c253
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c298
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c253
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c270
mov eax, dword [ebp - 0x10]
call fcn.00402a58
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c28d
lea eax, [ebp - 8]
call fcn.0040421c
ret

Function at 0x40c7ec
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c850
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0040448c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004084b0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c857
lea eax, [ebp - 0xc]
call fcn.0040421c
ret