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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4cdda4
push eax
mov eax, 0x15ec
mov dword fs:[0], esp
call fcn.004be3a0
push ebx
push ebp
mov ebp, ecx
push esi
xor esi, esi
push edi
cmp dword [ebp + 0x38], esi
je 0x45f04d
mov ecx, 0x502078
call fcn.0042c140
test eax, eax
je 0x45f04d
xor ecx, ecx
cmp word [ebp + 0x28], si
mov dword [esp + 0x14], esi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x94], 1
mov dword [esp + 0x98], 0x20
mov dword [esp + 0x1c], 0x1f
mov dword [esp + 0x28], esi
jbe 0x45f04d
jmp 0x45e13e
mov ecx, dword [esp + 0x50]
cmp word [esp + 0x28], 4
mov edx, dword [esp + 0x14]
jge 0x45f04d
xor esi, esi
cmp dx, 0x100
jae 0x45e189
mov eax, ecx
mov edx, ecx
and eax, 0xffff
add eax, 4
lea eax, [eax + eax*2]
cmp byte [ebp + eax*8], 2
jne 0x45e174
mov esi, 1
jmp 0x45e177
lea edx, [ecx + 1]
inc ecx
test esi, esi
je 0x45e150
mov dword [esp + 0x50], ecx
mov dword [esp + 0x14], edx
jmp 0x45e211
test esi, esi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x14], edx
jne 0x45e211
mov eax, dword [esp + 0x94]
test eax, eax
je 0x45e1b2
mov edx, 0x17f
mov dword [esp + 0x94], esi
mov dword [esp + 0x14], edx
jmp 0x45e1bc
add edx, 0xffff
mov dword [esp + 0x14], edx
xor eax, eax
mov ecx, 0x17f
mov ax, word [ebp + 0x22]
sub ecx, eax
mov eax, edx
and eax, 0xffff
cmp eax, ecx
jle 0x45f04d
lea eax, [eax + eax*2 + 0xc]
cmp byte [ebp + eax*8], 2
je 0x45e1fe
add edx, 0xffff
mov eax, edx
mov dword [esp + 0x14], edx
and eax, 0xffff
cmp eax, ecx
jle 0x45f04d
jmp 0x45e1d8
mov cl, byte [ebp + 0x64]
mov eax, edx
inc cl
and eax, 0xffff
lea eax, [eax + eax*2]
mov byte [ebp + eax*8 + 0x63], cl
mov eax, edx
and eax, 0xffff
mov dword [esp + 0xb4], eax
lea ecx, [eax + eax*2]
mov al, byte [ebp + ecx*8 + 0x70]
mov dl, al
lea ecx, [ebp + ecx*8]
and dl, 7
shr al, 3
movzx bx, byte [ecx + 0x62]
movzx di, al
movzx si, dl
lea eax, [esp + 0xec]
mov dword [esp + 0x20], ecx
push eax
push 0
push esi
push edi
push ebx
mov ecx, ebp
mov dword [esp + 0x104], esi
mov dword [esp + 0xfc], edi
mov dword [esp + 0xa4], ebx
call fcn.0045bee0
lea ecx, [esp + 0x13]
push ecx
push 0x19
push esi
push edi
push ebx
mov ecx, ebp
call fcn.0045bc40
mov al, byte [esp + 0x13]
test al, al
je 0x45e2fe
cmp al, 0xff
je 0x45e2fe
lea edx, [esp + 0x48]
mov ecx, ebp
push edx
push 0
movzx ax, al
push 0
push 0
push eax
call fcn.0045bee0
mov eax, dword [esp + 0x48]
cmp eax, 0xffffffff
je 0x45e2fe
cmp eax, 0x12298086
jne 0x45f033
movzx dx, byte [esp + 0x13]
lea ecx, [esp + 0x48]
push ecx
push 0x10
push 0
push 0
push edx
mov ecx, ebp
call fcn.0045bee0
movzx cx, byte [esp + 0x13]
lea eax, [esp + 0x12]
push eax
push 0x3c
push 0
push 0
push ecx
mov ecx, ebp
call fcn.0045bc40
mov eax, dword [esp + 0x48]
test eax, eax
je 0x45e2fe
mov al, byte [esp + 0x12]
test al, al
je 0x45e2fe
cmp al, 0xff
jne 0x45f033
xor esi, esi
lea ecx, [esp + 0x168]
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], esi
call fcn.0046bef0
mov dl, byte [esp + 0x12]
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x1608], esi
mov byte [esp + 0x34], dl
call fcn.00406ae1
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov eax, dword [0x5021a4]
mov byte [esp + 0x1604], 1
cmp eax, esi
jne 0x45e37d
push 0x4ee65c
lea eax, [esp + 0x600]
push 0x4e92c0
push eax
call dword [0x4d52e8]
add esp, 0xc
lea ecx, [esp + 0x5fc]
push ecx
push 0x556
push 0x4f0af8
mov ecx, 0x501fc0
call fcn.00421fb0
mov eax, dword [0x5021a4]
lea edx, [esp + 0x2f0]
push 0x104
push edx
push 0x1f67
push eax
call dword [0x4d52dc]
cmp eax, esi
je 0x45e3eb
lea edi, [esp + 0x2f0]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x34]
push ebx
call fcn.00406a5c
test al, al
je 0x45e3eb
mov edi, dword [esp + 0x34]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x2f0]
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 + 0x34]
mov dword [esp + 0x38], ebx
xor esi, esi
mov byte [eax + ebx], 0
mov cl, byte [esp + 0x12]
push esi
mov byte [esp + 0x5c], cl
lea ecx, [esp + 0x5c]
call fcn.00406ae1
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov eax, dword [0x5021a4]
mov byte [esp + 0x1604], 2
cmp eax, esi
jne 0x45e44d
push 0x4ee65c
lea edx, [esp + 0xe00]
push 0x4e92c0
push edx
call dword [0x4d52e8]
add esp, 0xc
lea eax, [esp + 0xdfc]
mov ecx, 0x501fc0
push eax
push 0x556
push 0x4f0af8
call fcn.00421fb0
mov edx, dword [0x5021a4]
lea ecx, [esp + 0x3f4]
push 0x104
push ecx
push 0x1c00
push edx
call dword [0x4d52dc]
cmp eax, esi
je 0x45e4ba
lea edi, [esp + 0x3f4]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x5c]
push ebx
call fcn.00406a5c
test al, al
je 0x45e4ba
mov edi, dword [esp + 0x5c]
mov ecx, ebx
mov eax, ecx
lea esi, [esp + 0x3f4]
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 + 0x5c]
mov dword [esp + 0x60], ebx
mov byte [ecx + ebx], 0
mov eax, dword [0x4d58e4]
mov ecx, dword [esp + 0x60]
mov esi, eax
cmp ecx, esi
jae 0x45e4cb
mov esi, ecx
sub eax, dword [esp + 0x38]
cmp eax, esi
ja 0x45e4d8
call fcn.004bcc20
xor edi, edi
cmp esi, edi
jbe 0x45e52a
mov edx, dword [esp + 0x38]
push edi
lea ecx, [esp + 0x34]
lea ebx, [edx + esi]
push ebx
call fcn.00406a5c
test al, al
je 0x45e52a
mov eax, dword [esp + 0x5c]
cmp eax, edi
jne 0x45e501
mov eax, 0x4d58e0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
push ebx
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]
lea ecx, [esp + 0x34]
call fcn.0042aff0
xor edi, edi
lea ecx, [esp + 0x30]
push 1
push ecx
push 0x80000002
lea ecx, [esp + 0x174]
call fcn.0046c0b0
test eax, eax
je 0x45e712
cmp word [esp + 0x14], 0x100
jb 0x45e580
movzx ax, byte [ebp + 0x64]
inc eax
mov esi, dword [esp + 0x20]
mov ecx, eax
and ecx, 0xffff
lea edx, [ecx + ecx*2]
lea ecx, [ebp + edx*8]
mov dl, byte [esi + 0x62]
mov byte [ecx + 0x62], dl
mov byte [ecx + 0x63], al
mov byte [ecx + 0x64], al
mov al, byte [esi + 0x70]
mov byte [ecx + 0x70], al
jmp 0x45e584
mov esi, dword [esp + 0x20]
mov cl, byte [esp + 0x12]
push edi
mov byte [esp + 0xbc], cl
lea ecx, [esp + 0xbc]
call fcn.00406ae1
mov dword [esp + 0xc8], edi
mov dword [esp + 0xcc], edi
movzx ax, byte [esi + 0x63]
lea edx, [esp + 0xb8]
lea ecx, [esp + 0x10c]
push edx
push 0x2000
push edi
push edi
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x161c], 3
call fcn.0045cf10
lea ecx, [esp + 0x194]
mov byte [esp + 0x1604], 4
call fcn.0046bef0
lea edx, [esp + 0xb8]
push edi
push edx
lea ecx, [esp + 0x170]
mov byte [esp + 0x160c], 5
call fcn.004a7bd0
push eax
lea ecx, [esp + 0x1a0]
call fcn.0046c0b0
test eax, eax
je 0x45e646
lea eax, [esp + 0x24]
push edi
push eax
push 0x1f4
lea ecx, [esp + 0x1a0]
call fcn.0046caf0
lea ecx, [esp + 0x18]
push edi
push ecx
push 0x1f5
lea ecx, [esp + 0x1a0]
call fcn.0046caf0
lea ecx, [esp + 0x194]
mov byte [esp + 0x1604], 4
call fcn.0046bf70
mov eax, dword [esp + 0x11c]
cmp eax, edi
je 0x45e675
push eax
call fcn.004bcb64
add esp, 4
mov dword [esp + 0x11c], edi
mov eax, dword [esp + 0x110]
cmp eax, edi
je 0x45e69d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x45e694
cmp al, 0xff
je 0x45e694
dec al
mov byte [ecx], al
jmp 0x45e69d
push ecx
call fcn.004bcb64
add esp, 4
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x110], edi
cmp eax, edi
mov dword [esp + 0x114], edi
mov dword [esp + 0x118], edi
mov byte [esp + 0x1604], 2
je 0x45e6d5
push eax
call fcn.004bcb64
add esp, 4
mov dword [esp + 0xc8], edi
mov eax, dword [esp + 0xbc]
cmp eax, edi
je 0x45e6fd
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x45e6f4
cmp al, 0xff
je 0x45e6f4
dec al
mov byte [ecx], al
jmp 0x45e6fd
push ecx
call fcn.004bcb64
add esp, 4
mov dword [esp + 0xbc], edi
mov dword [esp + 0xc0], edi
mov dword [esp + 0xc4], edi
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], edi
mov dword [esp + 0x4c], 1
lea ecx, [esp + 0x1c0]
call fcn.0046bef0
mov cl, byte [esp + 0x12]
xor esi, esi
mov byte [esp + 0x70], cl
push esi
lea ecx, [esp + 0x74]
mov byte [esp + 0x1608], 6
call fcn.00406ae1
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov eax, dword [0x5021a4]
mov byte [esp + 0x1604], 7
cmp eax, esi
jne 0x45e7b5
push 0x4ee65c
lea edx, [esp + 0xa00]
push 0x4e92c0
push edx
call dword [0x4d52e8]
add esp, 0xc
lea eax, [esp + 0x9fc]
mov ecx, 0x501fc0
push eax
push 0x556
push 0x4f0af8
call fcn.00421fb0
mov edx, dword [0x5021a4]
lea ecx, [esp + 0x1ec]
push 0x104
push ecx
push 0x1f67
push edx
call dword [0x4d52dc]
cmp eax, esi
je 0x45e824
lea edi, [esp + 0x1ec]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x74]
push ebx
call fcn.00406a5c
test al, al
je 0x45e824
mov edi, dword [esp + 0x74]
mov ecx, ebx
mov eax, ecx
lea esi, [esp + 0x1ec]
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 + 0x74]
mov dword [esp + 0x78], ebx
xor esi, esi
mov byte [ecx + ebx], 0
mov dl, byte [esp + 0x12]
push esi
lea ecx, [esp + 0xa0]
mov byte [esp + 0xa0], dl
call fcn.00406ae1
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], esi
mov eax, dword [0x5021a4]
mov byte [esp + 0x1604], 8
cmp eax, esi
jne 0x45e892
push 0x4ee65c
lea eax, [esp + 0x1200]
push 0x4e92c0
push eax
call dword [0x4d52e8]
add esp, 0xc
lea ecx, [esp + 0x11fc]
push ecx
push 0x556
push 0x4f0af8
mov ecx, 0x501fc0
call fcn.00421fb0
mov eax, dword [0x5021a4]
lea edx, [esp + 0x4f8]
push 0x104
push edx
push 0x1c00
push eax
call dword [0x4d52dc]
cmp eax, esi
je 0x45e90a
lea edi, [esp + 0x4f8]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0xa0]
push ebx
call fcn.00406a5c
test al, al
je 0x45e90a
mov edi, dword [esp + 0xa0]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x4f8]
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 + 0xa0]
mov dword [esp + 0xa4], ebx
mov byte [eax + ebx], 0
mov eax, dword [0x4d58e4]
mov ecx, dword [esp + 0xa4]
mov edi, eax
cmp ecx, edi
jae 0x45e91e
mov edi, ecx
sub eax, dword [esp + 0x78]
cmp eax, edi
ja 0x45e92b
call fcn.004bcc20
test edi, edi
jbe 0x45e981
mov ecx, dword [esp + 0x78]
xor esi, esi
push esi
lea ebx, [ecx + edi]
lea ecx, [esp + 0x74]
push ebx
call fcn.00406a5c
test al, al
je 0x45e983
mov eax, dword [esp + 0xa0]
cmp eax, esi
mov esi, 0x4d58e0
je 0x45e959
mov esi, eax
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov ecx, edi
add eax, edx
mov edx, ecx
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 + 0x74]
mov dword [esp + 0x78], ebx
mov byte [eax + ebx], 0
xor esi, esi
lea ecx, [esp + 0x70]
push 1
push ecx
push 0x80000002
lea ecx, [esp + 0x1cc]
call fcn.0046c0b0
mov ebx, dword [esp + 0x14]
test eax, eax
je 0x45eb69
cmp bx, 0x100
jb 0x45e9db
movzx ax, byte [ebp + 0x64]
inc eax
mov edi, dword [esp + 0x20]
mov ecx, eax
and ecx, 0xffff
lea edx, [ecx + ecx*2]
lea ecx, [ebp + edx*8]
mov dl, byte [edi + 0x62]
mov byte [ecx + 0x62], dl
mov byte [ecx + 0x63], al
mov byte [ecx + 0x64], al
mov al, byte [edi + 0x70]
mov byte [ecx + 0x70], al
jmp 0x45e9df
mov edi, dword [esp + 0x20]
mov cl, byte [esp + 0x12]
push esi
mov byte [esp + 0xd4], cl
lea ecx, [esp + 0xd4]
call fcn.00406ae1
mov dword [esp + 0xe0], esi
mov dword [esp + 0xe4], esi
movzx ax, byte [edi + 0x63]
lea edx, [esp + 0xd0]
lea ecx, [esp + 0x124]
push edx
push 0x2000
push esi
push esi
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x161c], 9
call fcn.0045cf10
lea ecx, [esp + 0x13c]
mov byte [esp + 0x1604], 0xa
call fcn.0046bef0
lea edx, [esp + 0xd0]
push esi
push edx
lea ecx, [esp + 0x1c8]
mov byte [esp + 0x160c], 0xb
call fcn.004a7bd0
push eax
lea ecx, [esp + 0x148]
call fcn.0046c0b0
test eax, eax
je 0x45eaa1
lea eax, [esp + 0x24]
push esi
push eax
push 0x1f4
lea ecx, [esp + 0x148]
call fcn.0046caf0
lea ecx, [esp + 0x18]
push esi
push ecx
push 0x1f5
lea ecx, [esp + 0x148]
call fcn.0046caf0
lea ecx, [esp + 0x13c]
mov byte [esp + 0x1604], 0xa
call fcn.0046bf70
mov eax, dword [esp + 0x134]
cmp eax, esi
je 0x45ead0
push eax
call fcn.004bcb64
add esp, 4
mov dword [esp + 0x134], esi
mov ecx, dword [esp + 0x128]
cmp ecx, esi
je 0x45eaf6
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x45eaed
cmp al, 0xff
je 0x45eaed
dec al
mov byte [ecx], al
jmp 0x45eaf6
push ecx
call fcn.004bcb64
add esp, 4
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x128], esi
cmp eax, esi
mov dword [esp + 0x12c], esi
mov dword [esp + 0x130], esi
mov byte [esp + 0x1604], 8
je 0x45eb2e
push eax
call fcn.004bcb64
add esp, 4
mov dword [esp + 0xe0], esi
mov ecx, dword [esp + 0xd4]
cmp ecx, esi
je 0x45eb54
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x45eb4b
cmp al, 0xff
je 0x45eb4b
dec al
mov byte [ecx], al
jmp 0x45eb54
push ecx
call fcn.004bcb64
add esp, 4
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd8], esi
mov dword [esp + 0xdc], esi
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
cmp eax, esi
jne 0x45eb9a
movsx edx, di
push ebx
push 0x4000
mov eax, dword [edx*4 + 0x4d6598]
mov ecx, ebp
push eax
call fcn.004615f0
dec edi
cmp eax, esi
mov dword [esp + 0x18], eax
je 0x45eb75
mov dword [esp + 0x1c], edi
mov esi, dword [esp + 0x2c]
push 0x1000
and esi, 0xffff
push eax
push esi
mov ecx, ebp
call fcn.0045c530
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x54], ebx
jne 0x45ec06
test di, di
jl 0x45ec5c
mov ecx, dword [esp + 0x14]
movsx edx, di
push ecx
push 0x4000
mov eax, dword [edx*4 + 0x4d6598]
mov ecx, ebp
push eax
call fcn.004615f0
dec edi
mov dword [esp + 0x18], eax
test eax, eax
je 0x45ebfa
push 0x1000
push eax
push esi
mov ecx, ebp
call fcn.0045c530
mov ebx, eax
test ebx, ebx
je 0x45ebbc
mov dword [esp + 0x54], ebx
mov dword [esp + 0x1c], edi
test ebx, ebx
mov dword [esp + 0x88], 1
je 0x45ec1c
mov dword [esp + 0x98], edi
mov eax, dword [esp + 0xac]
test eax, eax
je 0x45ec3b
push eax
call fcn.004bcb64
add esp, 4
mov dword [esp + 0xac], 0
mov ecx, dword [esp + 0xa0]
test ecx, ecx
je 0x45ecd8
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x45eccf
cmp al, 0xff
je 0x45eccf
dec al
mov byte [ecx], al
jmp 0x45ecd8
test ebx, ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x1c], edi
jne 0x45ec06
cmp word [esp + 0x2c], bx
je 0x45ec06
mov eax, dword [esp + 0x98]
test ax, ax
je 0x45ec82
dec eax
mov dword [esp + 0x1c], eax
jmp 0x45ec8a
mov dword [esp + 0x1c], 0x1f
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x18], 0
and eax, 0xffff
lea ecx, [eax + eax*2]
movzx ax, byte [ebp + ecx*8 + 0x71]
mov dword [esp + 0x8c], eax
and eax, 0xffff
lea edx, [eax + eax*2]
movzx ax, byte [ebp + edx*8 + 0x62]
mov word [esp + 0x2c], ax
mov eax, dword [esp + 0x4c]
inc eax
mov dword [esp + 0x4c], eax
jmp 0x45ec1c
push ecx
call fcn.004bcb64
add esp, 4
mov eax, dword [esp + 0x80]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], ecx
je 0x45ed0e
push eax
call fcn.004bcb64
add esp, 4
mov dword [esp + 0x80], 0
mov eax, dword [esp + 0x74]
test eax, eax
je 0x45ed33
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x45ed2a
cmp al, 0xff
je 0x45ed2a
dec al
mov byte [ecx], al
jmp 0x45ed33
push ecx
call fcn.004bcb64
add esp, 4
xor esi, esi
lea ecx, [esp + 0x1c0]
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov byte [esp + 0x1604], 2
call fcn.0046bf70
cmp dword [esp + 0x88], esi
je 0x45e737
cmp ebx, esi
jne 0x45ee02
push 0x4f50f4
push 0x501fc0
call fcn.00422030
mov eax, dword [esp + 0x70]
add esp, 8
cmp eax, esi
je 0x45ed91
push eax
call fcn.004bcb64
add esp, 4
mov dword [esp + 0x68], esi
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x45edb6
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x45edad
cmp al, 0xff
je 0x45edad
dec al
mov byte [ecx], al
jmp 0x45edb6
push ecx
call fcn.004bcb64
add esp, 4
mov eax, dword [esp + 0x40]
mov dword [esp + 0x5c], esi
cmp eax, esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
je 0x45edd7
push eax
call fcn.004bcb64
add esp, 4
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x34]
cmp eax, esi
je 0x45f010
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x45f007
cmp al, 0xff
je 0x45f007
dec al
mov byte [ecx], al
jmp 0x45f010
mov ecx, 6
xor eax, eax
lea edi, [esp + 0xf4]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x24]
mov word [esp + 0xf4], cx
cmp eax, ecx
mov dword [esp + 0x100], 0x1000
mov word [esp + 0x104], cx
mov word [esp + 0x106], 0x14
jne 0x45ee5c
mov eax, 0xa
mov dword [esp + 0x24], eax
mov byte [esp + 0x108], al
mov word [esp + 0x10a], 0xffff
movsx eax, word [esp + 0x28]
lea ecx, [eax + eax*8]
lea edx, [eax + ecx*2]
lea ecx, [esp + 0xf4]
push ecx
mov ecx, ebp
lea eax, [eax + edx*4]
lea esi, [ebp + eax*4]
lea edi, [esi + 0x2460]
push edi
call fcn.0045f070
mov dx, word [esp + 0x90]
mov ax, word [esp + 0xe8]
mov cx, word [esp + 0xf0]
mov ebx, dword [esp + 0x20]
mov word [esi + 0x24e4], dx
mov word [esi + 0x24e6], ax
mov eax, dword [esp + 0xec]
mov word [esi + 0x24e8], cx
mov cx, word [esp + 0x4c]
mov word [esi + 0x24cc], ax
shr eax, 0x10
mov word [esi + 0x24ce], ax
mov dl, byte [ebx + 0x63]
mov ax, word [esp + 0x2c]
mov byte [esi + 0x24d6], dl
mov edx, dword [esp + 0x54]
mov word [esi + 0x24ea], ax
mov word [esi + 0x24ec], cx
push edi
mov ecx, ebp
mov dword [esi + 0x2488], edx
call fcn.0045f110
mov edi, eax
mov eax, dword [esi + 0x2488]
push 0x1000
push eax
mov ecx, ebp
call fcn.0045c5a0
cmp di, 0x8706
je 0x45ef8e
cmp word [esp + 0x14], 0x100
jb 0x45ef8e
mov al, byte [ebp + 0x64]
mov edx, dword [esp + 0xb4]
inc al
inc word [ebp + 0x5c]
movzx cx, al
mov byte [ebp + 0x64], al
mov eax, ecx
and eax, 0xffff
lea edx, [edx + edx*2 + 0xc]
mov dl, byte [ebp + edx*8]
lea esi, [eax + eax*2 + 0xc]
lea eax, [eax + eax*2]
mov byte [ebp + esi*8], dl
lea eax, [ebp + eax*8]
mov byte [eax + 0x61], 1
mov dl, byte [ebx + 0x62]
mov byte [eax + 0x62], dl
mov byte [eax + 0x63], cl
mov byte [eax + 0x64], cl
mov dl, byte [ebx + 0x70]
mov byte [eax + 0x70], dl
mov dl, byte [ebx + 0x71]
mov byte [eax + 0x71], dl
mov byte [eax + 0x72], 0
mov byte [eax + 0x5a], cl
mov eax, dword [esp + 0x68]
xor esi, esi
cmp eax, esi
je 0x45efa5
push eax
call fcn.004bcb64
add esp, 4
mov dword [esp + 0x68], esi
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x45efca
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x45efc1
cmp al, 0xff
je 0x45efc1
dec al
mov byte [ecx], al
jmp 0x45efca
push ecx
call fcn.004bcb64
add esp, 4
mov eax, dword [esp + 0x40]
mov dword [esp + 0x5c], esi
cmp eax, esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
je 0x45efeb
push eax
call fcn.004bcb64
add esp, 4
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x34]
cmp eax, esi
je 0x45f010
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x45f007
cmp al, 0xff
je 0x45f007
dec al
mov byte [ecx], al
jmp 0x45f010
push ecx
call fcn.004bcb64
add esp, 4
lea ecx, [esp + 0x168]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1604], 0xffffffff
call fcn.0046bf70
mov eax, dword [esp + 0x28]
xor ecx, ecx
mov cx, word [ebp + 0x28]
inc eax
movsx edx, ax
cmp edx, ecx
mov dword [esp + 0x28], eax
jl 0x45e13a
mov ecx, dword [esp + 0x15fc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x15f8
ret