Function at 0x4691e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4a9eae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x38], esi
mov al, byte [esp + 0x2b]
xor ebx, ebx
mov dword [esp + 0x22c], ebx
mov byte [esp + 0x114], al
mov dword [esp + 0x118], ebx
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x120], ebx
push ebx
lea ecx, [esp + 0xc4]
mov byte [esp + 0x230], 1
call fcn.00475930
push ebx
lea ecx, [esp + 0xbc]
mov byte [esp + 0x230], 2
call fcn.00475930
push ebx
lea ecx, [esp + 0xb8]
mov byte [esp + 0x230], 3
call fcn.00475930
push ebx
lea ecx, [esp + 0x38]
mov byte [esp + 0x230], 4
call fcn.00475930
push ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0x230], 5
call fcn.00475930
push ebx
lea ecx, [esp + 0x78]
mov byte [esp + 0x230], 6
call fcn.00475930
push ebx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x230], 7
call fcn.00475930
push ebx
lea ecx, [esp + 0x70]
mov byte [esp + 0x230], 8
call fcn.00475930
mov cl, byte [esp + 0x2b]
mov dword [esp + 0x14], ebx
mov byte [esp + 0x58], bl
mov byte [esp + 0x14c], cl
mov dword [esp + 0x150], ebx
mov dword [esp + 0x154], ebx
mov dword [esp + 0x158], ebx
push ebx
lea ecx, [esp + 0xc0]
mov byte [esp + 0x230], 0xa
call fcn.00475930
mov edi, 0x4c4510
or ecx, 0xffffffff
xor eax, eax
mov dl, byte [esp + 0x2b]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x22c], 0xb
mov byte [esp + 0x18], dl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push ecx
push 0x4c4510
lea ecx, [esp + 0x20]
call fcn.0041c100
mov al, byte [esp + 0x2b]
mov dword [esp + 0x60], ebx
mov byte [esp + 0x5c], al
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
lea ecx, [esp + 0xa0]
mov byte [esp + 0x22c], 0xd
call fcn.0047a3a0
mov cl, byte [esp + 0x2b]
mov edi, 0x4c4510
mov byte [esp + 0x7c], cl
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x22c], 0xe
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x80], ebx
push ecx
push 0x4c4510
lea ecx, [esp + 0x84]
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
call fcn.0041c100
push ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0x230], 0xf
call fcn.00475930
push 5
lea ecx, [esp + 0x238]
mov byte [esp + 0x230], 0x10
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x4c]
call fcn.00475ae0
push 6
lea ecx, [esp + 0x238]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x70]
call fcn.00475ae0
push 1
lea ecx, [esp + 0x238]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x38]
call fcn.00475ae0
push 8
lea ecx, [esp + 0x238]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x78]
call fcn.00475ae0
add esi, 0x1c
push 7
mov dword [esp + 0x54], esi
mov ecx, esi
call fcn.00475c70
inc al
mov ecx, esi
push eax
push 7
call fcn.00475c80
push ebx
lea ecx, [esp + 0x78]
call fcn.00475c70
mov byte [esp + 0x40], al
mov edx, dword [esp + 0x40]
and edx, 0xff
lea eax, [edx - 1]
cmp eax, 7
ja case.default.0x469496
jmp dword [eax*4 + 0x46b270]
cmp byte [0x4c4567], 4
jne 0x46950e
push 0x4c4538
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 2
push 0x4bc32c
call fcn.004759a0
mov ecx, dword [0x4c4548]
call fcn.00441500
cmp ax, bx
je 0x46950e
push ebx
mov ecx, 0x4c4538
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x40]
call fcn.00475ae0
lea ecx, [esp + 0x3c]
call fcn.00475d00
cmp ax, 0xf
jle 0x46950e
push 0xf
lea ecx, [esp + 0x40]
call fcn.00475c70
mov byte [0x4c4569], al
cmp byte [0x4c4567], 3
jne 0x46957f
push 0x4c4538
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 4
push 0x4bc348
call fcn.004759a0
mov ecx, dword [0x4c4548]
call fcn.00441500
cmp ax, bx
je 0x46957f
push ebx
mov ecx, 0x4c4538
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x40]
call fcn.00475ae0
lea ecx, [esp + 0x3c]
call fcn.00475d00
cmp ax, 5
jle 0x46957f
push 5
lea ecx, [esp + 0x40]
call fcn.00475c70
mov byte [0x4c4569], al
mov al, byte [0x4c4569]
cmp al, 4
je 0x469594
cmp al, 6
je 0x469594
cmp al, 8
jne 0x46a635
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
cmp esi, edi
mov ebp, esi
je 0x4695b1
push ebx
mov ecx, esi
call fcn.0041cba0
add esi, 0x10
cmp esi, edi
jne 0x4695a2
mov al, byte [0x4c4569]
xor edi, edi
cmp al, bl
mov dword [esp + 0x64], ebp
jbe 0x469653
mov esi, dword [esp + 0x38]
movsx ecx, di
lea eax, [esp + 0x18]
inc ecx
push eax
mov dword [esp + 0x44], ecx
fild dword [esp + 0x44]
sub esp, 8
lea ecx, [esp + 0x240]
fstp qword [esp]
push 2
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00475910
push 9
lea ecx, [esp + 0x248]
mov byte [esp + 0x240], 0x11
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call fcn.00475910
mov ecx, esi
mov byte [esp + 0x240], 0x10
call fcn.0044a0e0
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x18]
push edx
push 1
push eax
lea ecx, [esp + 0x68]
call fcn.0042bde0
movzx cx, byte [0x4c4569]
inc edi
cmp di, cx
jl 0x4695c8
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push ebx
call fcn.00475930
mov edx, dword [esp + 0x3c]
lea ecx, [edx + 0x20]
mov dword [esp + 0x44], ecx
call fcn.00475ae0
mov al, byte [esp + 0x5c]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x64], esp
mov byte [ebp], al
mov ecx, dword [esp + 0x70]
cmp ecx, ebx
jne 0x46968c
xor eax, eax
jmp 0x469695
mov eax, dword [esp + 0x74]
sub eax, ecx
sar eax, 4
cmp eax, ebx
jge 0x46969b
xor eax, eax
shl eax, 4
push eax
call fcn.00498866
mov dword [ebp + 4], eax
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
add esp, 4
mov edi, eax
cmp esi, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edi
je 0x4696ea
mov dword [esp + 0x40], edi
cmp edi, ebx
mov byte [esp + 0x23c], 0x12
je 0x4696d8
push esi
mov ecx, edi
call fcn.0041b230
mov eax, dword [esp + 0x20]
add esi, 0x10
add edi, 0x10
cmp esi, eax
mov dword [esp + 0x24], edi
jne 0x4696c0
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], edi
mov ecx, dword [esp + 0x48]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x50], esp
push ecx
lea edx, [ecx + 0x18]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
mov byte [esp + 0x254], 0x13
call fcn.00475910
push esi
call fcn.00477540
mov ecx, dword [0x4c4560]
add esp, 8
mov byte [esp + 0x24c], 0x10
mov eax, dword [ecx]
call dword [eax]
cmp ax, bx
mov dword [esp + 0x14], 1
jge 0x469749
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
jmp 0x46a525
mov ecx, dword [esp + 0x40]
inc al
push eax
call fcn.00475ce0
jmp 0x46b03a
mov ebp, dword [esp + 0x38]
lea esi, [ebp + 0x18]
mov cl, byte [esp + 0x2b]
sub esp, 0x10
mov edx, esp
mov edi, 0x4c4510
xor eax, eax
mov dword [esp + 0x40], esp
mov byte [edx], cl
or ecx, 0xffffffff
mov dword [edx + 4], ebx
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4c4510
mov ecx, edx
call fcn.0041c100
sub esp, 0x10
lea edx, [esp + 0x4b]
mov ecx, esp
mov dword [esp + 0x74], esp
push edx
push 0x4c4510
mov byte [esp + 0x254], 0x14
call fcn.0041b350
sub esp, 0x10
lea eax, [esp + 0xaa]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
push 0x4bcbe4
mov byte [esp + 0x264], 0x15
call fcn.0041b350
sub esp, 0x10
lea edx, [esp + 0x8f]
mov ecx, esp
mov dword [esp + 0x80], esp
push edx
push 0x4c4510
mov byte [esp + 0x274], 0x16
call fcn.0041b350
sub esp, 0x10
mov byte [esp + 0x27c], 0x17
mov edi, esp
mov dword [esp + 0x88], esp
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push esi
call fcn.00475910
push edi
call fcn.00477540
add esp, 8
push 9
lea ecx, [esp + 0x288]
mov byte [esp + 0x280], 0x18
call fcn.0041b6f0
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x74], esp
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push eax
call fcn.00475910
push edi
call fcn.00477540
add esp, 8
lea eax, [esp + 0x184]
mov ecx, 0x4c45b8
mov byte [esp + 0x28c], 0x10
push eax
call fcn.0047ac60
mov byte [esp + 0x22c], 0x19
mov edx, dword [0x4ad134]
mov cx, word [eax]
push edx
add eax, 4
mov word [esp + 0xa4], cx
push ebx
push eax
lea ecx, [esp + 0xb0]
call fcn.0041b7e0
mov eax, dword [esp + 0x12c]
mov byte [esp + 0x22c], 0x10
cmp eax, ebx
je 0x4698d1
mov cl, byte [eax - 1]
dec eax
cmp cl, bl
je 0x4698c8
cmp cl, 0xff
je 0x4698c8
dec cl
mov byte [eax], cl
jmp 0x4698d1
push eax
call fcn.00498130
add esp, 4
lea ecx, [esp + 0xa0]
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x130], ebx
mov dword [esp + 0x134], ebx
call fcn.00483340
cmp ax, 2
je 0x46a635
lea eax, [esp + 0x104]
lea ecx, [esp + 0xa0]
push eax
call fcn.0047a5f0
mov ecx, dword [0x4ad134]
mov byte [esp + 0x22c], 0x1a
push ecx
push ebx
push eax
lea ecx, [esp + 0x88]
call fcn.0041b7e0
mov eax, dword [esp + 0x108]
mov byte [esp + 0x22c], 0x10
cmp eax, ebx
je 0x46995d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x469954
cmp al, 0xff
je 0x469954
dec al
mov byte [ecx], al
jmp 0x46995d
push ecx
call fcn.00498130
add esp, 4
cmp word [esp + 0x84], 0xc
mov dword [esp + 0x108], ebx
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x110], ebx
jne 0x4699bb
lea edx, [esp + 0x44]
lea eax, [esp + 0x7c]
push edx
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.0041b230
mov ecx, dword [0x4c4560]
call fcn.0042f560
cmp ax, 6
jne 0x4699bb
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [0x4c4560]
call fcn.0042f880
test ax, ax
jne 0x469a2c
push ebx
push 1
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x48], esp
push ecx
mov ecx, esp
mov dword [esp + 0x70], esp
push esi
call fcn.00475910
push edi
call fcn.00477540
add esp, 8
push 0xa
lea ecx, [esp + 0x250]
mov byte [esp + 0x248], 0x1b
call fcn.0041b6f0
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x7c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x80], esp
push eax
call fcn.00475910
push edi
call fcn.00477540
add esp, 8
mov ecx, 0x4c45b8
mov byte [esp + 0x254], 0x10
call fcn.0047a9a0
jmp 0x469761
lea edx, [esp + 0x44]
lea ecx, [ebp + 0x20]
push edx
call fcn.00475a90
mov dword [esp + 0x14], 1
jmp 0x46b03a
mov al, byte [esp + 0x4f]
sub esp, 0x10
mov ebp, esp
mov edi, 0x4c4510
or ecx, 0xffffffff
mov dword [esp + 0x40], esp
mov byte [ebp], al
xor eax, eax
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x24], ecx
push ecx
mov ecx, ebp
call fcn.0041c2e0
test al, al
je 0x469aa4
mov eax, dword [esp + 0x20]
mov edi, dword [ebp + 4]
mov ecx, eax
mov esi, 0x4c4510
mov edx, ecx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.0041c2c0
sub esp, 0x10
lea eax, [esp + 0x92]
mov ecx, esp
mov dword [esp + 0x74], esp
push eax
push 0x4c4510
mov byte [esp + 0x254], 0x1c
call fcn.0041b350
sub esp, 0x10
lea edx, [esp + 0xa3]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
push 0x4bcbe4
mov byte [esp + 0x264], 0x1d
call fcn.0041b350
sub esp, 0x10
lea eax, [esp + 0xbb]
mov ecx, esp
mov dword [esp + 0x80], esp
push eax
push 0x4c4510
mov byte [esp + 0x274], 0x1e
call fcn.0041b350
mov edi, dword [esp + 0x78]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x64], esp
push ecx
lea esi, [edi + 0x18]
mov ecx, esp
mov dword [esp + 0x80], esp
push esi
mov byte [esp + 0x284], 0x1f
call fcn.00475910
push ebp
call fcn.00477540
add esp, 8
push 9
lea ecx, [esp + 0x288]
mov byte [esp + 0x280], 0x20
call fcn.0041b6f0
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x8c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x90], esp
push eax
call fcn.00475910
push ebp
call fcn.00477540
add esp, 8
lea ecx, [esp + 0x198]
mov byte [esp + 0x28c], 0x10
push ecx
mov ecx, 0x4c45b8
call fcn.0047ac60
mov ecx, dword [0x4ad134]
mov dx, word [eax]
push ecx
add eax, 4
push ebx
push eax
lea ecx, [esp + 0xb0]
mov byte [esp + 0x238], 0x21
mov word [esp + 0xac], dx
call fcn.0041b7e0
mov eax, dword [esp + 0x140]
mov byte [esp + 0x22c], 0x10
cmp eax, ebx
je 0x469bf0
mov cl, byte [eax - 1]
dec eax
cmp cl, bl
je 0x469be7
cmp cl, 0xff
je 0x469be7
dec cl
mov byte [eax], cl
jmp 0x469bf0
push eax
call fcn.00498130
add esp, 4
lea ecx, [esp + 0xa0]
mov dword [esp + 0x140], ebx
mov dword [esp + 0x144], ebx
mov dword [esp + 0x148], ebx
call fcn.00483340
cmp ax, 2
je 0x46a635
lea edx, [esp + 0xe4]
lea ecx, [esp + 0xa0]
push edx
call fcn.0047a5f0
mov ecx, dword [0x4ad134]
mov byte [esp + 0x22c], 0x22
push ecx
push ebx
push eax
lea ecx, [esp + 0x88]
call fcn.0041b7e0
mov eax, dword [esp + 0xe8]
mov byte [esp + 0x22c], 0x10
cmp eax, ebx
je 0x469c7c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x469c73
cmp al, 0xff
je 0x469c73
dec al
mov byte [ecx], al
jmp 0x469c7c
push ecx
call fcn.00498130
add esp, 4
cmp word [esp + 0x84], 0xa
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebx
jne 0x469cda
lea edx, [esp + 0x44]
lea eax, [esp + 0x7c]
push edx
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.0041b230
mov ecx, dword [0x4c4560]
call fcn.0042f560
cmp ax, 5
jne 0x469cda
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [0x4c4560]
call fcn.0042f880
test ax, ax
jne 0x469d48
push ebx
push 1
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x44], esp
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push esi
call fcn.00475910
push edi
call fcn.00477540
add esp, 8
push 0xa
lea ecx, [esp + 0x250]
mov byte [esp + 0x248], 0x23
call fcn.0041b6f0
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x58], esp
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
call fcn.00475910
push esi
call fcn.00477540
add esp, 8
mov ecx, 0x4c45b8
mov byte [esp + 0x254], 0x10
call fcn.0047a9a0
jmp case.0x469496.3
lea edx, [esp + 0x44]
lea ecx, [edi + 0x20]
push edx
call fcn.00475a90
mov dword [esp + 0x14], 1
jmp 0x46b03a
mov esi, dword [esp + 0x38]
lea eax, [esp + 0x18]
push eax
push ebx
lea ebp, [esi + 0x20]
mov ecx, ebp
call fcn.00475c70
and eax, 0xff
sub esp, 8
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x240]
fild dword [esp + 0x1c]
fstp qword [esp]
push 2
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.00475910
push 9
lea ecx, [esp + 0x248]
mov byte [esp + 0x240], 0x24
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.00475910
mov ecx, esi
mov byte [esp + 0x240], 0x10
call fcn.0044a0e0
mov edi, 0x4bca14
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [0x4ad134]
sub ecx, edx
cmp ecx, esi
ja 0x469dfc
call fcn.0049813b
cmp esi, ebx
jbe 0x469e49
mov edx, dword [esp + 0x20]
push ebx
lea ecx, [esp + 0x1c]
lea eax, [edx + esi]
push eax
mov dword [esp + 0x18], eax
call fcn.0041c2e0
test al, al
je 0x469e49
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
lea edi, [ecx + eax]
mov ecx, esi
mov edx, ecx
mov esi, 0x4bca14
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x10]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov byte [ecx + eax], bl
mov ecx, 0x32
xor eax, eax
lea edi, [esp + 0x15c]
lea esi, [esp + 0x15c]
rep stosd dword es:[edi], eax
lea edi, [eax + 1]
mov ecx, ebp
push edi
call fcn.00475c70
and eax, 0xff
push eax
push 0x4bc5e0
push esi
call fcn.00498c63
mov eax, edi
add esp, 0xc
add esi, 2
cmp ax, 6
jl 0x469e60
lea edi, [esp + 0x15c]
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 0x469eb2
call fcn.0049813b
cmp esi, ebx
jbe 0x469f00
mov eax, dword [esp + 0x20]
push ebx
add eax, esi
lea ecx, [esp + 0x1c]
push eax
mov dword [esp + 0x18], eax
call fcn.0041c2e0
test al, al
je 0x469f00
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
lea edi, [edx + ecx]
mov ecx, esi
mov eax, ecx
lea esi, [esp + 0x15c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov byte [ecx + eax], bl
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 esi, ecx
cmp eax, esi
ja 0x469f25
call fcn.0049813b
cmp esi, ebx
jbe 0x469f72
mov edx, dword [esp + 0x20]
push ebx
lea ecx, [esp + 0x1c]
lea eax, [edx + esi]
push eax
mov dword [esp + 0x18], eax
call fcn.0041c2e0
test al, al
je 0x469f72
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
lea edi, [ecx + eax]
mov ecx, esi
mov edx, ecx
mov esi, 0x4bca14
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x10]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov byte [ecx + eax], bl
push 0xa
lea ecx, [esp + 0x238]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x30], 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 + 0x22c], 0x25
cmp ecx, esi
jae 0x469fb7
mov esi, ecx
sub eax, dword [esp + 0x20]
cmp eax, esi
ja 0x469fc4
call fcn.0049813b
cmp esi, ebx
jbe 0x46a019
mov eax, dword [esp + 0x20]
push ebx
add eax, esi
lea ecx, [esp + 0x1c]
push eax
mov dword [esp + 0x18], eax
call fcn.0041c2e0
test al, al
je 0x46a019
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x469fed
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
mov eax, dword [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov byte [ecx + eax], bl
mov eax, dword [esp + 0xc8]
mov byte [esp + 0x22c], 0x10
cmp eax, ebx
je 0x46a049
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x46a040
cmp al, 0xff
je 0x46a040
dec al
mov byte [ecx], al
jmp 0x46a049
push ecx
call fcn.00498130
add esp, 4
mov esi, dword [esp + 0x38]
push ebx
push 4
mov dword [esp + 0xd0], ebx
sub esp, 0x10
lea edx, [esi + 0x18]
mov edi, esp
mov dword [esp + 0x44], esp
push ecx
mov dword [esp + 0xe8], ebx
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
mov dword [esp + 0xf0], ebx
call fcn.00475910
push edi
call fcn.00477540
sub esp, 8
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
mov byte [esp + 0x258], 0x26
call fcn.0041b230
mov ecx, 0x4c45b8
mov byte [esp + 0x254], 0x10
call fcn.0047a9a0
cmp ax, 4
jne 0x46a0cb
push ecx
mov dword [esp + 0x18], 1
mov ecx, esp
mov dword [esp + 0x30], esp
jmp 0x46a525
mov ecx, ebp
call fcn.00475d00
cmp ax, 8
jl 0x46a635
mov al, byte [0x4c4567]
mov dword [esp + 0x14], 1
cmp al, 4
jne 0x46b03a
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 2
push 0x4bcca4
call fcn.004759a0
lea ecx, [esp + 0x38]
call fcn.00475ae0
push ebx
mov ecx, ebp
call fcn.00475c70
push eax
lea ecx, [esp + 0x38]
call fcn.00475ce0
push 6
mov ecx, ebp
call fcn.00475c70
push eax
lea ecx, [esp + 0x38]
call fcn.00475ce0
push 1
mov ecx, ebp
call fcn.00475c70
push eax
lea ecx, [esp + 0x38]
call fcn.00475ce0
push 2
mov ecx, ebp
call fcn.00475c70
push eax
lea ecx, [esp + 0x38]
call fcn.00475ce0
push 3
mov ecx, ebp
call fcn.00475c70
push eax
lea ecx, [esp + 0x38]
call fcn.00475ce0
push 4
mov ecx, ebp
call fcn.00475c70
push eax
lea ecx, [esp + 0x38]
call fcn.00475ce0
push 5
mov ecx, ebp
call fcn.00475c70
push eax
lea ecx, [esp + 0x38]
call fcn.00475ce0
push 7
mov ecx, ebp
call fcn.00475c70
push eax
lea ecx, [esp + 0x38]
call fcn.00475ce0
push 0x4c4538
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00475910
mov ecx, esi
jmp 0x46a626
mov esi, dword [esp + 0x38]
lea eax, [esp + 0x18]
push eax
push ebx
lea ebp, [esi + 0x20]
mov ecx, ebp
call fcn.00475c70
and eax, 0xff
sub esp, 8
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x240]
fild dword [esp + 0x1c]
fstp qword [esp]
push 2
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.00475910
push 9
lea ecx, [esp + 0x248]
mov byte [esp + 0x240], 0x27
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.00475910
mov ecx, esi
mov byte [esp + 0x240], 0x10
call fcn.0044a0e0
mov edi, 0x4bca14
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [0x4ad134]
sub ecx, edx
cmp ecx, esi
ja 0x46a25b
call fcn.0049813b
cmp esi, ebx
jbe 0x46a2a8
mov edx, dword [esp + 0x20]
push ebx
lea ecx, [esp + 0x1c]
lea eax, [edx + esi]
push eax
mov dword [esp + 0x18], eax
call fcn.0041c2e0
test al, al
je 0x46a2a8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
lea edi, [ecx + eax]
mov ecx, esi
mov edx, ecx
mov esi, 0x4bca14
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x10]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov byte [ecx + eax], bl
mov ecx, 0x32
xor eax, eax
lea edi, [esp + 0x15c]
lea esi, [esp + 0x15c]
rep stosd dword es:[edi], eax
lea edi, [eax + 1]
mov ecx, ebp
push edi
call fcn.00475c70
and eax, 0xff
push eax
push 0x4bc5e0
push esi
call fcn.00498c63
mov eax, edi
add esp, 0xc
add esi, 2
cmp ax, 5
jl 0x46a2bf
lea edi, [esp + 0x15c]
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 0x46a311
call fcn.0049813b
cmp esi, ebx
jbe 0x46a35f
mov eax, dword [esp + 0x20]
push ebx
add eax, esi
lea ecx, [esp + 0x1c]
push eax
mov dword [esp + 0x18], eax
call fcn.0041c2e0
test al, al
je 0x46a35f
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
lea edi, [edx + ecx]
mov ecx, esi
mov eax, ecx
lea esi, [esp + 0x15c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov byte [ecx + eax], bl
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 esi, ecx
cmp eax, esi
ja 0x46a384
call fcn.0049813b
cmp esi, ebx
jbe 0x46a3d1
mov edx, dword [esp + 0x20]
push ebx
lea ecx, [esp + 0x1c]
lea eax, [edx + esi]
push eax
mov dword [esp + 0x18], eax
call fcn.0041c2e0
test al, al
je 0x46a3d1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
lea edi, [ecx + eax]
mov ecx, esi
mov edx, ecx
mov esi, 0x4bca14
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x10]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov byte [ecx + eax], bl
push 0xa
lea ecx, [esp + 0x238]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00475910
lea edx, [esp + 0xf8]
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 + 0x22c], 0x28
cmp ecx, esi
jae 0x46a416
mov esi, ecx
sub eax, dword [esp + 0x20]
cmp eax, esi
ja 0x46a423
call fcn.0049813b
cmp esi, ebx
jbe 0x46a478
mov eax, dword [esp + 0x20]
push ebx
add eax, esi
lea ecx, [esp + 0x1c]
push eax
mov dword [esp + 0x18], eax
call fcn.0041c2e0
test al, al
je 0x46a478
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x46a44c
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
mov eax, dword [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov byte [ecx + eax], bl
mov eax, dword [esp + 0xf8]
mov byte [esp + 0x22c], 0x10
cmp eax, ebx
je 0x46a4a8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x46a49f
cmp al, 0xff
je 0x46a49f
dec al
mov byte [ecx], al
jmp 0x46a4a8
push ecx
call fcn.00498130
add esp, 4
mov edx, dword [esp + 0x38]
push ebx
push 4
add edx, 0x18
sub esp, 0x10
mov dword [esp + 0x110], ebx
mov esi, esp
mov dword [esp + 0x44], esp
push ecx
mov dword [esp + 0x118], ebx
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
mov dword [esp + 0x120], ebx
call fcn.00475910
push esi
call fcn.00477540
sub esp, 8
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
mov byte [esp + 0x258], 0x29
call fcn.0041b230
mov ecx, 0x4c45b8
mov byte [esp + 0x254], 0x10
call fcn.0047a9a0
cmp ax, 4
jne 0x46a53f
push ecx
mov dword [esp + 0x18], 1
mov ecx, esp
mov dword [esp + 0x30], esp
push 1
push 0x4c4764
call fcn.004759a0
lea ecx, [esp + 0x4c]
call fcn.00475ae0
jmp 0x46b03a
mov ecx, ebp
call fcn.00475d00
cmp ax, 7
jl 0x46a635
mov al, byte [0x4c4567]
mov dword [esp + 0x14], 1
cmp al, 3
jne 0x46b03a
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 2
push 0x4bcca0
call fcn.004759a0
lea ecx, [esp + 0x38]
call fcn.00475ae0
push ebx
mov ecx, ebp
call fcn.00475c70
shl al, 4
add al, 0xf
lea ecx, [esp + 0x34]
push eax
push 1
call fcn.00475c80
push 5
mov ecx, ebp
call fcn.00475c70
push eax
lea ecx, [esp + 0x38]
call fcn.00475ce0
push 1
mov ecx, ebp
call fcn.00475c70
push eax
lea ecx, [esp + 0x38]
call fcn.00475ce0
push 2
mov ecx, ebp
call fcn.00475c70
push eax
lea ecx, [esp + 0x38]
call fcn.00475ce0
push 3
mov ecx, ebp
call fcn.00475c70
push eax
lea ecx, [esp + 0x38]
call fcn.00475ce0
push 4
mov ecx, ebp
call fcn.00475c70
push eax
lea ecx, [esp + 0x38]
call fcn.00475ce0
push 6
mov ecx, ebp
call fcn.00475c70
push eax
lea ecx, [esp + 0x38]
call fcn.00475ce0
push 0x4c4538
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00475910
mov ecx, dword [esp + 0x40]
call fcn.00447c50
cmp ax, 1
je 0x46b03a
mov dword [esp + 0x14], ebx
push ecx
lea eax, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00475910
mov ecx, dword [0x4c4560]
call fcn.0042d870
cmp ax, bx
je 0x46a678
mov dword [esp + 0x14], 1
push ebx
lea ecx, [esp + 0x70]
call fcn.00475c70
mov ecx, dword [esp + 0x50]
push eax
push 7
call fcn.00475c80
lea ecx, [esp + 0x44]
mov byte [esp + 0x22c], 0xf
call fcn.00475a40
mov eax, dword [esp + 0x80]
cmp eax, ebx
je 0x46b07a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x46b071
cmp al, 0xff
je 0x46b071
dec al
mov byte [ecx], al
jmp 0x46b07a
lea eax, [esp + 0x15c]
push 0xc8
push eax
push ebx
mov dword [esp + 0x20], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x15c]
push 0x5c
push ecx
call fcn.00499210
xor edx, edx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x40]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], edx
add esp, 8
mov dword [esp + 0x94], edx
lea ebp, [eax + 0x20]
mov dword [esp + 0x98], edx
push ebx
mov ecx, ebp
mov dword [esp + 0xa0], edx
call fcn.00475c70
and eax, 0xff
mov ecx, esi
push eax
push 6
call fcn.00475c70
and eax, 0xff
mov ecx, esi
push eax
push 5
call fcn.00475c70
and eax, 0xff
mov ecx, esi
push eax
push 4
call fcn.00475c70
and eax, 0xff
mov ecx, esi
push eax
push 3
call fcn.00475c70
and eax, 0xff
mov ecx, esi
push eax
push 2
call fcn.00475c70
and eax, 0xff
lea ecx, [esp + 0xa0]
push eax
push str._02X_02X_02X_02X_02X_02X.dat
push ecx
call fcn.00498c63
lea edi, [esp + 0x17c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xac]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
lea eax, [esp + ecx + 0x180]
push eax
call fcn.00498c63
lea ecx, [esp + 0x184]
push ebx
push ecx
call fcn.004a3e26
add esp, 0x30
test eax, eax
jne 0x46a82b
lea edx, [esp + 0x15c]
push 0x4bcaa4
push edx
call fcn.004990e6
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x46a80c
test byte [esi + 0xc], 0x10
jne 0x46a80c
push esi
push 1
lea eax, [esp + 0x60]
push 1
push eax
call fcn.004990f9
mov ecx, dword [esp + 0x68]
add esp, 0x10
push ecx
mov ecx, ebp
call fcn.00475ce0
mov ecx, ebp
call fcn.00475d00
cmp ax, 7
je 0x46a80c
test byte [esi + 0xc], 0x10
je 0x46a7db
push esi
call fcn.00498f15
add esp, 4
mov ecx, ebp
call fcn.00475d00
cmp ax, 7
jge 0x46b03a
jmp 0x46a635
mov edx, dword [esp + 0x38]
push ebx
push 1
add edx, 0x18
sub esp, 0x10
mov dword [esp + 0x2c], ebx
mov esi, esp
mov dword [esp + 0x44], esp
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call fcn.00475910
push esi
call fcn.00477540
add esp, 8
push 9
lea ecx, [esp + 0x250]
mov byte [esp + 0x248], 0x2a
call fcn.0041b6f0
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x58], esp
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
call fcn.00475910
push esi
call fcn.00477540
add esp, 8
mov ecx, 0x4c45b8
mov byte [esp + 0x254], 0x10
call fcn.0047a9a0
jmp case.default.0x469496
mov al, byte [0x4c4567]
mov dword [esp + 0x14], ebx
cmp al, 3
jne case.default.0x469496
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 2
push 0x4bcc74
call fcn.004759a0
lea ecx, [esp + 0x38]
call fcn.00475ae0
mov esi, dword [esp + 0x38]
push ebx
lea edi, [esi + 0x20]
mov ecx, edi
call fcn.00475c70
shl al, 4
add al, 0xf
lea ecx, [esp + 0x34]
push eax
push 1
call fcn.00475c80
push 0x4c4538
push ecx
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00475910
mov ecx, esi
call fcn.00447c50
cmp ax, 1
jne case.default.0x469496
push ebx
mov ecx, 0x4c4538
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x40]
call fcn.00475ae0
lea ecx, [esp + 0x3c]
call fcn.00475d00
cmp ax, 8
jl case.default.0x469496
push 3
lea ecx, [esp + 0x40]
mov dword [esp + 0x18], 1
call fcn.00475c70
push eax
mov ecx, edi
call fcn.00475ce0
push 4
lea ecx, [esp + 0x40]
call fcn.00475c70
push eax
mov ecx, edi
call fcn.00475ce0
push 5
lea ecx, [esp + 0x40]
call fcn.00475c70
push eax
mov ecx, edi
call fcn.00475ce0
push 6
lea ecx, [esp + 0x40]
call fcn.00475c70
push eax
mov ecx, edi
call fcn.00475ce0
push 2
lea ecx, [esp + 0x40]
call fcn.00475c70
push eax
mov ecx, edi
call fcn.00475ce0
push 7
lea ecx, [esp + 0x40]
call fcn.00475c70
push eax
mov ecx, edi
call fcn.00475ce0
jmp 0x46b03a
mov edi, dword [esp + 0x38]
lea ecx, [esp + 0x18]
push ecx
push ebx
lea ecx, [edi + 0x20]
mov dword [esp + 0x48], ecx
call fcn.00475c70
and eax, 0xff
sub esp, 8
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x240]
fild dword [esp + 0x1c]
fstp qword [esp]
push 2
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.00475910
push 9
lea ecx, [esp + 0x248]
mov byte [esp + 0x240], 0x2b
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.00475910
mov ecx, edi
mov byte [esp + 0x240], 0x10
call fcn.0044a0e0
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 0x46aa67
call fcn.0049813b
cmp edi, ebx
jbe 0x46aafd
mov eax, dword [esp + 0x20]
lea ebp, [eax + edi]
cmp ebp, 0xfffffffd
jbe 0x46aa80
call fcn.0049813b
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x46aaa8
mov al, byte [ecx - 1]
cmp al, bl
je 0x46aaa8
cmp al, 0xff
je 0x46aaa8
cmp ebp, ebx
jne 0x46aac2
dec al
push ebx
mov byte [ecx - 1], al
lea ecx, [esp + 0x1c]
call fcn.0041ba60
jmp 0x46aafd
cmp ebp, ebx
jne 0x46aabc
cmp ecx, ebx
je 0x46aafd
push ebx
lea ecx, [esp + 0x1c]
call fcn.0041c2c0
jmp 0x46aafd
cmp dword [esp + 0x24], ebp
jae 0x46aad0
push ebp
lea ecx, [esp + 0x1c]
call fcn.0041c670
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 + 0x50]
mov dword [esp + 0x20], ebp
mov byte [ecx + ebp], bl
mov ecx, 0x32
xor eax, eax
lea edi, [esp + 0x15c]
lea ebp, [esp + 0x15c]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x40]
lea edi, [eax + 1]
push edi
call fcn.00475c70
and eax, 0xff
push eax
push 0x4bc5e0
push ebp
call fcn.00498c63
mov eax, edi
add esp, 0xc
add ebp, 2
cmp ax, 5
jl 0x46ab14
lea edi, [esp + 0x15c]
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 0x46ab68
call fcn.0049813b
cmp edi, ebx
jbe 0x46ac00
mov eax, dword [esp + 0x20]
lea ebp, [eax + edi]
cmp ebp, 0xfffffffd
jbe 0x46ab81
call fcn.0049813b
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x46aba9
mov al, byte [ecx - 1]
cmp al, bl
je 0x46aba9
cmp al, 0xff
je 0x46aba9
cmp ebp, ebx
jne 0x46abc3
dec al
push ebx
mov byte [ecx - 1], al
lea ecx, [esp + 0x1c]
call fcn.0041ba60
jmp 0x46ac00
cmp ebp, ebx
jne 0x46abbd
cmp ecx, ebx
je 0x46ac00
push ebx
lea ecx, [esp + 0x1c]
call fcn.0041c2c0
jmp 0x46ac00
cmp dword [esp + 0x24], ebp
jae 0x46abcd
push ebp
lea ecx, [esp + 0x1c]
call fcn.0041c670
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
lea esi, [esp + 0x15c]
lea eax, [ecx + edx]
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 + 0x50]
mov dword [esp + 0x20], ebp
mov byte [ecx + ebp], bl
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 edi, ecx
cmp eax, edi
ja 0x46ac25
call fcn.0049813b
cmp edi, ebx
jbe 0x46acba
mov edx, dword [esp + 0x20]
lea ebp, [edx + edi]
cmp ebp, 0xfffffffd
jbe 0x46ac3e
call fcn.0049813b
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x46ac66
mov al, byte [ecx - 1]
cmp al, bl
je 0x46ac66
cmp al, 0xff
je 0x46ac66
cmp ebp, ebx
jne 0x46ac80
dec al
push ebx
mov byte [ecx - 1], al
lea ecx, [esp + 0x1c]
call fcn.0041ba60
jmp 0x46acba
cmp ebp, ebx
jne 0x46ac7a
cmp ecx, ebx
je 0x46acba
push ebx
lea ecx, [esp + 0x1c]
call fcn.0041c2c0
jmp 0x46acba
cmp dword [esp + 0x24], ebp
jae 0x46ac8a
push ebp
lea ecx, [esp + 0x1c]
call fcn.0041c670
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
add eax, ecx
mov ecx, edi
mov edx, ecx
mov esi, 0x4bca14
mov edi, eax
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 + 0x50]
mov dword [esp + 0x20], ebp
mov byte [eax + ebp], bl
push 0xa
lea ecx, [esp + 0x238]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00475910
lea ecx, [esp + 0xd8]
push ecx
call fcn.00477540
add esp, 8
mov dword [esp + 0x10], eax
mov ecx, dword [0x4ad134]
mov eax, dword [eax + 8]
mov edi, ecx
mov byte [esp + 0x22c], 0x2c
cmp eax, edi
jae 0x46ad02
mov edi, eax
sub ecx, dword [esp + 0x20]
cmp ecx, edi
ja 0x46ad0f
call fcn.0049813b
cmp edi, ebx
jbe 0x46adb0
mov edx, dword [esp + 0x20]
lea ebp, [edx + edi]
cmp ebp, 0xfffffffd
jbe 0x46ad28
call fcn.0049813b
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x46ad50
mov al, byte [ecx - 1]
cmp al, bl
je 0x46ad50
cmp al, 0xff
je 0x46ad50
cmp ebp, ebx
jne 0x46ad6a
dec al
push ebx
mov byte [ecx - 1], al
lea ecx, [esp + 0x1c]
call fcn.0041ba60
jmp 0x46adb0
cmp ebp, ebx
jne 0x46ad64
cmp ecx, ebx
je 0x46adb0
push ebx
lea ecx, [esp + 0x1c]
call fcn.0041c2c0
jmp 0x46adb0
cmp dword [esp + 0x24], ebp
jae 0x46ad78
push ebp
lea ecx, [esp + 0x1c]
call fcn.0041c670
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 4]
cmp esi, ebx
jne 0x46ad88
mov esi, 0x4ad138
mov edx, dword [esp + 0x20]
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 + 0x50]
mov dword [esp + 0x20], ebp
mov byte [ecx + ebp], bl
mov eax, dword [esp + 0xd8]
mov byte [esp + 0x22c], 0x10
cmp eax, ebx
je 0x46ade0
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x46add7
cmp al, 0xff
je 0x46add7
dec al
mov byte [ecx], al
jmp 0x46ade0
push ecx
call fcn.00498130
add esp, 4
mov edx, dword [esp + 0x38]
push ebx
push 4
mov dword [esp + 0xe0], ebx
sub esp, 0x10
lea ebp, [edx + 0x18]
mov edi, esp
mov dword [esp + 0x44], esp
push ecx
mov dword [esp + 0xf8], ebx
mov ecx, esp
mov dword [esp + 0x4c], esp
push ebp
mov dword [esp + 0x100], ebx
call fcn.00475910
push edi
call fcn.00477540
sub esp, 8
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
mov byte [esp + 0x258], 0x2d
call fcn.0041b230
mov ecx, 0x4c45b8
mov byte [esp + 0x254], 0x10
call fcn.0047a9a0
cmp ax, 4
je 0x46a635
lea ecx, [esp + 0x15c]
push 0xc8
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x15c]
push 0x5c
push edx
call fcn.00499210
mov byte [eax + 1], bl
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
add esp, 8
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
push ebx
mov dword [esp + 0xa0], eax
call fcn.00475c70
and eax, 0xff
mov ecx, esi
push eax
push 6
call fcn.00475c70
and eax, 0xff
mov ecx, esi
push eax
push 5
call fcn.00475c70
and eax, 0xff
mov ecx, esi
push eax
push 4
call fcn.00475c70
and eax, 0xff
mov ecx, esi
push eax
push 3
call fcn.00475c70
and eax, 0xff
mov ecx, esi
push eax
push 2
call fcn.00475c70
and eax, 0xff
lea ecx, [esp + 0xa0]
push eax
push str._02X_02X_02X_02X_02X_02X.dat
push ecx
call fcn.00498c63
lea edi, [esp + 0x17c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xac]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
lea eax, [esp + ecx + 0x180]
push eax
call fcn.00498c63
lea ecx, [esp + 0x184]
push ebx
push ecx
call fcn.004a3e26
add esp, 0x30
test eax, eax
jne 0x46afcf
push ebx
push 4
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x44], esp
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push ebp
call fcn.00475910
push esi
call fcn.00477540
add esp, 8
push 0xb
lea ecx, [esp + 0x250]
mov byte [esp + 0x248], 0x2e
call fcn.0041b6f0
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x58], esp
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
call fcn.00475910
push esi
call fcn.00477540
add esp, 8
mov ecx, 0x4c45b8
mov byte [esp + 0x254], 0x10
call fcn.0047a9a0
cmp ax, 4
je 0x46a635
lea edx, [esp + 0x15c]
push edx
call fcn.004991e1
add esp, 4
lea eax, [esp + 0x15c]
push 0x4bcaa8
push eax
mov dword [esp + 0x1c], ebx
call fcn.004990e6
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x46b025
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x14], 1
xor eax, eax
lea edi, [eax + 1]
mov ecx, ebp
push edi
call fcn.00475c70
push esi
push 1
lea ecx, [esp + 0x60]
push 1
push ecx
mov byte [esp + 0x68], al
call fcn.00498f6b
mov eax, edi
add esp, 0x10
cmp ax, 6
jl 0x46affc
push esi
call fcn.00498f15
add esp, 4
cmp word [esp + 0x14], 1
jne case.default.0x469496
push ecx
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00475910
mov ecx, dword [0x4c4560]
call fcn.0042d870
cmp ax, bx
je 0x46a678
mov dword [esp + 0x14], 1
push ebx
lea ecx, [esp + 0x4c]
jmp 0x46a667
push ecx
call fcn.00498130
add esp, 4
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x80], ebx
cmp eax, ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
je 0x46b0b7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x46b0ae
cmp al, 0xff
je 0x46b0ae
dec al
mov byte [ecx], al
jmp 0x46b0b7
push ecx
call fcn.00498130
add esp, 4
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x60]
cmp edi, eax
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov esi, eax
je 0x46b116
add edi, 4
mov eax, dword [edi]
cmp eax, ebx
je 0x46b100
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x46b0f7
cmp al, 0xff
je 0x46b0f7
dec al
mov byte [ecx], al
jmp 0x46b100
push ecx
call fcn.00498130
add esp, 4
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
add edi, 0x10
lea ecx, [edi - 4]
cmp ecx, esi
jne 0x46b0dd
mov edi, dword [esp + 0x60]
push edi
call fcn.00498130
mov eax, dword [esp + 0x20]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
je 0x46b150
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x46b147
cmp al, 0xff
je 0x46b147
dec al
mov byte [ecx], al
jmp 0x46b150
push ecx
call fcn.00498130
add esp, 4
lea ecx, [esp + 0xbc]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x22c], 0xa
call fcn.00475a40
push ebx
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x6c]
mov byte [esp + 0x22c], 8
call fcn.00475a40
lea ecx, [esp + 0x48]
mov byte [esp + 0x22c], 7
call fcn.00475a40
lea ecx, [esp + 0x74]
mov byte [esp + 0x22c], 6
call fcn.00475a40
lea ecx, [esp + 0x3c]
mov byte [esp + 0x22c], 5
call fcn.00475a40
lea ecx, [esp + 0x34]
mov byte [esp + 0x22c], 4
call fcn.00475a40
lea ecx, [esp + 0xb4]
mov byte [esp + 0x22c], 3
call fcn.00475a40
lea ecx, [esp + 0xb8]
mov byte [esp + 0x22c], 2
call fcn.00475a40
lea ecx, [esp + 0xc0]
mov byte [esp + 0x22c], 1
call fcn.00475a40
push ebx
call fcn.00498130
mov eax, dword [esp + 0x240]
mov esi, dword [esp + 0x23c]
add esp, 4
cmp esi, eax
mov dword [esp + 0x22c], 0xffffffff
mov edi, eax
je 0x46b247
mov ecx, esi
call fcn.00475a40
add esi, 4
cmp esi, edi
jne 0x46b232
mov esi, dword [esp + 0x238]
push esi
call fcn.00498130
mov ecx, dword [esp + 0x228]
mov ax, word [esp + 0x18]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x220
ret 0x14