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

Disassembly:
sub esp, 0x2dc
push ebx
mov ebx, dword [esp + 0x2f4]
push ebp
mov ebp, ecx
mov eax, dword [ebx + 0x448]
push esi
mov dword [ebp + 0x54], eax
mov ecx, dword [ebx + 0x444]
xor eax, eax
mov dword [ebp + 0x58], ecx
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x60], eax
mov edx, dword [ebx + 4]
or esi, 0xffffffff
mov dword [ebp + 0x68], edx
mov ecx, dword [ebx + 8]
mov dword [ebp + 0x6c], ecx
mov edx, dword [ebx + 0xc]
mov dword [ebp + 0x70], edx
mov ecx, dword [ebx + 0x10]
mov dword [ebp + 0x74], ecx
mov dword [ebp + 0x88], esi
mov edx, dword [ebx + 0x440]
mov ecx, 1
mov dword [ebp + 0x8c], edx
mov dword [ebp + 0x90], 0x3e9
mov dword [ebp + 0x94], ecx
mov edx, dword [ebx]
mov dword [ebp + 0x98], edx
mov edx, dword [esp + 0x2f8]
mov dword [ebp + 0x9c], edx
mov edx, dword [ebx + 0x14]
and edx, ecx
push edi
mov dword [ebp + 0xa4], edx
mov edx, dword [ebx + 0x14]
and edx, 2
mov dword [ebp + 0xa8], edx
mov edx, dword [ebx + 0x14]
and edx, 4
mov dword [ebp + 0xac], edx
mov dword [ebp + 0xb0], eax
mov edx, dword [ebx + 0x43c]
mov dword [ebp + 0xb4], edx
mov edx, dword [esp + 0x2f0]
mov dword [ebp + 0xb8], edx
mov edx, dword [ebx + 0x18]
mov dword [ebp + 0xbc], edx
mov edx, dword [ebx + 0x1c]
mov dword [ebp + 0xc0], edx
mov dword [ebp + 0xd4], eax
mov dword [ebp + 0xd8], eax
mov dword [ebp + 0x2e4], eax
mov dword [ebp + 0x2e8], eax
mov edx, dword [ebx + 0x44c]
mov dword [ebp + 0x2ec], edx
mov edx, dword [ebx + 0x450]
mov dword [ebp + 0x2f0], edx
mov dword [ebp + 0x2f4], eax
mov dword [ebp], 0x46fa84
mov edx, dword [ebp + 0xa8]
cmp edx, eax
je 0x462b7d
mov dword [ebp + 0xa4], ecx
mov eax, dword [ebp + 0x2f0]
cmp eax, esi
jne 0x462b7d
push 5
call dword [0x46d1f4]
mov dword [ebp + 0x2f0], eax
mov eax, dword [ebp + 0x2f0]
cmp eax, esi
je 0x462b94
push eax
call dword [0x46d000]
mov dword [ebp + 0x2f4], eax
mov edi, dword [0x46d1f8]
call edi
mov esi, eax
and esi, 0xffff
mov dword [esp + 0x38], esi
call edi
mov edi, eax
push 4
shr edi, 0x10
push esi
push 0x26
mov dword [esp + 0x68], edi
call dword [0x46d078]
push 8
push edi
push 0xc
mov dword [ebp + 0x78], eax
call dword [0x46d078]
push 4
push esi
push 0xd
mov dword [ebp + 0x80], eax
call dword [0x46d078]
mov dword [ebp + 0x7c], eax
mov eax, dword [ebp + 0xa8]
test eax, eax
je 0x462c0e
push 4
push esi
push 6
call dword [0x46d078]
mov ecx, dword [ebp + 0x78]
push 8
add ecx, eax
push edi
push 1
mov dword [ebp + 0x78], ecx
call dword [0x46d078]
add dword [ebp + 0x80], eax
push 8
push edi
push 0xa
call dword [0x46d078]
mov dword [ebp + 0x84], eax
mov eax, dword [ebp + 0x78]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2fc]
and eax, 0xf00
cmp eax, 0x300
ja 0x462c68
je 0x462c5f
test eax, eax
je 0x462c76
cmp eax, 0x100
je 0x462c56
cmp eax, 0x200
jne 0x462c76
mov dword [ebp + 0x64], 3
jmp 0x462c8f
mov dword [ebp + 0x64], 2
jmp 0x462c8f
mov dword [ebp + 0x64], 4
jmp 0x462c8f
cmp eax, 0x400
je 0x462c88
cmp eax, 0x500
je 0x462c7f
mov dword [ebp + 0x64], 1
jmp 0x462c8f
mov dword [ebp + 0x64], 6
jmp 0x462c8f
mov dword [ebp + 0x64], 5
lea edx, [ebp + 0x1e0]
mov ecx, 0x41
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea edi, [ebx + 0x338]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x10000
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x19
lea edi, [ebp + 0x30a]
rep stosd dword es:[edi], eax
call fcn.00465ca3
add esp, 4
mov dword [ebp + 0xd4], eax
test eax, eax
je 0x462cea
mov byte [eax], 0
mov edi, dword [ebp + 0xd4]
mov ecx, 0x4000
xor eax, eax
push 0x10000
rep stosd dword es:[edi], eax
call fcn.00465ca3
add esp, 4
mov dword [ebp + 0xd8], eax
test eax, eax
je 0x462d13
mov byte [eax], 0
mov edi, dword [ebp + 0xd8]
mov ecx, 0x4000
xor eax, eax
rep stosd dword es:[edi], eax
mov esi, dword [ebp + 0xbc]
test esi, esi
mov dword [esp + 0x1c], esi
jne 0x462d3d
push esi
call dword [0x46d13c]
mov esi, eax
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x2f4]
mov edi, dword [0x46d1fc]
test eax, eax
je 0x462d96
mov ecx, eax
push 0xffff
shr ecx, 0x10
jne 0x462d79
mov edx, dword [ebp + 0xd4]
and eax, 0xffff
push edx
push eax
push esi
call edi
test eax, eax
jne 0x462d89
mov eax, dword [ebp + 0xd4]
mov byte [eax], 0
jmp 0x462d89
mov ecx, dword [ebp + 0xd4]
push eax
push ecx
call fcn.00465c09
add esp, 0xc
mov edx, dword [ebp + 0xd4]
mov byte [edx + 0xffff], 0
mov eax, dword [esp + 0x2f8]
test eax, eax
je 0x462de9
mov ecx, eax
push 0xffff
shr ecx, 0x10
jne 0x462dcc
mov edx, dword [ebp + 0xd8]
and eax, 0xffff
push edx
push eax
push esi
call edi
test eax, eax
jne 0x462ddc
mov eax, dword [ebp + 0xd8]
mov byte [eax], 0
jmp 0x462ddc
mov ecx, dword [ebp + 0xd8]
push eax
push ecx
call fcn.00465c09
add esp, 0xc
mov edx, dword [ebp + 0xd8]
mov byte [edx + 0xffff], 0
lea esi, [ebp + 0xdc]
mov ecx, 0x41
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x128]
test eax, eax
je 0x462e1c
push 0x103
push esi
push eax
mov eax, dword [esp + 0x28]
push eax
call dword [0x46d1fc]
test eax, eax
jne 0x462e1c
mov byte [esi], al
cmp byte [esi], 0
jne 0x462e40
mov cl, byte [ebx + 0x12c]
lea eax, [ebx + 0x12c]
test cl, cl
je 0x462e40
push 0x103
push eax
push esi
call fcn.00465c09
add esp, 0xc
lea esi, [ebp + 0x86c]
mov ecx, 0x19
xor eax, eax
mov edi, esi
mov byte [ebp + 0x1df], 0
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x230]
test eax, eax
je 0x462e77
mov ecx, dword [esp + 0x1c]
push 0x63
push esi
push eax
push ecx
call dword [0x46d1fc]
test eax, eax
jne 0x462e77
mov byte [esi], al
cmp byte [esi], 0
jne 0x462e98
mov cl, byte [ebx + 0x234]
lea eax, [ebx + 0x234]
test cl, cl
je 0x462e98
push 0x63
push eax
push esi
call fcn.00465c09
add esp, 0xc
mov ecx, ebp
mov byte [ebp + 0x8cf], 0
call fcn.00464130
mov eax, dword [ebx + 0x454]
test eax, eax
je 0x462ec0
lea edx, [ebx + 0x458]
mov ecx, ebp
push edx
call fcn.00463d50
jmp 0x462ed9
test dword [esp + 0x2fc], 0x20000000
jne 0x462ed9
mov eax, dword [esp + 0x1c]
mov ecx, ebp
push eax
call fcn.004641a0
push 0
push 0
push 0
push 0x4724c8
call dword [0x46d020]
lea ecx, [esp + 0x198]
push 0
push ecx
mov esi, eax
push 0x154
push 0x29
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1a8], 0x154
call dword [0x46d200]
lea edx, [esp + 0x2b0]
push edx
call dword [0x46d004]
push eax
push esi
mov dword [ebp + 0x2e8], eax
call dword [0x46d008]
mov dword [esp + 0x60], eax
lea eax, [ebp + 0x370]
mov dword [esp + 0x18], eax
lea esi, [ebp + 0x3bc]
mov dword [esp + 0x20], 0x13
lea eax, [esp + 0x3c]
mov edi, esi
push eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x24]
push esi
push ecx
call dword [0x46d00c]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
lea eax, [edx + 0x14]
cmp eax, ecx
jg 0x462f79
mov eax, ecx
mov ecx, dword [ebp + 0x68]
test ecx, ecx
je 0x462f83
add eax, dword [ebp + 0x7c]
mov ecx, dword [esp + 0x18]
add esi, 0x64
mov dword [ecx], eax
mov eax, dword [esp + 0x20]
add ecx, 4
dec eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
jne 0x462f4a
mov esi, dword [0x46d204]
push 0
call esi
cdq
sub eax, edx
mov edi, eax
mov eax, dword [ebp + 0xa8]
sar edi, 1
add edi, 0x50
test eax, eax
je 0x462fca
push 0
call esi
cdq
sub eax, edx
mov edi, eax
sar edi, 1
sub edi, 0xa
mov eax, dword [ebp + 0xac]
test eax, eax
je 0x462fea
push 0
call esi
mov ecx, eax
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
mov edi, edx
mov eax, dword [esp + 0x2fc]
and eax, 0xf0
mov dword [esp + 0x18], eax
je 0x463009
push 0xb
call esi
mov ecx, 0xfffffff0
sub ecx, eax
add edi, ecx
push edi
push edi
mov edi, dword [fcn.0046d208]
lea esi, [ebp + 0xc4]
push 0
push 0
push esi
call edi
mov edx, dword [ebp + 0xd4]
mov eax, dword [esp + 0x1c]
push 0xc50
push esi
push 0xffffffffffffffff
push edx
push eax
call dword [0x46d20c]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x1c]
sub eax, ecx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x20], eax
push ecx
push 2
push 0x4724c4
push edx
call dword [0x46d00c]
mov eax, dword [ebp + 0xa8]
mov edx, dword [ebp + 0xcc]
mov ecx, eax
mov dword [esi], 0x10
neg ecx
sbb ecx, ecx
add edx, 0x1c
and ecx, 0x10
mov dword [ebp + 0xcc], edx
add ecx, 0x10
neg eax
sbb eax, eax
mov dword [ebp + 0xc8], ecx
mov ecx, dword [ebp + 0xd0]
and eax, 0x20
add eax, 0x1d
add ecx, eax
mov dword [ebp + 0xd0], ecx
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 4]
lea ecx, [esp + 0x28]
sub edx, eax
mov eax, dword [esi + 8]
add edx, 0x10
push edx
mov edx, dword [esi]
sub eax, edx
add eax, 0x10
push eax
push 0
push 0
push ecx
call edi
mov eax, dword [ebp + 0xa8]
test eax, eax
je 0x4630d1
add dword [esp + 0x30], 0x10
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
sub edx, ecx
cmp edx, 0x46
jge 0x4630e8
mov dword [esp + 0x34], 0x46
xor eax, eax
mov dword [ebp + 0x2f8], 0x90c80880
mov word [ebp + 0x302], ax
mov word [ebp + 0x304], ax
mov word [ebp + 0x300], ax
mov dword [ebp + 0x2fc], eax
mov eax, dword [esp + 0x2fc]
test ah, 0x10
je 0x463125
mov dword [ebp + 0x2f8], 0x90c80882
xor eax, eax
lea edi, [ebp + 4]
push eax
mov ecx, 0x14
push eax
push eax
rep stosd dword es:[edi], eax
push eax
lea eax, [esp + 0x7c]
push eax
call dword [fcn.0046d208]
mov eax, dword [ebp + 0xc0]
test eax, eax
jne 0x463151
push eax
call dword [0x46d13c]
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x463162
xor ecx, ecx
mov cx, word [ebx + 0x20]
push ecx
push eax
jmp 0x4631b1
mov cl, byte [ebx + 0x24]
add ebx, 0x24
test cl, cl
je 0x463170
push ebx
push eax
jmp 0x4631b1
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4631bd
add ecx, 0xfffffff0
mov eax, 0x7f03
cmp ecx, 0x30
ja case.0x46318d.20
xor edx, edx
mov dl, byte [ecx + 0x463aec]
jmp dword [edx*4 + 0x463ad8]
mov eax, 0x7f03
jmp case.0x46318d.20
mov eax, 0x7f01
jmp case.0x46318d.20
mov eax, 0x7f02
jmp case.0x46318d.20
mov eax, 0x7f04
push eax
push 0
call dword [0x46d210]
mov dword [ebp + 0x2e4], eax
mov eax, dword [ebp + 0x2e4]
test eax, eax
je 0x46327a
mov ebx, dword [0x46d204]
push 0xb
call ebx
push 0xc
mov edi, eax
call ebx
mov edx, dword [ebp + 0xa8]
mov ecx, edx
neg ecx
sbb ecx, ecx
and ecx, 0x10
add ecx, 8
lea ebx, [ecx + edi]
add dword [esi], ebx
lea ebx, [ecx + edi]
add dword [ebp + 0xcc], ebx
mov ebx, dword [ebp + 0xcc]
add ebx, 8
test edx, edx
mov dword [esp + 0x30], ebx
je 0x463215
mov edx, ebx
add edx, 0x10
mov dword [esp + 0x30], edx
lea eax, [ecx + eax + 2]
lea edx, [ecx + edi + 2]
push eax
push edx
push ecx
lea eax, [esp + 0x78]
push ecx
push eax
call dword [fcn.0046d208]
lea ecx, [esp + 0x6c]
push 0x474bac
push ecx
push 0x3e8
push 0x82
mov ecx, ebp
call fcn.00464c20
mov eax, dword [ebp + 0xa8]
test eax, eax
je 0x46327a
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x80]
cmp edx, eax
jle 0x46327a
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
sub eax, ecx
mov ecx, dword [esp + 0x70]
mov dword [ebp + 0xc8], ecx
add ecx, eax
mov dword [ebp + 0xd0], ecx
mov ecx, dword [ebp + 0xd4]
mov eax, dword [ebp + 0x90]
push ecx
push esi
lea edx, [eax + 1]
push eax
push 0x82
mov ecx, ebp
mov dword [ebp + 0xa0], eax
mov dword [ebp + 0x90], edx
call fcn.00464c20
mov al, byte [ebp + 0xdc]
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x18], ebx
test al, al
jne 0x4633d1
mov ecx, dword [esp + 0x2fc]
mov eax, ecx
and eax, 0xf
cmp eax, 9
ja case.default.0x4632cf
jmp dword [eax*4 + 0x463b20]
mov ebx, dword [ebp + 0x3a4]
mov edx, dword [ebp + 0x38c]
mov eax, dword [ebp + 0x370]
mov edi, 3
add ebx, edx
jmp 0x463396
mov ebx, dword [ebp + 0x3b0]
mov edx, dword [ebp + 0x378]
mov edi, 3
jmp 0x46338e
mov ebx, dword [ebp + 0x378]
mov eax, dword [ebp + 0x370]
mov edi, 2
jmp 0x463396
mov ebx, dword [ebp + 0x390]
mov edx, dword [ebp + 0x38c]
mov edi, 3
jmp 0x46338e
mov ebx, dword [ebp + 0x39c]
mov edi, 1
jmp case.default.0x4632cf
mov ebx, dword [ebp + 0x39c]
mov edi, 2
jmp 0x463390
mov ebx, dword [ebp + 0x3a4]
mov edi, 2
jmp 0x463390
mov ebx, dword [ebp + 0x3ac]
mov edx, dword [ebp + 0x3a8]
mov edi, 3
jmp 0x46338e
mov ebx, dword [ebp + 0x3b4]
mov eax, dword [ebp + 0x394]
mov edi, 2
jmp 0x463396
mov ebx, dword [ebp + 0x3b4]
mov edx, dword [ebp + 0x394]
mov edi, 3
add ebx, edx
mov eax, dword [ebp + 0x374]
add ebx, eax
test ecx, 0x8000000
je 0x4633ae
test cl, 7
je 0x4633ae
mov edx, dword [ebp + 0x3b8]
add ebx, edx
inc edi
test ecx, 0x10000000
je 0x46347f
test cl, 7
je 0x46347f
mov edx, dword [ebp + 0x398]
add ebx, edx
inc edi
jmp 0x46347f
lea edi, [ebp + 0xdc]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x94]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x4724c0
mov eax, ecx
mov esi, edi
mov edi, edx
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 + 0x98]
xor esi, esi
push ecx
call fcn.00465b5d
mov edx, eax
add esp, 8
test edx, edx
je 0x463476
cmp esi, 4
jge 0x463476
lea eax, [esp + 0x3c]
mov edi, edx
push eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x24]
push edx
push ecx
call dword [0x46d00c]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
lea eax, [edx + 0x14]
cmp eax, ecx
jg 0x46344c
mov eax, ecx
mov ecx, dword [ebp + 0x68]
test ecx, ecx
je 0x463456
add eax, dword [ebp + 0x7c]
mov ecx, dword [esp + 0x18]
push 0x4724c0
add ecx, eax
push 0
mov dword [esp + 0x20], ecx
call fcn.00465b5d
add esp, 8
mov edx, eax
inc esi
test edx, edx
jne 0x463418
mov ecx, dword [esp + 0x2fc]
mov edi, esi
mov eax, ecx
and eax, 0x4000
mov dword [esp + 0x3c], eax
je 0x463495
mov eax, dword [ebp + 0x388]
inc edi
add ebx, eax
mov eax, dword [ebp + 0x54]
test eax, eax
je 0x4634a5
mov eax, dword [ebp + 0x3a0]
inc edi
add ebx, eax
mov eax, ecx
and eax, 0x1000000
mov dword [esp + 0x64], eax
je 0x4634b9
mov eax, dword [ebp + 0x5c]
or al, 1
jmp 0x4634d5
test ecx, 0x2000000
je 0x4634c8
mov eax, dword [ebp + 0x5c]
or al, 2
jmp 0x4634d5
test ecx, 0x4000000
je 0x4634d8
mov eax, dword [ebp + 0x5c]
or al, 4
mov dword [ebp + 0x5c], eax
mov eax, dword [ebp + 0xd0]
mov ecx, dword [esp + 0x78]
cmp eax, ecx
jg 0x4634e8
mov eax, ecx
mov ecx, dword [ebp + 0x2e4]
add eax, 5
test ecx, ecx
mov dword [esp + 0x14], eax
jne 0x463503
mov ecx, dword [ebp + 0x2f4]
test ecx, ecx
je 0x46350a
add eax, 9
mov dword [esp + 0x14], eax
lea ecx, [edi + edi*2]
lea edx, [ebx + ecx*2]
mov ecx, dword [esp + 0x18]
lea esi, [edx + ecx - 6]
mov ecx, dword [ebp + 0x80]
mov edx, eax
add edx, ecx
push edx
push esi
push eax
lea eax, [esp + 0x58]
push 0
push eax
call dword [fcn.0046d208]
cmp dword [ebp + 0x64], edi
jle 0x46353e
mov dword [ebp + 0x64], 1
mov ecx, dword [esp + 0x64]
or eax, 0xffffffff
test ecx, ecx
mov dword [esp + 0x20], eax
je 0x46355f
mov ebx, dword [esp + 0x2fc]
mov eax, 3
mov dword [esp + 0x20], eax
jmp 0x463586
mov ebx, dword [esp + 0x2fc]
test ebx, 0x2000000
je 0x463575
mov eax, 4
jmp 0x463582
test ebx, 0x4000000
je 0x463586
mov eax, 5
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
mov dword [esp + 0x18], 0
je 0x4635a6
mov eax, dword [ebp + eax*4 + 0x370]
mov ecx, dword [ebp + 0x84]
add eax, ecx
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x4c]
add ecx, 0xc
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x54]
sub ecx, edi
mov edi, dword [esp + 0x30]
lea eax, [ecx + 0x20]
cmp edi, eax
jg 0x4635cc
mov edi, eax
mov dword [esp + 0x30], edi
mov edx, dword [esp + 0x28]
mov eax, edi
sub eax, edx
cmp eax, dword [esp + 0x18]
jge 0x4635e5
mov eax, dword [esp + 0x18]
lea edi, [eax + 0x10]
mov dword [esp + 0x30], edi
mov eax, edi
sub eax, ecx
mov ecx, dword [esp + 0x50]
sub eax, edx
mov dword [esp + 0x14], ecx
cdq
sub eax, edx
mov edx, dword [ebp + 0xa4]
sar eax, 1
test edx, edx
mov dword [esp + 0x10], eax
je 0x463611
sub edi, esi
sub edi, 0x10
mov eax, edi
mov dword [esp + 0x10], eax
cmp byte [ebp + 0xdc], 0
lea edx, [ebp + 0xdc]
jne 0x4638b8
mov edx, ebx
and edx, 0xf
cmp edx, 9
ja case.default.0x463632
jmp dword [edx*4 + 0x463b48]
push ecx
push eax
push 1
push 0xb
mov ecx, ebp
call fcn.00463c30
mov ecx, dword [esp + 0x10]
add ecx, eax
mov eax, dword [ebp + 0x5c]
or al, 0x10
mov dword [esp + 0x10], ecx
mov dword [ebp + 0x5c], eax
jmp 0x4639af
push ecx
push eax
push 1
push 0xb
mov ecx, ebp
call fcn.00463c30
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add ecx, eax
push edx
mov dword [esp + 0x14], ecx
push ecx
push 2
push 1
mov ecx, ebp
call fcn.00463c30
mov ecx, dword [esp + 0x10]
add ecx, eax
mov eax, dword [ebp + 0x5c]
or al, 8
mov dword [esp + 0x10], ecx
mov dword [ebp + 0x5c], eax
jmp 0x4639af
push ecx
push eax
push 6
push 0x11
mov ecx, ebp
call fcn.00463c30
mov ecx, dword [esp + 0x10]
add ecx, eax
test ebx, 0x8000000
mov dword [esp + 0x10], ecx
je 0x4636d0
mov eax, dword [esp + 0x14]
push eax
push ecx
push 0x13
push 0x12
mov ecx, ebp
call fcn.00463c30
add dword [esp + 0x10], eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
push 7
push 9
mov ecx, ebp
call fcn.00463c30
mov ecx, dword [esp + 0x10]
add ecx, eax
test ebx, 0x10000000
mov dword [esp + 0x10], ecx
je 0x4639af
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
push 0x14
push 0xa
mov ecx, ebp
call fcn.00463c30
add dword [esp + 0x10], eax
jmp 0x4639af
push ecx
push eax
push 6
push 0x11
mov ecx, ebp
call fcn.00463c30
mov ecx, dword [esp + 0x10]
add ecx, eax
test ebx, 0x8000000
mov dword [esp + 0x10], ecx
je 0x46374d
mov eax, dword [esp + 0x14]
push eax
push ecx
push 0x13
push 0x12
mov ecx, ebp
call fcn.00463c30
add dword [esp + 0x10], eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
push 7
push 9
mov ecx, ebp
call fcn.00463c30
mov ecx, dword [esp + 0x10]
add ecx, eax
test ebx, 0x10000000
mov dword [esp + 0x10], ecx
je 0x46378d
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
push 0x14
push 0xa
mov ecx, ebp
call fcn.00463c30
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
jmp 0x463679
push ecx
push eax
push 3
push 0
mov ecx, ebp
call fcn.00463c30
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add ecx, eax
push edx
push ecx
mov dword [esp + 0x18], ecx
push 4
push 0xd
mov ecx, ebp
call fcn.00463c30
mov ecx, dword [esp + 0x10]
add ecx, eax
mov eax, dword [esp + 0x14]
push eax
push ecx
push 5
mov dword [esp + 0x1c], ecx
push 7
jmp 0x463709
push ecx
push eax
push 4
push 0xd
jmp 0x463663
push ecx
push eax
push 0xb
push 2
mov ecx, ebp
call fcn.00463c30
mov ecx, dword [esp + 0x10]
add ecx, eax
mov eax, dword [esp + 0x14]
push eax
push ecx
push 3
mov dword [esp + 0x1c], ecx
push 0
jmp 0x463709
push ecx
push eax
push 2
push 1
mov ecx, ebp
call fcn.00463c30
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add ecx, eax
push edx
push ecx
mov dword [esp + 0x18], ecx
push 0xa
push 0x10
mov ecx, ebp
call fcn.00463c30
mov ecx, dword [esp + 0x10]
add ecx, eax
mov eax, dword [esp + 0x14]
push eax
push ecx
push 0xb
mov dword [esp + 0x1c], ecx
push 2
jmp 0x46367e
push ecx
push eax
push 0xe
push 0xe
mov ecx, ebp
call fcn.00463c30
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add ecx, eax
push edx
push ecx
push 0xf
mov dword [esp + 0x1c], ecx
push 0xf
jmp 0x463892
push ecx
push eax
push 5
push 7
mov ecx, ebp
call fcn.00463c30
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add ecx, eax
push edx
push ecx
push 0x10
mov dword [esp + 0x1c], ecx
push 8
mov ecx, ebp
call fcn.00463c30
mov ecx, dword [esp + 0x10]
add ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
push eax
jmp 0x463679
push ecx
push eax
push 1
push 0xb
jmp 0x463709
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x95]
mov byte [esp + 0x94], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x103
lea ecx, [esp + 0x98]
push edx
push ecx
stosb byte es:[edi], al
call fcn.00465c09
lea edx, [esp + 0xa0]
push 0x4724c0
push edx
xor esi, esi
call fcn.00465b5d
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x4639af
cmp esi, 4
jge 0x4639af
lea eax, [esp + 0x64]
mov edi, ebx
push eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x24]
push ebx
push ecx
call dword [0x46d00c]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x24]
lea edi, [edx + 0x14]
cmp edi, eax
jg 0x46393f
mov edi, eax
mov eax, dword [ebp + 0x68]
test eax, eax
je 0x463949
add edi, dword [ebp + 0x7c]
mov eax, dword [esp + 0x14]
mov edx, dword [ebp + 0x80]
mov ecx, eax
add ecx, edx
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [edi + ecx]
push edx
push eax
lea eax, [esp + 0x90]
push ecx
push eax
call dword [fcn.0046d208]
lea ecx, [esp + 0x84]
push ebx
lea edx, [esi + 0x17]
push ecx
push edx
push 0x80
mov ecx, ebp
call fcn.00464c20
mov eax, dword [esp + 0x10]
push 0x4724c0
push 0
lea ecx, [eax + edi + 6]
mov dword [esp + 0x18], ecx
call fcn.00465b5d
add esp, 8
mov ebx, eax
inc esi
test ebx, ebx
jne 0x463907
mov eax, dword [esp + 0x3c]
xor edi, edi
cmp eax, edi
je 0x4639d5
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
push 0x12c
push 6
mov ecx, ebp
call fcn.00463c30
add dword [esp + 0x10], eax
cmp dword [ebp + 0x54], edi
je 0x4639f6
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
push 0x12d
push 0xc
mov ecx, ebp
call fcn.00463c30
add dword [esp + 0x10], eax
mov esi, dword [esp + 0x20]
cmp esi, 0xffffffff
je 0x463a4e
mov eax, dword [ebp + 0x84]
mov ecx, dword [esp + 0x18]
push eax
push ecx
push edi
lea edx, [esp + 0x48]
push edi
push edx
call dword [fcn.0046d208]
lea eax, [esi + esi*4]
lea edx, [esp + 0x3c]
lea eax, [eax + eax*4]
lea ecx, [ebp + eax*4 + 0x3bc]
lea eax, [esp + 0x4c]
push ecx
push edx
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x90]
push ecx
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, ebp
call fcn.00463ca0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jl 0x463a61
lea ecx, [eax + 0x10]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x30]
add edx, 0x10
cmp eax, edx
jge 0x463a76
mov eax, edx
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x28]
mov word [ebp + 0x302], di
sub eax, edx
mov word [ebp + 0x304], di
shl eax, 2
cdq
idiv dword [esp + 0x38]
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
mov word [ebp + 0x306], ax
mov eax, ecx
sub eax, edi
shl eax, 3
cdq
idiv dword [esp + 0x5c]
mov word [ebp + 0x308], ax
mov eax, dword [esp + 0x60]
push eax
push esi
call dword [0x46d008]
push esi
call dword [0x46d010]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x2dc
ret 0x14