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

Disassembly:
sub esp, 0x88
mov eax, dword [esp + 0x8c]
push ebx
push ebp
push esi
test eax, eax
push edi
mov dword [esp + 0x14], ecx
je 0x464fe8
mov edx, dword [esp + 0xa0]
mov eax, 1
cmp edx, eax
jl 0x464fe8
cmp dword [esp + 0xa4], eax
jl 0x464fe8
xor ebp, ebp
lea ebx, [ecx + 0x216c]
mov esi, dword [ebx]
test esi, esi
je 0x463fa4
add esi, 0x10
mov edi, 0x32
mov eax, dword [esi]
test eax, eax
je 0x463f83
push eax
call fcn.004ddac0
add esp, 4
mov dword [esi], 0
add esi, 4
dec edi
jne 0x463f74
mov eax, dword [ebx]
inc ebp
add ebx, 4
cmp ebp, 0x1f4
mov dword [eax + 0xc], 0xffffffff
jl 0x463f66
mov eax, dword [esp + 0xa8]
test eax, eax
jne 0x463fd5
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x24], ecx
mov ebx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edx
mov ecx, edx
mov ebp, eax
jmp 0x464052
mov ecx, dword [eax + 4]
mov edx, dword [eax + 0xc]
mov esi, dword [eax]
mov eax, dword [eax + 8]
mov ebp, ecx
mov ebx, edx
test ecx, ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], eax
jge 0x463ffe
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov edi, dword [esp + 0xa4]
cmp ecx, edi
jle 0x46400f
mov ebp, edi
mov dword [esp + 0x1c], ebp
test edx, edx
jge 0x464019
xor ebx, ebx
mov dword [esp + 0x24], ebx
cmp edx, edi
jle 0x464023
mov ebx, edi
mov dword [esp + 0x24], ebx
test esi, esi
jge 0x46402f
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0xa0]
cmp esi, ecx
jle 0x46403e
mov dword [esp + 0x18], ecx
test eax, eax
jge 0x46404a
mov dword [esp + 0x20], 0
cmp eax, ecx
jle 0x464052
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0xac]
test eax, eax
jge 0x464068
mov dword [esp + 0xac], 0
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x46419c
cmp ebp, ebx
jge 0x46419c
mov eax, ebp
lea edi, [ecx + ecx]
imul eax, ecx
mov ecx, dword [esp + 0x18]
mov edx, ebx
mov ebx, dword [esp + 0x14]
add eax, ecx
mov ecx, dword [esp + 0x9c]
sub edx, ebp
lea esi, [ecx + eax*2]
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
cmp ebp, ecx
mov eax, esi
jge 0x4640bc
sub ecx, ebp
mov bp, word [ebx + 0x14]
mov word [eax], bp
add eax, 2
dec ecx
jne 0x4640af
add esi, edi
dec edx
jne 0x46409f
mov ebp, dword [esp + 0x1c]
call fcn.004cc250
test eax, eax
jne 0x4640e0
call fcn.004cc8c0
call fcn.004cc250
test eax, eax
je 0x464fe8
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x464fe8
mov dl, byte [0xcc9324]
mov esi, dword [ebx + 4]
neg dl
sbb edx, edx
mov ecx, dword [ebx + 0xc]
and edx, 0x8000
mov edi, dword [esp + 0x18]
add edx, 0x7fff
add ecx, edi
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x20]
sub edx, esi
mov esi, dword [ebx]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0xac]
sub esi, edx
mov dword [esp + 0x50], ecx
add esi, ebp
mov ebp, ecx
xor ecx, ecx
mov dword [esp + 0x8c], esi
cmp eax, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x30], ecx
jle 0x464fc5
mov ecx, dword [ebx + 0x28]
mov eax, dword [esp + 0x30]
test ch, 4
je 0x464167
test eax, eax
jg 0x464fc5
mov eax, dword [ebx + eax*4 + 0x22c]
test dword [eax + 8], 0x10000
je 0x4641f3
mov eax, dword [eax + 0xc]
mov ecx, dword [ebx + 0x18]
test eax, eax
mov dword [esp + 0x44], ecx
jl 0x4641fa
mov edx, dword [ebx + eax*4 + 0x216c]
mov al, byte [edx + 9]
test al, al
je 0x4641a5
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x44], eax
jmp 0x4641fa
mov ebx, dword [esp + 0x14]
jmp 0x4640c5
xor edi, edi
mov esi, 0xc7f180
cmp edi, dword [0xc7f950]
jge 0x4641fa
mov ecx, dword [esp + 0x30]
mov edx, dword [ebx + ecx*4 + 0x22c]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebx + eax*4 + 0x216c]
mov eax, dword [esi]
mov edx, dword [ecx + 4]
push edx
push eax
call fcn.004caf40
add esp, 8
test eax, eax
je 0x4641ea
add esi, 4
inc edi
cmp esi, 0xc7f950
jl 0x4641ac
jmp 0x4641fa
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x44], ecx
jmp 0x4641fa
mov edx, dword [eax + 4]
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x44]
test eax, eax
jge 0x464209
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x44], eax
mov esi, dword [esp + 0x30]
sar eax, 1
and eax, 0x3def
test esi, esi
mov dword [esp + 0x94], eax
je 0x464224
call fcn.004cc820
mov eax, dword [ebx + esi*4 + 0x22c]
mov ecx, dword [eax + 8]
push ecx
call fcn.004cc7a0
mov eax, dword [ebx + 0x28]
add esp, 4
test ah, 1
je 0x4642bb
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + ebx*4 + 0x22c]
mov esi, dword [eax + 8]
call fcn.004cc820
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x14]
sub edi, eax
push edi
push esi
push ebx
call fcn.00465000
push esi
mov bl, al
call fcn.004cc7a0
add esp, 4
test bl, bl
jne 0x4642bb
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + ebx*4 + 0x22c]
test byte [edx + 8], 4
je 0x4642aa
call fcn.004cc820
mov ecx, dword [esp + 0x14]
and esi, 0xfffffffb
push edi
push esi
push ebx
call fcn.00465000
test al, al
jne 0x4642b2
jmp 0x4642af
call fcn.004cc820
or esi, 2
push esi
call fcn.004cc7a0
add esp, 4
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], 0
mov eax, dword [esi + eax*4 + 0x22c]
mov dword [esp + 0x64], ecx
lea edx, [ecx + 0x12]
mov dword [esp + 0x60], ebp
mov edi, dword [eax]
mov eax, dword [eax + 0xc]
test eax, eax
mov dword [esp + 0x7c], edi
mov dword [esp + 0x6c], edx
jl 0x46430c
mov eax, dword [esi + eax*4 + 0x216c]
mov edx, dword [eax + 0xc]
test edx, edx
jge 0x46430c
mov edx, dword [esp + 0xac]
add ecx, edx
mov dword [eax + 0xc], ecx
cmp word [edi], 0
je 0x464ea7
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0x40]
jmp 0x464348
mov edi, dword [esp + 0x7c]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0xb4]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0xb0]
inc eax
cmp ecx, edx
mov dword [esp + 0x40], eax
jge 0x46435b
cmp eax, ecx
jle 0x464359
cmp eax, edx
jle 0x464365
cmp ecx, edx
jle 0x46436c
cmp eax, ecx
jg 0x46436c
cmp eax, edx
jle 0x46436c
mov byte [esp + 0x2b], 1
jmp 0x464371
mov byte [esp + 0x2b], 0
mov eax, dword [esp + 0x2c]
cmp word [edi + eax*2], 0xa
mov al, byte [esi + 0x28]
jne 0x46458e
test al, 1
jne 0x464e94
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov eax, dword [ecx + edx*4 + 0x22c]
mov eax, dword [eax + 0xc]
test eax, eax
jl 0x4643f4
cmp ebp, dword [esp + 0x60]
jle 0x4643f4
mov edi, dword [ecx + eax*4 + 0x216c]
xor esi, esi
lea eax, [edi + 0x10]
cmp dword [eax], 0
je 0x4643c3
inc esi
add eax, 4
cmp esi, 0x32
jl 0x4643b3
jmp 0x4643f4
push 0x10
call fcn.004ddf8e
mov ecx, dword [esp + 0x68]
mov dword [edi + esi*4 + 0x10], eax
mov dword [eax + 4], ecx
mov edx, dword [edi + esi*4 + 0x10]
mov eax, dword [esp + 0x70]
add esp, 4
mov dword [edx + 0xc], eax
mov ecx, dword [edi + esi*4 + 0x10]
mov eax, dword [esp + 0x60]
mov dword [ecx + 8], ebp
mov edx, dword [edi + esi*4 + 0x10]
mov dword [edx], eax
mov al, byte [esp + 0x2b]
test al, al
je 0x4644a2
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
cmp eax, ecx
jge 0x464517
cmp ebp, dword [esp + 0x20]
jge 0x464517
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
lea ebp, [edx + 0x12]
cmp ebp, eax
jl 0x464517
mov edi, edx
cmp edi, ebp
jge 0x464517
mov edx, dword [esp + 0x38]
mov esi, edi
imul esi, dword [esp + 0xa0]
lea ebx, [edx + 8]
cmp edx, ebx
jge 0x464492
cmp edi, dword [esp + 0x1c]
jl 0x464489
cmp edi, dword [esp + 0x24]
jge 0x464489
cmp edx, dword [esp + 0x18]
jl 0x464489
cmp edx, dword [esp + 0x20]
jge 0x464489
mov ecx, dword [esp + 0x9c]
lea eax, [esi + edx]
lea ecx, [ecx + eax*2]
mov ax, word [ecx]
test ax, ax
je 0x464484
not eax
and eax, dword [esp + 0x4c]
mov word [ecx], ax
jmp 0x464489
mov word [ecx], 1
inc edx
cmp edx, ebx
jl 0x46444c
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0xa0]
inc edi
add esi, ecx
cmp edi, ebp
jl 0x464448
jmp 0x464517
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0xb0]
dec edx
cmp eax, edx
jne 0x464517
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jge 0x464517
cmp ebp, dword [esp + 0x20]
jge 0x464517
mov ecx, dword [esp + 0x1c]
lea esi, [eax + 0x12]
cmp esi, ecx
jl 0x464517
cmp eax, esi
jge 0x464517
mov ecx, dword [esp + 0xa0]
mov edi, dword [esp + 0x9c]
lea edx, [ecx + ecx]
mov ecx, eax
imul ecx, dword [esp + 0xa0]
add ecx, ebp
lea ecx, [edi + ecx*2]
cmp eax, dword [esp + 0x1c]
jl 0x464510
cmp eax, dword [esp + 0x24]
jge 0x464510
cmp ebp, dword [esp + 0x18]
jl 0x464510
mov di, word [ecx]
not di
and edi, ebx
mov word [ecx], di
inc eax
add ecx, edx
cmp eax, esi
jl 0x4644f3
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
inc ecx
cmp eax, 1
mov dword [esp + 0x2c], ecx
je 0x46452e
add dword [esp + 0x10], 0x12
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
mov edx, dword [ebp + edi*4 + 0x22c]
mov esi, dword [edx + 8]
call fcn.004cc820
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x2c]
sub eax, ebx
push eax
push ecx
push edi
mov ecx, ebp
call fcn.00465370
mov ebp, eax
push esi
add ebp, ebx
mov dword [esp + 0x3c], ebp
call fcn.004cc7a0
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x64], eax
add eax, 0x12
mov dword [esp + 0x6c], eax
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], 0
jmp 0x464e90
test al, 0x10
mov eax, dword [esp + 0x5c]
je 0x4645f2
test eax, eax
je 0x4645ad
inc eax
cmp eax, 3
mov dword [esp + 0x5c], eax
jle 0x4645f2
inc dword [esp + 0x2c]
jmp 0x464e94
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + edi*4 + 0x22c]
mov esi, dword [eax + 8]
call fcn.004cc820
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x18]
push edi
call fcn.00465180
push esi
mov edi, eax
call fcn.004cc7a0
mov eax, dword [esp + 0x4c]
add edi, ebp
add esp, 4
cmp edi, eax
jl 0x464617
mov dword [esp + 0x5c], 1
jmp 0x4645f6
test eax, eax
je 0x464617
lea edx, [esp + 0x88]
lea eax, [esp + 0x34]
push edx
lea ecx, [esp + 0x94]
push eax
lea edx, [esp + 0x80]
push ecx
push edx
push 0x2e
jmp 0x464644
lea eax, [esp + 0x88]
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x84]
push eax
mov ax, word [ecx + edx*2]
push eax
call fcn.004cc9e0
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x40]
add esp, 0x14
test eax, eax
je 0x464717
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x464723
mov ecx, dword [esp + 0x7c]
mov dx, word [ecx + eax*2]
mov ax, word [ecx + eax*2 - 2]
push edx
push eax
call fcn.004cb1c0
add esp, 8
test al, al
je 0x464717
mov ecx, dword [esp + 0x14]
test byte [ecx + 0x28], 0x19
jne 0x464717
mov edi, dword [esp + 0x30]
mov edx, ecx
mov eax, dword [edx + edi*4 + 0x22c]
mov esi, dword [eax + 8]
call fcn.004cc820
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x18]
push edi
call fcn.00465260
push esi
mov edi, eax
call fcn.004cc7a0
mov eax, dword [esp + 0x4c]
add edi, ebp
add esp, 4
cmp edi, eax
jl 0x464717
mov ebp, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx + ebp*4 + 0x22c]
add ecx, 0x12
mov dword [esp + 0x10], ecx
mov esi, dword [eax + 8]
call fcn.004cc820
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
sub ecx, edi
push ecx
mov ecx, dword [esp + 0x18]
push edx
push ebp
call fcn.00465370
mov ebp, eax
push esi
add ebp, edi
call fcn.004cc7a0
add esp, 4
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x464b41
mov eax, dword [esp + 0x34]
test eax, eax
je 0x464b29
mov eax, dword [esp + 0x14]
test byte [eax + 0x28], 0x19
jne 0x46498c
mov esi, dword [esp + 0x30]
mov ecx, eax
mov edx, dword [ecx + esi*4 + 0x22c]
mov edi, dword [edx + 8]
call fcn.004cc820
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
inc eax
push eax
push esi
mov dword [esp + 0x7c], eax
call fcn.00465260
mov esi, eax
mov eax, dword [esp + 0x34]
push edi
add esi, eax
call fcn.004cc7a0
mov eax, dword [esp + 0x4c]
add esi, ebp
add esp, 4
cmp esi, eax
jl 0x46498c
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov eax, dword [ecx + edx*4 + 0x22c]
mov eax, dword [eax + 0xc]
test eax, eax
jl 0x4647ee
cmp ebp, dword [esp + 0x60]
jle 0x4647ee
mov edi, dword [ecx + eax*4 + 0x216c]
xor esi, esi
lea eax, [edi + 0x10]
cmp dword [eax], 0
je 0x4647bd
inc esi
add eax, 4
cmp esi, 0x32
jl 0x4647ad
jmp 0x4647ee
push 0x10
call fcn.004ddf8e
mov ecx, dword [esp + 0x68]
mov dword [edi + esi*4 + 0x10], eax
mov dword [eax + 4], ecx
mov edx, dword [edi + esi*4 + 0x10]
mov eax, dword [esp + 0x70]
add esp, 4
mov dword [edx + 0xc], eax
mov ecx, dword [edi + esi*4 + 0x10]
mov eax, dword [esp + 0x60]
mov dword [ecx + 8], ebp
mov edx, dword [edi + esi*4 + 0x10]
mov dword [edx], eax
mov al, byte [esp + 0x2b]
test al, al
je 0x4648a4
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
cmp eax, ecx
jge 0x46491f
cmp ebp, dword [esp + 0x20]
jge 0x46491f
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
lea eax, [edx + 0x12]
cmp eax, ecx
jl 0x46491f
mov edi, edx
cmp edi, eax
jge 0x46491f
mov esi, edx
imul esi, dword [esp + 0xa0]
mov eax, dword [esp + 0x34]
mov edx, ebp
add eax, ebp
cmp ebp, eax
jge 0x46488d
cmp edi, dword [esp + 0x1c]
jl 0x464882
cmp edi, dword [esp + 0x24]
jge 0x464882
cmp edx, dword [esp + 0x18]
jl 0x464882
cmp edx, dword [esp + 0x20]
jge 0x464882
mov eax, dword [esp + 0x9c]
lea ecx, [edx + esi]
lea ecx, [eax + ecx*2]
mov ax, word [ecx]
test ax, ax
je 0x46487d
not eax
and eax, ebx
mov word [ecx], ax
jmp 0x464882
mov word [ecx], 1
mov ecx, dword [esp + 0x34]
inc edx
add ecx, ebp
cmp edx, ecx
jl 0x464847
mov edx, dword [esp + 0xa0]
inc edi
add esi, edx
mov edx, dword [esp + 0x10]
lea eax, [edx + 0x12]
cmp edi, eax
jl 0x46483b
jmp 0x46491f
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xb0]
dec eax
cmp ecx, eax
jne 0x46491f
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
cmp eax, ecx
jge 0x46491f
cmp ebp, dword [esp + 0x20]
jge 0x46491f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
lea esi, [edx + 0x12]
cmp esi, eax
jl 0x46491f
mov eax, edx
cmp eax, esi
jge 0x46491f
mov ecx, dword [esp + 0xa0]
mov edi, dword [esp + 0x9c]
lea edx, [ecx + ecx]
mov ecx, eax
imul ecx, dword [esp + 0xa0]
add ecx, ebp
lea ecx, [edi + ecx*2]
cmp eax, dword [esp + 0x1c]
jl 0x464918
cmp eax, dword [esp + 0x24]
jge 0x464918
cmp ebp, dword [esp + 0x18]
jl 0x464918
mov di, word [ecx]
not di
and edi, ebx
mov word [ecx], di
inc eax
add ecx, edx
cmp eax, esi
jl 0x4648fb
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x74]
mov ecx, dword [eax + ebp*4 + 0x22c]
add edi, 0x12
mov dword [esp + 0x2c], edx
mov dword [esp + 0x10], edi
mov esi, dword [ecx + 8]
call fcn.004cc820
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x2c]
sub edx, ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push ebp
call fcn.00465370
mov edx, dword [esp + 0x50]
mov ebp, eax
add ebp, edx
push esi
mov dword [esp + 0x3c], ebp
call fcn.004cc7a0
add esp, 4
mov dword [esp + 0x64], edi
add edi, 0x12
mov dword [esp + 0x60], ebp
mov dword [esp + 0x6c], edi
jmp 0x464e94
call fcn.004cc8b0
mov edx, dword [esp + 0x10]
test al, al
je 0x464a01
cmp edx, dword [esp + 0x24]
jge 0x464a01
cmp ebp, dword [esp + 0x20]
jge 0x464a01
mov eax, dword [esp + 0x1c]
lea ecx, [edx + 0x12]
cmp ecx, eax
jl 0x464a01
mov esi, dword [esp + 0x34]
lea ecx, [edx + 0xe]
add esi, ebp
mov eax, ebp
cmp ebp, esi
jge 0x464a01
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x9c]
cmp ecx, dword [esp + 0x1c]
jl 0x4649f2
cmp ecx, dword [esp + 0x24]
jge 0x4649f2
cmp eax, dword [esp + 0x18]
jl 0x4649f2
cmp eax, dword [esp + 0x20]
jge 0x4649f2
mov edi, ecx
imul edi, dword [esp + 0xa0]
add edi, eax
mov word [esi + edi*2], dx
mov edi, dword [esp + 0x34]
inc eax
add edi, ebp
cmp eax, edi
jl 0x4649ca
mov edx, dword [esp + 0x10]
mov al, byte [esp + 0x2b]
test al, al
je 0x464ab1
cmp edx, dword [esp + 0x24]
jge 0x464b29
cmp ebp, dword [esp + 0x20]
jge 0x464b29
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
lea eax, [edx + 0x12]
cmp eax, ecx
jl 0x464b29
mov edi, edx
cmp edi, eax
jge 0x464b29
mov esi, edx
imul esi, dword [esp + 0xa0]
mov eax, dword [esp + 0x34]
mov edx, ebp
add eax, ebp
cmp ebp, eax
jge 0x464a9a
cmp edi, dword [esp + 0x1c]
jl 0x464a8f
cmp edi, dword [esp + 0x24]
jge 0x464a8f
cmp edx, dword [esp + 0x18]
jl 0x464a8f
cmp edx, dword [esp + 0x20]
jge 0x464a8f
mov eax, dword [esp + 0x9c]
lea ecx, [esi + edx]
lea ecx, [eax + ecx*2]
mov ax, word [ecx]
test ax, ax
je 0x464a8a
not eax
and eax, ebx
mov word [ecx], ax
jmp 0x464a8f
mov word [ecx], 1
mov ecx, dword [esp + 0x34]
inc edx
add ecx, ebp
cmp edx, ecx
jl 0x464a54
mov edx, dword [esp + 0xa0]
inc edi
add esi, edx
mov edx, dword [esp + 0x10]
lea eax, [edx + 0x12]
cmp edi, eax
jl 0x464a48
jmp 0x464b29
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xb0]
dec eax
cmp ecx, eax
jne 0x464b29
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
cmp eax, ecx
jge 0x464b29
cmp ebp, dword [esp + 0x20]
jge 0x464b29
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
lea esi, [ecx + 0x12]
cmp esi, eax
jl 0x464b29
cmp ecx, esi
jge 0x464b29
mov eax, ecx
mov edx, dword [esp + 0xa0]
imul eax, dword [esp + 0xa0]
mov edi, dword [esp + 0x9c]
add edx, edx
add eax, ebp
lea eax, [edi + eax*2]
cmp ecx, dword [esp + 0x1c]
jl 0x464b22
cmp ecx, dword [esp + 0x24]
jge 0x464b22
cmp ebp, dword [esp + 0x18]
jl 0x464b22
mov di, word [eax]
not di
and edi, ebx
mov word [eax], di
inc ecx
add eax, edx
cmp ecx, esi
jl 0x464b05
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
add ebp, ecx
inc eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x2c], eax
jmp 0x464e94
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x90]
mov ebx, dword [esp + 0x10]
lea edi, [eax + ebp]
add ecx, ebx
lea esi, [eax + edx + 1]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x74], edi
mov dword [esp + 0x54], esi
call fcn.004cc240
test al, al
je 0x464b77
dec esi
mov dword [esp + 0x54], esi
call fcn.004cc8a0
test al, al
je 0x464b85
inc esi
mov dword [esp + 0x54], esi
call fcn.004cc890
test al, al
je 0x464b93
inc esi
mov dword [esp + 0x54], esi
call fcn.004cc8b0
test al, al
je 0x464bf1
mov eax, dword [esp + 0x78]
lea ecx, [esi + eax]
add ecx, ebp
cmp edi, ecx
jge 0x464bed
mov edx, dword [esp + 0x44]
lea ecx, [esi + ebp]
mov esi, dword [esp + 0x9c]
lea eax, [ebx + 0xe]
cmp eax, dword [esp + 0x1c]
jl 0x464be2
cmp eax, dword [esp + 0x24]
jge 0x464be2
cmp edi, dword [esp + 0x18]
jl 0x464be2
cmp edi, dword [esp + 0x20]
jge 0x464be2
mov ebx, eax
imul ebx, dword [esp + 0xa0]
add ebx, edi
mov word [esi + ebx*2], dx
mov ebx, dword [esp + 0x78]
inc edi
add ebx, ecx
cmp edi, ebx
jl 0x464bba
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x88]
test eax, eax
mov dword [esp + 0x70], eax
jle 0x464d51
mov eax, dword [esp + 0x58]
imul eax, dword [esp + 0xa0]
mov dword [esp + 0x84], eax
call fcn.004cc890
test al, al
je 0x464c2e
mov edx, dword [esp + 0x70]
lea eax, [edx - 1]
cdq
sub eax, edx
sar eax, 1
add edi, eax
call fcn.004cc240
mov byte [esp + 0x3f], al
mov eax, dword [esp + 0x34]
xor ebx, ebx
test eax, eax
jle 0x464d1c
lea eax, [edi + 1]
mov dword [esp + 0x80], eax
mov eax, ebx
and eax, 7
jne 0x464c6d
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x88]
cmp ecx, edx
jne 0x464c69
test ebx, ebx
je 0x464c6d
inc dword [esp + 0x38]
mov ecx, 7
mov edx, 1
sub ecx, eax
mov eax, dword [esp + 0x38]
shl edx, cl
mov cl, byte [eax]
test cl, dl
je 0x464cff
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x58]
cmp eax, edx
jl 0x464cff
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x58]
cmp ecx, eax
jge 0x464cff
cmp edi, dword [esp + 0x18]
jl 0x464cff
cmp edi, dword [esp + 0x20]
jge 0x464cff
mov cl, byte [esp + 0x3f]
mov eax, dword [esp + 0x44]
test cl, cl
je 0x464cc1
mov eax, dword [esp + 0x94]
mov byte [esp + 0x3f], 0
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x9c]
lea esi, [ecx + edi]
mov word [edx + esi*2], ax
call fcn.004cc8a0
test al, al
je 0x464cff
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x80]
cmp ecx, eax
jge 0x464cff
mov edx, dword [esp + 0x9c]
mov cx, word [esp + 0x44]
mov word [edx + esi*2 + 2], cx
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x34]
inc edi
inc edx
inc ebx
mov dword [esp + 0x80], edx
cmp ebx, eax
jl 0x464c4f
mov eax, dword [esp + 0xa0]
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x74]
add esi, eax
mov eax, dword [esp + 0x70]
inc ebx
dec eax
test eax, eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x84], esi
mov dword [esp + 0x70], eax
jg 0x464c17
mov al, byte [esp + 0x2b]
test al, al
je 0x464e07
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
cmp eax, ecx
jge 0x464e7d
cmp ebp, dword [esp + 0x20]
jge 0x464e7d
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
lea eax, [edx + 0x12]
cmp eax, ecx
jl 0x464e7d
mov edi, edx
lea eax, [edi + 0x12]
cmp edi, eax
jge 0x464e7d
mov eax, dword [esp + 0x54]
mov esi, edx
imul esi, dword [esp + 0xa0]
lea ebx, [eax + ebp]
cmp ebp, ebx
mov edx, ebp
jge 0x464df0
cmp edi, dword [esp + 0x1c]
jl 0x464deb
cmp edi, dword [esp + 0x24]
jge 0x464deb
cmp edx, dword [esp + 0x18]
jl 0x464deb
cmp edx, dword [esp + 0x20]
jge 0x464deb
mov eax, dword [esp + 0x9c]
lea ecx, [esi + edx]
lea ecx, [eax + ecx*2]
mov ax, word [ecx]
test ax, ax
je 0x464de6
not eax
and eax, dword [esp + 0x4c]
mov word [ecx], ax
jmp 0x464deb
mov word [ecx], 1
inc edx
cmp edx, ebx
jl 0x464dae
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xa0]
inc edi
add esi, edx
lea eax, [ecx + 0x12]
cmp edi, eax
jl 0x464da8
jmp 0x464e7d
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0xb0]
dec edx
cmp eax, edx
jne 0x464e7d
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jge 0x464e7d
cmp ebp, dword [esp + 0x20]
jge 0x464e7d
mov eax, ecx
mov ecx, dword [esp + 0x1c]
lea esi, [eax + 0x12]
cmp esi, ecx
jl 0x464e7d
cmp eax, esi
jge 0x464e7d
mov ecx, dword [esp + 0xa0]
mov edi, eax
imul edi, ecx
lea edx, [ecx + ecx]
mov ecx, dword [esp + 0x9c]
add edi, ebp
lea ecx, [ecx + edi*2]
mov edi, dword [esp + 0x4c]
cmp eax, dword [esp + 0x1c]
jl 0x464e76
cmp eax, dword [esp + 0x24]
jge 0x464e76
cmp ebp, dword [esp + 0x18]
jl 0x464e76
mov bx, word [ecx]
not bx
and ebx, edi
mov word [ecx], bx
inc eax
add ecx, edx
cmp eax, esi
jl 0x464e59
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x2c]
add ebp, ecx
inc eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x2c], eax
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x2c]
cmp word [edx + eax*2], 0
jne 0x46432e
mov edx, dword [esp + 0x20]
mov ebx, ebp
cmp ebp, edx
jle 0x464eb3
mov ebx, edx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov eax, dword [ecx + eax*4 + 0x22c]
mov eax, dword [eax + 0xc]
test eax, eax
jl 0x464f20
cmp ebx, dword [esp + 0x60]
jle 0x464f20
mov edi, dword [ecx + eax*4 + 0x216c]
xor esi, esi
lea eax, [edi + 0x10]
cmp dword [eax], 0
je 0x464eeb
inc esi
add eax, 4
cmp esi, 0x32
jl 0x464edb
jmp 0x464f20
push 0x10
call fcn.004ddf8e
mov ecx, dword [esp + 0x68]
mov dword [edi + esi*4 + 0x10], eax
mov dword [eax + 4], ecx
mov edx, dword [edi + esi*4 + 0x10]
mov eax, dword [esp + 0x70]
add esp, 4
mov dword [edx + 0xc], eax
mov ecx, dword [edi + esi*4 + 0x10]
mov eax, dword [esp + 0x60]
mov dword [ecx + 8], ebx
mov edx, dword [edi + esi*4 + 0x10]
mov dword [edx], eax
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0x40]
cmp ecx, eax
je 0x464f37
test eax, eax
jne 0x464fa4
test ecx, ecx
jne 0x464fa4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
mov dword [esp + 0xb0], 0xffffffff
jge 0x464fa4
cmp ebp, edx
jge 0x464fa4
mov ecx, dword [esp + 0x1c]
lea esi, [eax + 0x12]
cmp esi, ecx
jl 0x464fa4
cmp eax, esi
jge 0x464fa4
mov ecx, dword [esp + 0xa0]
mov edi, eax
imul edi, ecx
lea edx, [ecx + ecx]
mov ecx, dword [esp + 0x9c]
add edi, ebp
lea ecx, [ecx + edi*2]
cmp eax, dword [esp + 0x1c]
jl 0x464f9d
cmp eax, dword [esp + 0x24]
jge 0x464f9d
cmp ebp, dword [esp + 0x18]
jl 0x464f9d
mov di, word [ecx]
mov ebx, dword [esp + 0x4c]
not di
and edi, ebx
mov word [ecx], di
inc eax
add ecx, edx
cmp eax, esi
jl 0x464f7c
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x8c]
inc eax
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x30], eax
cmp eax, ecx
mov ebx, edx
jl 0x464153
call fcn.004cc820
mov eax, dword [ebx + 8]
mov ecx, dword [ebx]
sub eax, esi
pop edi
add eax, ecx
mov ecx, dword [esp + 0xc]
pop esi
pop ebp
lea eax, [eax + ecx + 0x12]
pop ebx
add esp, 0x88
ret 0x20
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x88
ret 0x20