Function at 0x465800
Capabilities:
Check os version
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4a9af6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b8
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x34], ecx
mov al, byte [esp + 0x33]
xor ebx, ebx
mov dword [esp + 0x1d0], ebx
mov byte [esp + 0x6c], al
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
lea ecx, [esp + 0xf4]
mov byte [esp + 0x1d0], 1
call fcn.00478910
push ebx
lea ecx, [esp + 0xa4]
mov byte [esp + 0x1d4], 2
call fcn.00475930
push ebx
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1d4], 3
call fcn.00475930
push ebx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1d4], 4
call fcn.00475930
push ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1d4], 5
call fcn.00475930
push ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0x1d4], 6
call fcn.00475930
push ebx
lea ecx, [esp + 0x98]
mov byte [esp + 0x1d4], 7
call fcn.00475930
push ebx
lea ecx, [esp + 0x54]
mov byte [esp + 0x1d4], 8
call fcn.00475930
push ebx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1d4], 9
call fcn.00475930
mov cl, byte [esp + 0x33]
mov dword [esp + 0x10], ebx
mov byte [esp + 0x54], bl
mov byte [esp + 0x5c], cl
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
push ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0x1d4], 0xb
call fcn.00475930
mov dl, byte [esp + 0x33]
mov edi, 0x4c4510
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x1d0], 0xc
mov byte [esp + 0x18], dl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
call fcn.0041c2e0
test al, al
je 0x46597b
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov eax, ecx
mov esi, 0x4c4510
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.0041c2c0
push 5
lea ecx, [esp + 0x1dc]
mov byte [esp + 0x1d4], 0xd
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x54]
call fcn.00475ae0
push 6
lea ecx, [esp + 0x1dc]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x5c]
call fcn.00475ae0
push 1
lea ecx, [esp + 0x1dc]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x2c]
call fcn.00475ae0
push 8
lea ecx, [esp + 0x1dc]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x98]
call fcn.00475ae0
mov ecx, dword [esp + 0x34]
push 7
lea esi, [ecx + 0x1c]
mov ecx, esi
mov dword [esp + 0x44], esi
call fcn.00475c70
inc al
mov ecx, esi
push eax
push 7
call fcn.00475c80
push 0
lea ecx, [esp + 0x98]
call fcn.00475c70
mov byte [esp + 0x38], al
mov eax, dword [esp + 0x38]
and eax, 0xff
dec eax
je 0x467318
dec eax
je 0x466f38
dec eax
jne 0x4673e9
mov edi, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
cmp edi, esi
mov ebp, edi
je 0x465a82
mov ecx, edi
call fcn.00475a40
add edi, 4
cmp edi, esi
jne 0x465a74
lea edx, [esp + 0x100]
push 0xc8
push edx
push 0
mov dword [esp + 0x70], ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x100]
push 0x5c
push eax
call fcn.00499210
xor ecx, ecx
mov byte [eax + 1], 0
mov dword [esp + 0x84], ecx
add esp, 8
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ecx
push 4
mov dword [esp + 0x8c], ecx
push 0xd8
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x48]
push 4
call fcn.00475c70
and eax, 0xff
lea edx, [esp + 0x84]
push eax
push 0
push 0
push str._02X_02X_02X_02X_02X.dat
push edx
call fcn.00498c63
lea eax, [esp + 0x98]
lea edi, [esp + 0x11c]
push eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ecx, [esp + ecx + 0x120]
push ecx
call fcn.00498c63
lea edx, [esp + 0x124]
push 0
push edx
call fcn.004a3e26
add esp, 0x2c
test eax, eax
jne 0x465ca0
lea eax, [esp + 0x100]
push 0x4bcaa4
push eax
call fcn.004990e6
mov esi, eax
add esp, 8
test esi, esi
je 0x465c79
xor edi, edi
test byte [esi + 0xc], 0x10
jne 0x465c8a
push esi
push 1
lea ecx, [esp + 0x5c]
push 1
push ecx
call fcn.004990f9
add esp, 0x10
inc edi
cmp di, 6
jl 0x465b65
mov ebp, 1
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0
call fcn.00475930
lea ecx, [esp + 0x30]
call fcn.00475ae0
mov edx, dword [esp + 0x34]
push ebp
lea edi, [edx + 0x20]
mov ecx, edi
call fcn.00475c70
test al, 0xf
je 0x465c59
movsx eax, bp
dec eax
cmp eax, 4
ja case.default.0x465bc4
jmp dword [eax*4 + 0x4675f0]
movzx ax, byte [0x4c4569]
lea ebx, [eax + eax*2]
lea ebx, [ebx + ebx*4]
jmp case.default.0x465bc4
movzx ax, byte [0x4c4569]
lea ebx, [eax + eax*2]
lea ebx, [ebx + ebx*4]
shl ebx, 1
jmp case.default.0x465bc4
push ebp
mov ecx, edi
mov ebx, 0x25
call fcn.00475c70
and al, 0xf
cmp al, 3
jne case.default.0x465bc4
mov ebx, 0x4a
jmp case.default.0x465bc4
push ebp
mov ecx, edi
mov ebx, 4
call fcn.00475c70
and al, 0xf
cmp al, 3
jne case.default.0x465bc4
mov ebx, 8
jmp case.default.0x465bc4
mov ebx, 4
xor edi, edi
test bx, bx
jle 0x465c59
test byte [esi + 0xc], 0x10
jne 0x465c8a
push esi
push 1
lea eax, [esp + 0x5c]
push 1
push eax
call fcn.004990f9
mov ecx, dword [esp + 0x64]
add esp, 0x10
push ecx
lea ecx, [esp + 0x30]
call fcn.00475ce0
inc edi
cmp di, bx
jl 0x465c2d
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x2c]
push edx
push 1
push eax
lea ecx, [esp + 0x68]
call fcn.0041c400
inc ebp
cmp bp, 5
jle 0x465b8d
push esi
call fcn.00498f15
mov ebx, dword [esp + 0x38]
add esp, 4
xor ebp, ebp
jmp 0x465ca6
push esi
mov dword [esp + 0x14], 1
call fcn.00498f15
add esp, 4
jmp 0x4672ce
mov ebx, dword [esp + 0x34]
xor ebp, ebp
lea esi, [ebx + 0x20]
push 1
mov ecx, esi
mov dword [esp + 0x3c], esi
call fcn.00475c70
test al, 0xf
je 0x465d95
push ebp
lea ecx, [esp + 0x60]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x30]
call fcn.00475ae0
mov al, byte [0x4c4569]
mov dword [esp + 0x14], ebp
test al, al
jbe 0x465d95
mov esi, dword [esp + 0x34]
xor edi, edi
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 3
push 0x4bcc70
call fcn.004759a0
lea ecx, [esp + 0x2c]
call fcn.00475ae0
mov cl, byte [esp + 0x14]
inc cl
push ecx
push 2
lea ecx, [esp + 0x30]
call fcn.00475c80
mov ebx, 0xf
push edi
lea ecx, [esp + 0x30]
call fcn.00475c70
push eax
lea ecx, [esp + 0x2c]
call fcn.00475ce0
inc edi
dec ebx
jne 0x465d28
push 0x64
call fcn.00439bd0
add esp, 4
lea edx, [esp + 0x28]
push 0x4c4538
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00475910
mov ecx, esi
call fcn.00447c50
cmp ax, 1
jne 0x4662f7
mov eax, dword [esp + 0x14]
movzx cx, byte [0x4c4569]
inc eax
cmp ax, cx
mov dword [esp + 0x14], eax
jl 0x465cf5
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
xor ebp, ebp
push 2
mov ecx, esi
call fcn.00475c70
test al, 0xf
je 0x465efa
push 1
lea ecx, [esp + 0x60]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x30]
call fcn.00475ae0
mov al, byte [0x4c4569]
mov dword [esp + 0x14], ebp
test al, al
jbe 0x465efa
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 4
push 0x4bcc68
call fcn.004759a0
lea ecx, [esp + 0x2c]
call fcn.00475ae0
mov bl, byte [esp + 0x14]
lea ecx, [esp + 0x28]
inc bl
push ebx
push 2
call fcn.00475c80
mov esi, ebp
mov edi, 0xf
push esi
lea ecx, [esp + 0x30]
call fcn.00475c70
push eax
lea ecx, [esp + 0x2c]
call fcn.00475ce0
inc esi
dec edi
jne 0x465e0d
push 0x64
call fcn.00439bd0
add esp, 4
lea edx, [esp + 0x28]
push 0x4c4538
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00475910
mov ecx, dword [esp + 0x3c]
call fcn.00447c50
cmp ax, 1
jne 0x4662f7
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 4
push 0x4bcc60
call fcn.004759a0
lea ecx, [esp + 0x2c]
call fcn.00475ae0
push ebx
push 2
lea ecx, [esp + 0x30]
call fcn.00475c80
lea esi, [ebp + 0xf]
mov edi, 0xf
push esi
lea ecx, [esp + 0x30]
call fcn.00475c70
push eax
lea ecx, [esp + 0x2c]
call fcn.00475ce0
inc esi
dec edi
jne 0x465e88
push 0x64
call fcn.00439bd0
add esp, 4
lea eax, [esp + 0x28]
push 0x4c4538
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00475910
mov ecx, dword [esp + 0x3c]
call fcn.00447c50
cmp ax, 1
jne 0x4662f7
mov eax, dword [esp + 0x14]
add ebp, 0x1e
movzx cx, byte [0x4c4569]
inc eax
cmp ax, cx
mov dword [esp + 0x14], eax
jl 0x465dd8
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
xor ebp, ebp
push 3
mov ecx, esi
call fcn.00475c70
test al, 0xf
je 0x466012
push 2
lea ecx, [esp + 0x60]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x30]
call fcn.00475ae0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 2
push 0x4bcc5c
call fcn.004759a0
lea ecx, [esp + 0x2c]
call fcn.00475ae0
xor edi, edi
push edi
lea ecx, [esp + 0x30]
call fcn.00475c70
push eax
lea ecx, [esp + 0x2c]
call fcn.00475ce0
inc edi
cmp di, 0x25
jl 0x465f4a
push 0x64
call fcn.00439bd0
add esp, 4
lea edx, [esp + 0x28]
push 0x4c4538
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00475910
mov ecx, ebx
call fcn.00447c50
cmp ax, 1
jne 0x4673e5
push 3
mov ecx, esi
call fcn.00475c70
and al, 0xf
cmp al, 3
jne 0x466012
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 2
push 0x4bcc58
call fcn.004759a0
lea ecx, [esp + 0x2c]
call fcn.00475ae0
xor edi, edi
lea eax, [edi + 0x25]
lea ecx, [esp + 0x2c]
push eax
call fcn.00475c70
push eax
lea ecx, [esp + 0x2c]
call fcn.00475ce0
inc edi
cmp di, 0x25
jl 0x465fc3
push 0x64
call fcn.00439bd0
add esp, 4
lea edx, [esp + 0x28]
push 0x4c4538
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00475910
mov ecx, ebx
call fcn.00447c50
cmp ax, 1
jne 0x4673e5
push 4
mov ecx, esi
call fcn.00475c70
test al, 0xf
je 0x46612a
push 3
lea ecx, [esp + 0x60]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x30]
call fcn.00475ae0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 2
push 0x4bcc38
call fcn.004759a0
lea ecx, [esp + 0x2c]
call fcn.00475ae0
xor edi, edi
push edi
lea ecx, [esp + 0x30]
call fcn.00475c70
push eax
lea ecx, [esp + 0x2c]
call fcn.00475ce0
inc edi
cmp di, 4
jl 0x466062
push 0x64
call fcn.00439bd0
add esp, 4
lea eax, [esp + 0x28]
push 0x4c4538
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.00475910
mov ecx, ebx
call fcn.00447c50
cmp ax, 1
jne 0x4673e5
push 4
mov ecx, esi
call fcn.00475c70
and al, 0xf
cmp al, 3
jne 0x46612a
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 2
push 0x4bcc54
call fcn.004759a0
lea ecx, [esp + 0x2c]
call fcn.00475ae0
xor edi, edi
lea ecx, [edi + 4]
push ecx
lea ecx, [esp + 0x30]
call fcn.00475c70
push eax
lea ecx, [esp + 0x2c]
call fcn.00475ce0
inc edi
cmp di, 4
jl 0x4660db
push 0x64
call fcn.00439bd0
add esp, 4
lea edx, [esp + 0x28]
push 0x4c4538
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00475910
mov ecx, ebx
call fcn.00447c50
cmp ax, 1
jne 0x4673e5
push 5
mov ecx, esi
call fcn.00475c70
test al, 0xf
je 0x4661c6
push 4
lea ecx, [esp + 0x60]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x30]
call fcn.00475ae0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 2
push 0x4bcc50
call fcn.004759a0
lea ecx, [esp + 0x2c]
call fcn.00475ae0
xor edi, edi
push edi
lea ecx, [esp + 0x30]
call fcn.00475c70
push eax
lea ecx, [esp + 0x2c]
call fcn.00475ce0
inc edi
cmp di, 4
jl 0x46617a
push 0x64
call fcn.00439bd0
add esp, 4
lea eax, [esp + 0x28]
push 0x4c4538
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.00475910
mov ecx, ebx
call fcn.00447c50
cmp ax, 1
jne 0x4673e5
lea ecx, [esp + 0x100]
push ecx
call fcn.004991e1
mov edi, 0x4c4510
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
lea ecx, [esp + 0x1c]
push ebx
call fcn.0041c2e0
test al, al
je 0x466220
mov edi, dword [esp + 0x1c]
mov ecx, ebx
mov edx, ecx
mov esi, 0x4c4510
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x20], ebx
mov byte [eax + ebx], 0
mov edx, dword [esp + 0x40]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00475910
lea ecx, [esp + 0x4c]
call fcn.00475ae0
push ecx
lea eax, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00475910
sub esp, 0x10
lea edx, [esp + 0x47]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
push str.UINFO.DB
mov byte [esp + 0x1ec], 0xe
call fcn.0041b350
mov ecx, dword [0x4c4560]
lea eax, [esp + 0x80]
push eax
mov byte [esp + 0x1e8], 0xd
call fcn.0042cec0
xor ebp, ebp
cmp ax, bp
je 0x4663da
push 9
lea ecx, [esp + 0x70]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00475910
lea ecx, [esp + 0xa8]
push ecx
call fcn.00477540
add esp, 8
mov edi, eax
mov eax, dword [edi + 8]
mov ecx, dword [0x4ad134]
mov ebx, eax
mov byte [esp + 0x1d0], 0xf
cmp ecx, ebx
jae 0x4662d4
mov ebx, ecx
lea edx, [esp + 0x18]
cmp edx, edi
jne 0x466304
push ecx
push ebx
lea ecx, [esp + 0x20]
call fcn.0041c1a0
push ebp
push ebp
lea ecx, [esp + 0x20]
call fcn.0041c1a0
jmp 0x466393
mov dword [esp + 0x10], 0
jmp 0x4673e9
cmp ebx, ebp
jbe 0x466351
cmp ebx, eax
jne 0x466351
mov eax, dword [edi + 4]
cmp eax, ebp
jne 0x466318
mov eax, 0x4ad138
cmp byte [eax - 1], 0xfe
jae 0x466351
push 1
lea ecx, [esp + 0x1c]
call fcn.0041ba60
mov eax, dword [edi + 4]
cmp eax, ebp
jne 0x466335
mov eax, 0x4ad138
mov dword [esp + 0x1c], eax
mov ecx, dword [edi + 8]
mov dword [esp + 0x20], ecx
mov edi, dword [edi + 0xc]
mov dword [esp + 0x24], edi
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x466393
push 1
push ebx
lea ecx, [esp + 0x20]
call fcn.0041c2e0
test al, al
je 0x466393
mov edi, dword [edi + 4]
mov esi, 0x4ad138
cmp edi, ebp
je 0x46636f
mov esi, edi
mov edi, dword [esp + 0x1c]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x20], ebx
mov byte [ecx + ebx], 0
mov eax, dword [esp + 0xa8]
xor ebp, ebp
cmp eax, ebp
mov byte [esp + 0x1d0], 0xd
je 0x4663c5
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4663bc
cmp al, 0xff
je 0x4663bc
dec al
mov byte [ecx], al
jmp 0x4663c5
push ecx
call fcn.00498130
add esp, 4
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xac], ebp
mov dword [esp + 0xb0], ebp
mov edi, 0x4bca14
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x4ad134]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
mov ecx, dword [esp + 0x20]
sub edx, ecx
cmp edx, edi
ja 0x466400
call fcn.0049813b
cmp edi, ebp
jbe 0x46644c
mov eax, dword [esp + 0x20]
push ebp
lea ecx, [esp + 0x1c]
lea ebx, [eax + edi]
push ebx
call fcn.0041c2e0
test al, al
je 0x46644c
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov esi, 0x4bca14
lea eax, [edx + ecx]
mov ecx, edi
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x20], ebx
mov byte [ecx + ebx], 0
mov ebx, 1
mov dword [esp + 0x14], ebx
push ebx
mov ecx, esi
call fcn.00475c70
test al, 0xf
je 0x46662f
mov ecx, dword [esp + 0x40]
push 7
call fcn.00475c70
add al, bl
lea ecx, [esp + 0x48]
add al, 2
push eax
push 7
call fcn.00475c80
push ecx
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00475910
sub esp, 0x10
lea eax, [esp + 0xaf]
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
push str.UINFO.DB
mov byte [esp + 0x1ec], 0x10
call fcn.0041b350
lea ecx, [esp + 0x80]
mov byte [esp + 0x1e4], 0xd
push ecx
mov ecx, dword [0x4c4560]
call fcn.0042cec0
test ax, ax
je 0x46662f
mov edi, 0x4bc280
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x4ad134]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [esp + 0x20]
sub edx, ecx
cmp edx, esi
ja 0x4664fe
call fcn.0049813b
xor ebp, ebp
cmp esi, ebp
jbe 0x466546
mov eax, dword [esp + 0x20]
push ebp
lea ecx, [esp + 0x1c]
lea ebx, [esi + eax]
push ebx
call fcn.0041c2e0
test al, al
je 0x466546
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
lea edi, [edx + ecx]
mov ecx, esi
mov eax, ecx
mov esi, 0x4bc280
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], ebx
mov byte [ecx + ebx], 0
push 9
lea ecx, [esp + 0x70]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.00475910
lea edx, [esp + 0xe8]
push edx
call fcn.00477540
add esp, 8
mov edi, eax
mov eax, dword [0x4ad134]
mov ecx, dword [edi + 8]
mov esi, eax
mov byte [esp + 0x1d0], 0x11
cmp ecx, esi
jae 0x466588
mov esi, ecx
sub eax, dword [esp + 0x20]
cmp eax, esi
ja 0x466595
call fcn.0049813b
cmp esi, ebp
jbe 0x4665e4
mov eax, dword [esp + 0x20]
push ebp
lea ecx, [esp + 0x1c]
lea ebx, [eax + esi]
push ebx
call fcn.0041c2e0
test al, al
je 0x4665e4
mov eax, dword [edi + 4]
cmp eax, ebp
jne 0x4665bb
mov eax, 0x4ad138
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
lea edi, [edx + ecx]
mov ecx, esi
mov esi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], ebx
mov byte [ecx + ebx], 0
mov ecx, dword [esp + 0xe8]
mov byte [esp + 0x1d0], 0xd
cmp ecx, ebp
je 0x466612
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x466609
cmp al, 0xff
je 0x466609
dec al
mov byte [ecx], al
jmp 0x466612
push ecx
call fcn.00498130
add esp, 4
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0xe8], ebp
mov dword [esp + 0xec], ebp
mov dword [esp + 0xf0], ebp
inc ebx
cmp bx, 5
mov dword [esp + 0x14], ebx
jle 0x466455
mov edx, dword [esp + 0x34]
push 0
push 1
sub esp, 0x10
lea eax, [edx + 0x18]
mov edi, esp
mov dword [esp + 0x5c], esp
push ecx
mov dword [esp + 0x50], eax
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00475910
push edi
call fcn.00477540
sub esp, 8
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x1fc], 0x12
call fcn.0041b230
mov ecx, 0x4c45b8
mov byte [esp + 0x1f8], 0xd
call fcn.0047a9a0
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 1
push 0x4c4764
call fcn.004759a0
lea ecx, [esp + 0x54]
call fcn.00475ae0
mov edi, 0x4c4510
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x10], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x18]
call fcn.0041c660
cmp eax, ebx
jae 0x4666dd
call fcn.0049813b
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x466705
mov al, byte [edi - 1]
test al, al
je 0x466705
cmp al, 0xff
je 0x466705
test ebx, ebx
jne 0x46672e
dec al
push ebx
lea ecx, [esp + 0x1c]
mov byte [edi - 1], al
call fcn.0041ba60
jmp 0x466761
test ebx, ebx
jne 0x466716
push 1
lea ecx, [esp + 0x1c]
call fcn.0041ba60
jmp 0x466761
mov eax, dword [esp + 0x24]
cmp eax, 0x1f
ja 0x466723
cmp eax, ebx
jae 0x46673c
push 1
lea ecx, [esp + 0x1c]
call fcn.0041ba60
push ebx
lea ecx, [esp + 0x1c]
call fcn.0041c670
mov edi, dword [esp + 0x1c]
mov ecx, ebx
mov esi, 0x4c4510
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x20], ebx
mov byte [eax + ebx], 0
push 1
mov ecx, esi
call fcn.00475c70
cmp al, 0x80
je 0x466995
push 2
mov ecx, esi
call fcn.00475c70
cmp al, 0x80
je 0x466995
push 3
mov ecx, esi
call fcn.00475c70
cmp al, 0x80
je 0x466995
push 3
mov ecx, esi
call fcn.00475c70
cmp al, 0xc0
je 0x466995
push 4
mov ecx, esi
call fcn.00475c70
cmp al, 0x80
je 0x466995
push 4
mov ecx, esi
call fcn.00475c70
cmp al, 0xc0
je 0x466995
push 5
mov ecx, esi
call fcn.00475c70
cmp al, 0x80
je 0x466995
mov ecx, dword [esp + 0x40]
push 7
call fcn.00475c70
add al, 2
lea ecx, [esp + 0x48]
push eax
push 7
call fcn.00475c80
push ecx
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.00475910
sub esp, 0x10
lea eax, [esp + 0xae]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
push str.UINFO.DB
mov byte [esp + 0x1ec], 0x18
call fcn.0041b350
lea ecx, [esp + 0x80]
mov byte [esp + 0x1e4], 0xd
push ecx
mov ecx, dword [0x4c4560]
call fcn.0042cec0
test ax, ax
je 0x466ee2
push 9
lea ecx, [esp + 0x70]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.00475910
lea edx, [esp + 0xd8]
push edx
call fcn.00477540
add esp, 8
mov esi, eax
mov eax, dword [0x4ad134]
mov ecx, dword [esi + 8]
mov ebp, eax
mov byte [esp + 0x1d0], 0x19
cmp ecx, ebp
jae 0x46688b
mov ebp, ecx
sub eax, dword [esp + 0x20]
cmp eax, ebp
ja 0x466898
call fcn.0049813b
xor edi, edi
cmp ebp, edi
jbe 0x466933
mov eax, dword [esp + 0x20]
lea ebx, [eax + ebp]
cmp ebx, 0xfffffffd
jbe 0x4668b3
call fcn.0049813b
mov ecx, dword [esp + 0x1c]
cmp ecx, edi
je 0x4668db
mov al, byte [ecx - 1]
test al, al
je 0x4668db
cmp al, 0xff
je 0x4668db
cmp ebx, edi
jne 0x4668f2
dec al
push edi
mov byte [ecx - 1], al
lea ecx, [esp + 0x1c]
call fcn.0041ba60
jmp 0x466933
cmp ebx, edi
jne 0x4668ec
cmp ecx, edi
je 0x466933
mov dword [esp + 0x20], edi
mov byte [ecx], 0
jmp 0x466933
cmp dword [esp + 0x24], ebx
jae 0x466900
push ebx
lea ecx, [esp + 0x1c]
call fcn.0041c670
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 4]
mov esi, 0x4ad138
cmp eax, edi
je 0x46690e
mov esi, eax
mov edx, dword [esp + 0x20]
lea edi, [edx + ecx]
mov ecx, ebp
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], ebx
xor edi, edi
mov byte [ecx + ebx], 0
mov eax, dword [esp + 0xd8]
mov byte [esp + 0x1d0], 0xd
cmp eax, edi
je 0x46697b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x466972
cmp al, 0xff
je 0x466972
dec al
mov byte [ecx], al
mov dword [esp + 0xd8], edi
mov dword [esp + 0xdc], edi
mov dword [esp + 0xe0], edi
jmp 0x466ee2
push ecx
call fcn.00498130
add esp, 4
mov dword [esp + 0xd8], edi
mov dword [esp + 0xdc], edi
mov dword [esp + 0xe0], edi
jmp 0x466ee2
mov ecx, dword [esp + 0x40]
push 7
call fcn.00475c70
inc al
lea ecx, [esp + 0x48]
push eax
push 7
call fcn.00475c80
push ecx
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.00475910
sub esp, 0x10
lea eax, [esp + 0xa7]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
push str.UINFO.DB
mov byte [esp + 0x1ec], 0x13
call fcn.0041b350
lea ecx, [esp + 0x80]
mov byte [esp + 0x1e4], 0xd
push ecx
mov ecx, dword [0x4c4560]
call fcn.0042cec0
test ax, ax
je 0x466b41
push 9
lea ecx, [esp + 0x70]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.00475910
lea edx, [esp + 0xb8]
push edx
call fcn.00477540
add esp, 8
mov edi, eax
mov ecx, dword [0x4ad134]
mov eax, dword [edi + 8]
mov ebp, ecx
mov byte [esp + 0x1d0], 0x14
cmp eax, ebp
jae 0x466a49
mov ebp, eax
sub ecx, dword [esp + 0x20]
cmp ecx, ebp
ja 0x466a56
call fcn.0049813b
test ebp, ebp
jbe 0x466afc
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x18]
lea ebx, [eax + ebp]
call fcn.0041c660
cmp eax, ebx
jae 0x466a77
call fcn.0049813b
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x466a9f
mov al, byte [ecx - 1]
test al, al
je 0x466a9f
cmp al, 0xff
je 0x466a9f
test ebx, ebx
jne 0x466ab9
dec al
push ebx
mov byte [ecx - 1], al
lea ecx, [esp + 0x1c]
call fcn.0041ba60
jmp 0x466afc
test ebx, ebx
jne 0x466ab3
test ecx, ecx
je 0x466afc
push ebx
lea ecx, [esp + 0x1c]
call fcn.0041c2c0
jmp 0x466afc
cmp dword [esp + 0x24], ebx
jae 0x466ac3
push ebx
lea ecx, [esp + 0x1c]
call fcn.0041c670
mov eax, dword [edi + 4]
mov esi, 0x4ad138
test eax, eax
je 0x466ad1
mov esi, eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
lea edi, [ecx + edx]
mov ecx, ebp
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x20], ebx
mov byte [ecx + ebx], 0
mov ecx, dword [esp + 0xb8]
mov byte [esp + 0x1d0], 0xd
test ecx, ecx
je 0x466b2a
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x466b21
cmp al, 0xff
je 0x466b21
dec al
mov byte [ecx], al
jmp 0x466b2a
push ecx
call fcn.00498130
add esp, 4
xor eax, eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov edi, 0x4bca14
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
mov eax, dword [0x4ad134]
not ecx
dec ecx
sub eax, edx
mov ebp, ecx
cmp eax, ebp
ja 0x466b66
call fcn.0049813b
test ebp, ebp
jbe 0x466bfb
mov edx, dword [esp + 0x20]
lea ebx, [edx + ebp]
cmp ebx, 0xfffffffd
jbe 0x466b7f
call fcn.0049813b
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x466ba7
mov al, byte [ecx - 1]
test al, al
je 0x466ba7
cmp al, 0xff
je 0x466ba7
test ebx, ebx
jne 0x466bc1
dec al
push ebx
mov byte [ecx - 1], al
lea ecx, [esp + 0x1c]
call fcn.0041ba60
jmp 0x466bfb
test ebx, ebx
jne 0x466bbb
test ecx, ecx
je 0x466bfb
push ebx
lea ecx, [esp + 0x1c]
call fcn.0041c2c0
jmp 0x466bfb
cmp dword [esp + 0x24], ebx
jae 0x466bcb
push ebx
lea ecx, [esp + 0x1c]
call fcn.0041c670
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov esi, 0x4bca14
lea edi, [eax + ecx]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x20], ebx
mov byte [eax + ebx], 0
mov ebx, 1
mov dword [esp + 0x14], ebx
push ebx
mov ecx, esi
call fcn.00475c70
cmp al, 0x80
je 0x466c20
push ebx
mov ecx, esi
call fcn.00475c70
cmp al, 0xc0
jne 0x466e82
mov ecx, dword [esp + 0x40]
push 7
call fcn.00475c70
add al, bl
lea ecx, [esp + 0x48]
add al, 7
push eax
push 7
call fcn.00475c80
push ecx
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.00475910
sub esp, 0x10
lea eax, [esp + 0xa6]
mov ecx, esp
mov dword [esp + 0x60], esp
push eax
push str.UINFO.DB
mov byte [esp + 0x1ec], 0x15
call fcn.0041b350
lea ecx, [esp + 0x80]
mov byte [esp + 0x1e4], 0xd
push ecx
mov ecx, dword [0x4c4560]
call fcn.0042cec0
test ax, ax
je 0x466e82
mov edi, 0x4bc280
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x4ad134]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [esp + 0x20]
sub edx, ecx
cmp edx, esi
ja 0x466cb9
call fcn.0049813b
test esi, esi
jbe 0x466d4a
mov eax, dword [esp + 0x20]
lea ebp, [eax + esi]
cmp ebp, 0xfffffffd
jbe 0x466cd2
call fcn.0049813b
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x466cfa
mov al, byte [ecx - 1]
test al, al
je 0x466cfa
cmp al, 0xff
je 0x466cfa
test ebp, ebp
jne 0x466d14
dec al
push ebp
mov byte [ecx - 1], al
lea ecx, [esp + 0x1c]
call fcn.0041ba60
jmp 0x466d4a
test ebp, ebp
jne 0x466d0e
test ecx, ecx
je 0x466d4a
push ebp
lea ecx, [esp + 0x1c]
call fcn.0041c2c0
jmp 0x466d4a
cmp dword [esp + 0x24], ebp
jae 0x466d22
push ebp
lea ecx, [esp + 0x1c]
call fcn.0041c670
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
lea edi, [edx + ecx]
mov ecx, esi
mov eax, ecx
mov esi, 0x4bc280
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov byte [ecx + ebp], 0
push 9
lea ecx, [esp + 0x70]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call fcn.00475910
lea edx, [esp + 0xc8]
push edx
call fcn.00477540
add esp, 8
mov edi, eax
mov eax, dword [0x4ad134]
mov ecx, dword [edi + 8]
mov esi, eax
mov byte [esp + 0x1d0], 0x16
cmp ecx, esi
jae 0x466d8c
mov esi, ecx
sub eax, dword [esp + 0x20]
cmp eax, esi
ja 0x466d99
call fcn.0049813b
xor ebx, ebx
cmp esi, ebx
jbe 0x466e35
mov eax, dword [esp + 0x20]
lea ebp, [eax + esi]
cmp ebp, 0xfffffffd
jbe 0x466db4
call fcn.0049813b
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x466ddc
mov al, byte [ecx - 1]
test al, al
je 0x466ddc
cmp al, 0xff
je 0x466ddc
cmp ebp, ebx
jne 0x466df6
dec al
push ebx
mov byte [ecx - 1], al
lea ecx, [esp + 0x1c]
call fcn.0041ba60
jmp 0x466e35
cmp ebp, ebx
jne 0x466df0
cmp ecx, ebx
je 0x466e35
push ebx
lea ecx, [esp + 0x1c]
call fcn.0041c2c0
jmp 0x466e35
cmp dword [esp + 0x24], ebp
jae 0x466e04
push ebp
lea ecx, [esp + 0x1c]
call fcn.0041c670
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x466e10
mov eax, 0x4ad138
mov edx, dword [esp + 0x20]
lea edi, [edx + ecx]
mov ecx, esi
mov esi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov byte [ecx + ebp], 0
mov eax, dword [esp + 0xc8]
mov byte [esp + 0x1d0], 0xd
cmp eax, ebx
je 0x466e65
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x466e5c
cmp al, 0xff
je 0x466e5c
dec al
mov byte [ecx], al
jmp 0x466e65
push ecx
call fcn.00498130
add esp, 4
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
mov ebx, dword [esp + 0x14]
inc ebx
cmp bx, 5
mov dword [esp + 0x14], ebx
jle 0x466c04
mov edx, dword [esp + 0x34]
push 0
push 1
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x64], esp
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push edx
call fcn.00475910
push esi
call fcn.00477540
sub esp, 8
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x6c], esp
push eax
mov byte [esp + 0x1fc], 0x17
call fcn.0041b230
mov ecx, 0x4c45b8
mov byte [esp + 0x1f8], 0xd
call fcn.0047a9a0
mov edx, dword [esp + 0x34]
push 0
push 1
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x64], esp
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push edx
call fcn.00475910
push esi
call fcn.00477540
sub esp, 8
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x6c], esp
push eax
mov byte [esp + 0x1fc], 0x1a
call fcn.0041b230
mov ecx, 0x4c45b8
mov byte [esp + 0x1f8], 0xd
call fcn.0047a9a0
jmp 0x4672ce
push 0x4c4538
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push 2
push 0x4bc32c
call fcn.004759a0
mov ecx, dword [0x4c4548]
call fcn.00441500
test ax, ax
je 0x466fa1
push 0
mov ecx, 0x4c4538
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x40]
call fcn.00475ae0
lea ecx, [esp + 0x3c]
call fcn.00475d00
cmp ax, 0xf
jle 0x466fa1
push 0xf
lea ecx, [esp + 0x40]
call fcn.00475c70
mov byte [0x4c4569], al
lea ecx, [esp + 0x100]
push 0xc8
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x100]
push 0x5c
push edx
call fcn.00499210
mov byte [eax + 1], 0
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x84], eax
add esp, 8
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
push 4
mov dword [esp + 0x8c], eax
push 0xd8
push 4
mov dword [esp + 0x98], eax
call fcn.00475c70
and eax, 0xff
lea ecx, [esp + 0x84]
push eax
push 0
push 0
push str._02X_02X_02X_02X_02X.dat
push ecx
call fcn.00498c63
lea edi, [esp + 0x11c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x98]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
lea eax, [esp + ecx + 0x120]
push eax
call fcn.00498c63
add esp, 0x20
mov ecx, esp
mov dword [esp + 0x50], esp
push 0
call fcn.00475930
mov ecx, dword [esp + 0x38]
lea esi, [ecx + 0x20]
mov ecx, esi
call fcn.00475ae0
lea edx, [esp + 0x100]
push 0
push edx
mov dword [esp + 0x18], 0
call fcn.004a3e26
add esp, 8
test eax, eax
jne 0x4673e9
lea eax, [esp + 0x100]
push 0x4bcaa4
push eax
call fcn.004990e6
mov edi, eax
add esp, 8
test edi, edi
je 0x4670d5
mov al, byte [edi + 0xc]
xor ebx, ebx
test al, 0x10
jne 0x4670d5
cmp bx, 6
jge 0x4670d5
push edi
push 1
lea ecx, [esp + 0x5c]
push 1
push ecx
call fcn.004990f9
mov edx, dword [esp + 0x64]
add esp, 0x10
mov ecx, esi
push edx
call fcn.00475ce0
mov al, byte [edi + 0xc]
inc ebx
test al, 0x10
je 0x4670a9
push edi
call fcn.00498f15
add esp, 4
mov ecx, esi
call fcn.00475d00
cmp ax, 6
jl 0x4673e9
push 0
mov ecx, esi
mov dword [esp + 0x14], 0
call fcn.00475c70
cmp byte [0x4c4569], al
jne 0x4673e9
push 0x4c4538
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call fcn.00475910
mov ecx, dword [esp + 0x3c]
call fcn.00447c50
cmp ax, 1
jne 0x4673e9
push 0
mov ecx, 0x4c4538
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x40]
call fcn.00475ae0
lea ecx, [esp + 0x3c]
call fcn.00475d00
cmp ax, 6
jl 0x4673e9
mov ebx, 1
push 2
lea ecx, [esp + 0x40]
mov dword [esp + 0x14], ebx
call fcn.00475c70
test al, 8
push ebx
mov ecx, esi
je 0x4671bd
call fcn.00475c70
add al, 0x80
mov ecx, esi
push eax
push ebx
call fcn.00475c80
xor edi, edi
push 3
lea ecx, [esp + 0x40]
call fcn.00475c70
test al, 1
push 2
mov ecx, esi
je 0x4671ce
call fcn.00475c70
add al, 0x80
mov ecx, esi
push eax
push 2
call fcn.00475c80
jmp 0x4671db
call fcn.00475c70
test al, al
je 0x467195
xor edi, edi
mov dword [esp + 0x10], edi
jmp 0x467197
call fcn.00475c70
test al, al
je 0x4671db
mov dword [esp + 0x10], edi
push 4
lea ecx, [esp + 0x40]
call fcn.00475c70
test al, 0x80
push 3
mov ecx, esi
je 0x467230
call fcn.00475c70
add al, 0x80
mov ecx, esi
push eax
push 3
call fcn.00475c80
push 5
lea ecx, [esp + 0x40]
call fcn.00475c70
test al, 0x10
push 3
mov ecx, esi
je 0x467225
call fcn.00475c70
add al, 0x40
mov ecx, esi
push eax
push 3
call fcn.00475c80
jmp 0x46723d
call fcn.00475c70
test al, 2
je 0x46723d
jmp 0x467239
call fcn.00475c70
test al, al
je 0x46723d
mov dword [esp + 0x10], edi
push 4
lea ecx, [esp + 0x40]
call fcn.00475c70
test al, 0x40
push 4
mov ecx, esi
je 0x467292
call fcn.00475c70
add al, 0x80
mov ecx, esi
push eax
push 4
call fcn.00475c80
push 5
lea ecx, [esp + 0x40]
call fcn.00475c70
test al, 8
push 4
mov ecx, esi
je 0x467287
call fcn.00475c70
add al, 0x40
mov ecx, esi
push eax
push 4
call fcn.00475c80
jmp 0x46729f
call fcn.00475c70
test al, 2
je 0x46729f
jmp 0x46729b
call fcn.00475c70
test al, al
je 0x46729f
mov dword [esp + 0x10], edi
push 3
lea ecx, [esp + 0x40]
call fcn.00475c70
test al, 0x40
push 5
mov ecx, esi
je 0x467306
call fcn.00475c70
add al, 0x80
mov ecx, esi
push eax
push 5
call fcn.00475c80
cmp word [esp + 0x10], bx
jne 0x4673e9
push ecx
lea edx, [esp + 0x54]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
call fcn.00475910
mov ecx, dword [0x4c4560]
call fcn.0042d870
test ax, ax
je 0x467429
mov dword [esp + 0x10], 1
push 0
lea ecx, [esp + 0x54]
jmp 0x467418
call fcn.00475c70
test al, al
je 0x4672c3
mov dword [esp + 0x10], edi
jmp 0x4673e9
lea ecx, [esp + 0x100]
push 0xc8
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x100]
push 0x5c
push edx
call fcn.00499210
mov byte [eax + 1], 0
xor eax, eax
mov dword [esp + 0x84], eax
add esp, 8
mov dword [esp + 0x80], eax
mov ecx, esi
mov dword [esp + 0x84], eax
push 4
mov dword [esp + 0x8c], eax
push 0xd8
push 4
mov dword [esp + 0x98], eax
call fcn.00475c70
and eax, 0xff
lea ecx, [esp + 0x84]
push eax
push 0
push 0
push str._02X_02X_02X_02X_02X.dat
push ecx
call fcn.00498c63
lea edi, [esp + 0x11c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x98]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
lea eax, [esp + ecx + 0x120]
push eax
call fcn.00498c63
lea ecx, [esp + 0x124]
push 0
push ecx
mov dword [esp + 0x3c], 0
call fcn.004a3e26
add esp, 0x2c
test eax, eax
jne 0x4673e9
mov dword [esp + 0x10], 1
jmp 0x4672ce
mov dword [esp + 0x10], ebp
push ecx
lea eax, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call fcn.00475910
mov ecx, dword [0x4c4560]
call fcn.0042d870
test ax, ax
je 0x467429
mov dword [esp + 0x10], 1
push 0
lea ecx, [esp + 0x5c]
call fcn.00475c70
mov ecx, dword [esp + 0x40]
push eax
push 7
call fcn.00475c80
mov eax, dword [esp + 0x1c]
xor esi, esi
cmp eax, esi
je 0x467450
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x467447
cmp al, 0xff
je 0x467447
dec al
mov byte [ecx], al
jmp 0x467450
push ecx
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov byte [esp + 0x1d0], 0xb
call fcn.00475a40
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
cmp eax, ecx
mov byte [esp + 0x1d0], 0xa
mov ebx, ecx
mov edi, eax
je 0x467497
mov ecx, edi
call fcn.00475a40
add edi, 4
cmp edi, ebx
jne 0x467485
mov eax, dword [esp + 0x60]
push eax
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x58]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov byte [esp + 0x1d0], 9
call fcn.00475a40
lea ecx, [esp + 0x50]
mov byte [esp + 0x1d0], 8
call fcn.00475a40
lea ecx, [esp + 0x94]
mov byte [esp + 0x1d0], 7
call fcn.00475a40
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1d0], 6
call fcn.00475a40
lea ecx, [esp + 0x28]
mov byte [esp + 0x1d0], 5
call fcn.00475a40
lea ecx, [esp + 0x48]
mov byte [esp + 0x1d0], 4
call fcn.00475a40
lea ecx, [esp + 0x9c]
mov byte [esp + 0x1d0], 3
call fcn.00475a40
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1d0], 2
call fcn.00475a40
lea ecx, [esp + 0xf4]
mov byte [esp + 0x1d0], 1
call fcn.00475a40
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
cmp eax, ecx
mov byte [esp + 0x1d0], 0
mov ebx, ecx
mov edi, eax
je 0x46757b
mov ecx, edi
call fcn.00475a40
add edi, 4
cmp edi, ebx
jne 0x467569
mov eax, dword [esp + 0x70]
push eax
call fcn.00498130
mov eax, dword [esp + 0x1e4]
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov esi, dword [esp + 0x1e0]
add esp, 4
cmp esi, eax
mov dword [esp + 0x1d0], 0xffffffff
mov edi, eax
je 0x4675c4
mov ecx, esi
call fcn.00475a40
add esi, 4
cmp esi, edi
jne 0x4675af
mov esi, dword [esp + 0x1dc]
push esi
call fcn.00498130
mov ecx, dword [esp + 0x1cc]
mov ax, word [esp + 0x14]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c4
ret 0x14