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

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [esp + 0x34]
push ebp
push esi
xor eax, eax
push edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jmp 0x46cd30
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
nop
mov dl, byte [ecx + eax + 0x22]
test dl, dl
je 0x46cde0
mov eax, dword [ecx + eax*4 + 0x18]
mov edx, dword [eax + 0xc]
mov esi, dword [eax + 8]
mov edx, dword [ecx + edx*4 + 4]
mov esi, dword [ecx + esi*4 + 4]
mov eax, dword [eax + 4]
mov ecx, dword [ecx + eax*4 + 4]
mov eax, dword [ebx + 0x2c]
cmp eax, 0xffffffff
mov edx, dword [edx + 0x78]
mov ecx, dword [ecx + 0x78]
mov ebp, dword [esi + 0x78]
mov dword [esp + 0x40], edx
mov dword [esp + 0x1c], ecx
jne 0x46cd7f
cmp ecx, ebp
jge 0x46cd77
mov dword [ebx + 0x2c], ecx
jmp 0x46cd9f
mov dword [ebx + 0x2c], ebp
mov dword [ebx + 0x30], ecx
jmp 0x46cda2
cmp ecx, eax
jge 0x46cd88
mov dword [ebx + 0x2c], ecx
jmp 0x46cd90
cmp ecx, dword [ebx + 0x30]
jle 0x46cd90
mov dword [ebx + 0x30], ecx
cmp ebp, dword [ebx + 0x2c]
jge 0x46cd9a
mov dword [ebx + 0x2c], ebp
jmp 0x46cda2
cmp ebp, dword [ebx + 0x30]
jle 0x46cda2
mov dword [ebx + 0x30], ebp
cmp edx, dword [ebx + 0x2c]
jge 0x46cdac
mov dword [ebx + 0x2c], edx
jmp 0x46cdb4
cmp edx, dword [ebx + 0x30]
jle 0x46cdb4
mov dword [ebx + 0x30], edx
mov esi, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x20]
lea edi, [ebx + 0x14]
lea eax, [esi + 1]
mov dword [edi + 8], eax
shr eax, 0xc
inc eax
cmp eax, edx
je 0x46d1c1
push eax
mov ecx, edi
call fcn.00435130
mov ecx, dword [esp + 0x1c]
jmp 0x46d1c1
mov al, byte [ecx + 0x70]
test al, al
je 0x46d708
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
test eax, eax
lea eax, [esi + 0x74]
je 0x46ce00
lea eax, [esi + 0xcc]
fld dword [eax + 0x1c]
mov ebp, dword [esp + 0x3c]
fadd dword [ebp + 0x41c]
mov dword [esp + 0x18], eax
fstp dword [esp + 0x28]
fld dword [eax + 0x20]
lea eax, [esp + 0x28]
fadd dword [ebp + 0x420]
push eax
fstp dword [esp + 0x30]
call fcn.0042d8f0
mov edx, eax
mov eax, dword [ebp + 0x408]
add esp, 4
test eax, eax
mov dword [esp + 0x1c], edx
je 0x46ce8a
mov ecx, dword [ebp + 0x410]
mov eax, dword [ebp + 0x418]
and ecx, edx
mov ecx, dword [eax + ecx*4]
test ecx, ecx
je 0x46ce8a
mov al, byte [ecx + 0x10]
test al, al
jne 0x46ce8a
cmp dword [ecx + 0xc], edx
jne 0x46ce83
fld dword [esp + 0x28]
fld dword [ecx]
fucompp
fnstsw ax
test ah, 0x44
jp 0x46ce83
fld dword [esp + 0x2c]
fld dword [ecx + 4]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x46cf2d
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x46ce54
mov eax, dword [ebp + 0x370]
mov ecx, dword [ebp + 0x374]
lea edi, [ebp + 0x368]
mov dword [esp + 0x40], eax
inc eax
mov dword [edi + 8], eax
shr eax, 0xc
inc eax
cmp eax, ecx
je 0x46ceb4
push eax
mov ecx, edi
call fcn.00435130
mov edx, dword [esp + 0x40]
mov esi, dword [edi + 0x14]
mov eax, edx
and eax, 0xfff
imul eax, dword [edi + 4]
mov ecx, edx
shr ecx, 0xc
mov edi, dword [esi + ecx*4]
mov esi, dword [esp + 0x18]
add eax, edi
mov edi, eax
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x20], ecx
push edx
fld dword [ebp + 0x424]
mov edx, dword [esp + 0x20]
fadd dword [eax + 0x24]
push edx
lea ecx, [ebp + 0x408]
fstp dword [eax + 0x24]
fld dword [ebp + 0x428]
fadd dword [eax + 0x28]
fstp dword [eax + 0x28]
lea eax, [esp + 0x30]
push eax
call fcn.0046c100
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x46cf36
add esi, 0xa0
jmp 0x46cf3c
mov ecx, dword [ecx + 8]
mov dword [esp + 0x40], ecx
jmp 0x46cf1d
add esi, 0xf8
fld dword [esi + 0x1c]
lea ecx, [esp + 0x30]
fadd dword [ebp + 0x41c]
push ecx
fstp dword [esp + 0x34]
fld dword [esi + 0x20]
fadd dword [ebp + 0x420]
fstp dword [esp + 0x38]
call fcn.0042d8f0
add ebp, 0x408
mov edx, eax
mov eax, dword [ebp]
add esp, 4
test eax, eax
mov dword [esp + 0x1c], edx
je 0x46cfbb
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
and eax, edx
mov ecx, dword [ecx + eax*4]
test ecx, ecx
je 0x46cfbb
mov al, byte [ecx + 0x10]
test al, al
jne 0x46cfbb
cmp dword [ecx + 0xc], edx
jne 0x46cfb4
fld dword [esp + 0x30]
fld dword [ecx]
fucompp
fnstsw ax
test ah, 0x44
jp 0x46cfb4
fld dword [esp + 0x34]
fld dword [ecx + 4]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x46d0a5
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x46cf85
mov edi, dword [esp + 0x3c]
mov ebp, dword [edi + 0x370]
mov ecx, dword [edi + 0x374]
add edi, 0x368
lea eax, [ebp + 1]
mov dword [edi + 8], eax
shr eax, 0xc
inc eax
cmp eax, ecx
je 0x46cfe7
push eax
mov ecx, edi
call fcn.00435130
mov ecx, dword [edi + 0x14]
mov eax, ebp
and eax, 0xfff
imul eax, dword [edi + 4]
mov edx, ebp
shr edx, 0xc
add eax, dword [ecx + edx*4]
mov edi, eax
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x1c], ecx
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x20], edx
push ebp
fld dword [ecx + 0x424]
lea edx, [esp + 0x34]
fadd dword [eax + 0x24]
add ecx, 0x408
fstp dword [eax + 0x24]
fld dword [ecx + 0x20]
fadd dword [eax + 0x28]
fstp dword [eax + 0x28]
mov eax, dword [esp + 0x20]
push eax
push edx
call fcn.0046c100
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov eax, dword [ecx + eax*4 + 0x18]
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ecx + edx*4 + 4]
mov esi, dword [ecx + esi*4 + 4]
mov ecx, dword [ecx + eax*4 + 4]
mov al, byte [edx + 0x74]
test al, al
mov al, byte [esi + 0x74]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], ecx
je 0x46d3fc
test al, al
je 0x46d1f8
mov eax, dword [edx + 0x78]
mov edx, dword [ebx + 0x2c]
cmp edx, 0xffffffff
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], eax
jne 0x46d0b2
cmp eax, ecx
jge 0x46d0aa
mov dword [ebx + 0x2c], eax
jmp 0x46d0d2
mov ebp, dword [ecx + 8]
jmp 0x46d043
mov dword [ebx + 0x2c], ecx
mov dword [ebx + 0x30], eax
jmp 0x46d0d5
cmp eax, edx
jge 0x46d0bb
mov dword [ebx + 0x2c], eax
jmp 0x46d0c3
cmp eax, dword [ebx + 0x30]
jle 0x46d0c3
mov dword [ebx + 0x30], eax
cmp ecx, dword [ebx + 0x2c]
jge 0x46d0cd
mov dword [ebx + 0x2c], ecx
jmp 0x46d0d5
cmp ecx, dword [ebx + 0x30]
jle 0x46d0d5
mov dword [ebx + 0x30], ecx
cmp ebp, dword [ebx + 0x2c]
jge 0x46d0df
mov dword [ebx + 0x2c], ebp
jmp 0x46d0e7
cmp ebp, dword [ebx + 0x30]
jle 0x46d0e7
mov dword [ebx + 0x30], ebp
mov esi, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x20]
lea edi, [ebx + 0x14]
lea eax, [esi + 1]
mov dword [edi + 8], eax
shr eax, 0xc
inc eax
cmp eax, edx
je 0x46d10a
push eax
mov ecx, edi
call fcn.00435130
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x14]
mov edx, esi
and esi, 0xfff
imul esi, dword [edi + 4]
shr edx, 0xc
add esi, dword [eax + edx*4]
mov al, byte [ebx + 0x3c]
test al, al
je 0x46d138
mov dx, word [esp + 0x18]
mov word [esi], dx
mov word [esi + 2], cx
mov word [esi + 4], bp
jmp 0x46d144
mov eax, dword [esp + 0x18]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], ebp
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x2c]
cmp eax, 0xffffffff
mov ecx, dword [ecx + 0x78]
mov dword [esp + 0x20], ecx
jne 0x46d168
cmp ecx, ebp
jge 0x46d160
mov dword [ebx + 0x2c], ecx
jmp 0x46d188
mov dword [ebx + 0x2c], ebp
mov dword [ebx + 0x30], ecx
jmp 0x46d18b
cmp ecx, eax
jge 0x46d171
mov dword [ebx + 0x2c], ecx
jmp 0x46d179
cmp ecx, dword [ebx + 0x30]
jle 0x46d179
mov dword [ebx + 0x30], ecx
cmp ebp, dword [ebx + 0x2c]
jge 0x46d183
mov dword [ebx + 0x2c], ebp
jmp 0x46d18b
cmp ebp, dword [ebx + 0x30]
jle 0x46d18b
mov dword [ebx + 0x30], ebp
mov eax, dword [esp + 0x40]
cmp eax, dword [ebx + 0x2c]
jge 0x46d199
mov dword [ebx + 0x2c], eax
jmp 0x46d1a1
cmp eax, dword [ebx + 0x30]
jle 0x46d1a1
mov dword [ebx + 0x30], eax
mov esi, dword [edi + 8]
lea eax, [esi + 1]
mov dword [edi + 8], eax
mov edx, dword [edi + 0xc]
shr eax, 0xc
inc eax
cmp eax, edx
je 0x46d1c1
push eax
mov ecx, edi
call fcn.00435130
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x14]
mov edx, esi
and esi, 0xfff
imul esi, dword [edi + 4]
shr edx, 0xc
mov edi, dword [eax + edx*4]
mov al, byte [ebx + 0x3c]
add esi, edi
test al, al
je 0x46d32d
mov word [esi], cx
mov cx, word [esp + 0x40]
mov word [esi + 2], bp
mov word [esi + 4], cx
jmp 0x46d708
mov al, byte [ecx + 0x74]
test al, al
mov eax, dword [ebx + 0x2c]
je 0x46d33e
cmp eax, 0xffffffff
mov ecx, dword [edx + 0x78]
mov dword [esp + 0x20], ecx
jne 0x46d227
mov eax, dword [esp + 0x40]
cmp ecx, eax
jge 0x46d21f
mov dword [ebx + 0x2c], ecx
jmp 0x46d24b
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], ecx
jmp 0x46d24e
cmp ecx, eax
jge 0x46d230
mov dword [ebx + 0x2c], ecx
jmp 0x46d238
cmp ecx, dword [ebx + 0x30]
jle 0x46d238
mov dword [ebx + 0x30], ecx
mov eax, dword [esp + 0x40]
cmp eax, dword [ebx + 0x2c]
jge 0x46d246
mov dword [ebx + 0x2c], eax
jmp 0x46d24e
cmp eax, dword [ebx + 0x30]
jle 0x46d24e
mov dword [ebx + 0x30], eax
cmp ebp, dword [ebx + 0x2c]
jge 0x46d258
mov dword [ebx + 0x2c], ebp
jmp 0x46d260
cmp ebp, dword [ebx + 0x30]
jle 0x46d260
mov dword [ebx + 0x30], ebp
mov esi, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x20]
lea edi, [ebx + 0x14]
lea eax, [esi + 1]
mov dword [edi + 8], eax
shr eax, 0xc
inc eax
cmp eax, edx
je 0x46d283
push eax
mov ecx, edi
call fcn.00435130
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 0x14]
mov eax, esi
and esi, 0xfff
imul esi, dword [edi + 4]
shr eax, 0xc
add esi, dword [edx + eax*4]
mov al, byte [ebx + 0x3c]
test al, al
je 0x46d2b1
mov ax, word [esp + 0x40]
mov word [esi], cx
mov word [esi + 2], ax
mov word [esi + 4], bp
jmp 0x46d2bd
mov dword [esi], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 4], ecx
mov dword [esi + 8], ebp
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x78]
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x2c]
cmp eax, 0xffffffff
mov edx, dword [edx + 0x78]
mov dword [esp + 0x40], edx
mov dword [esp + 0x20], ecx
jne 0x46d2ec
cmp ecx, ebp
jge 0x46d2e4
mov dword [ebx + 0x2c], ecx
jmp 0x46d30c
mov dword [ebx + 0x2c], ebp
mov dword [ebx + 0x30], ecx
jmp 0x46d30f
cmp ecx, eax
jge 0x46d2f5
mov dword [ebx + 0x2c], ecx
jmp 0x46d2fd
cmp ecx, dword [ebx + 0x30]
jle 0x46d2fd
mov dword [ebx + 0x30], ecx
cmp ebp, dword [ebx + 0x2c]
jge 0x46d307
mov dword [ebx + 0x2c], ebp
jmp 0x46d30f
cmp ebp, dword [ebx + 0x30]
jle 0x46d30f
mov dword [ebx + 0x30], ebp
cmp edx, dword [ebx + 0x2c]
jge 0x46d31c
mov dword [ebx + 0x2c], edx
jmp 0x46d1a1
cmp edx, dword [ebx + 0x30]
jle 0x46d1a1
mov dword [ebx + 0x30], edx
jmp 0x46d1a1
mov edx, dword [esp + 0x40]
mov dword [esi], ecx
mov dword [esi + 4], ebp
mov dword [esi + 8], edx
jmp 0x46d708
cmp eax, 0xffffffff
mov edx, dword [edx + 0x78]
mov dword [esp + 0x20], edx
jne 0x46d35f
mov eax, dword [esp + 0x40]
cmp edx, eax
jge 0x46d357
mov dword [ebx + 0x2c], edx
jmp 0x46d383
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], edx
jmp 0x46d386
cmp edx, eax
jge 0x46d368
mov dword [ebx + 0x2c], edx
jmp 0x46d370
cmp edx, dword [ebx + 0x30]
jle 0x46d370
mov dword [ebx + 0x30], edx
mov eax, dword [esp + 0x40]
cmp eax, dword [ebx + 0x2c]
jge 0x46d37e
mov dword [ebx + 0x2c], eax
jmp 0x46d386
cmp eax, dword [ebx + 0x30]
jle 0x46d386
mov dword [ebx + 0x30], eax
cmp ebp, dword [ebx + 0x2c]
jge 0x46d390
mov dword [ebx + 0x2c], ebp
jmp 0x46d398
cmp ebp, dword [ebx + 0x30]
jle 0x46d398
mov dword [ebx + 0x30], ebp
mov esi, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
lea edi, [ebx + 0x14]
lea eax, [esi + 1]
mov dword [edi + 8], eax
shr eax, 0xc
inc eax
cmp eax, ecx
je 0x46d3bb
push eax
mov ecx, edi
call fcn.00435130
mov edx, dword [esp + 0x20]
mov ecx, dword [edi + 0x14]
mov eax, esi
and esi, 0xfff
imul esi, dword [edi + 4]
shr eax, 0xc
mov edi, dword [ecx + eax*4]
mov al, byte [ebx + 0x3c]
add esi, edi
test al, al
je 0x46d3ee
mov word [esi], dx
mov dx, word [esp + 0x40]
mov word [esi + 2], dx
mov word [esi + 4], bp
jmp 0x46d708
mov eax, dword [esp + 0x40]
mov dword [esi], edx
mov dword [esi + 4], eax
jmp 0x46d705
test al, al
mov al, byte [ecx + 0x74]
je 0x46d644
mov ecx, dword [esi + 0x78]
test al, al
mov eax, dword [ebx + 0x2c]
je 0x46d58a
cmp eax, 0xffffffff
mov dword [esp + 0x20], ecx
jne 0x46d42f
cmp ecx, ebp
jge 0x46d427
mov dword [ebx + 0x2c], ecx
jmp 0x46d44f
mov dword [ebx + 0x2c], ebp
mov dword [ebx + 0x30], ecx
jmp 0x46d452
cmp ecx, eax
jge 0x46d438
mov dword [ebx + 0x2c], ecx
jmp 0x46d440
cmp ecx, dword [ebx + 0x30]
jle 0x46d440
mov dword [ebx + 0x30], ecx
cmp ebp, dword [ebx + 0x2c]
jge 0x46d44a
mov dword [ebx + 0x2c], ebp
jmp 0x46d452
cmp ebp, dword [ebx + 0x30]
jle 0x46d452
mov dword [ebx + 0x30], ebp
mov eax, dword [esp + 0x40]
cmp eax, dword [ebx + 0x2c]
jge 0x46d460
mov dword [ebx + 0x2c], eax
jmp 0x46d468
cmp eax, dword [ebx + 0x30]
jle 0x46d468
mov dword [ebx + 0x30], eax
mov esi, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x20]
lea edi, [ebx + 0x14]
lea eax, [esi + 1]
mov dword [edi + 8], eax
shr eax, 0xc
inc eax
cmp eax, edx
je 0x46d48b
push eax
mov ecx, edi
call fcn.00435130
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x14]
mov edx, esi
and esi, 0xfff
imul esi, dword [edi + 4]
shr edx, 0xc
add esi, dword [eax + edx*4]
mov al, byte [ebx + 0x3c]
test al, al
je 0x46d4b9
mov word [esi], cx
mov cx, word [esp + 0x40]
mov word [esi + 2], bp
mov word [esi + 4], cx
jmp 0x46d4c5
mov edx, dword [esp + 0x40]
mov dword [esi], ecx
mov dword [esi + 4], ebp
mov dword [esi + 8], edx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov ecx, dword [eax + 0x78]
mov eax, dword [edx + 0x78]
mov edx, dword [ebx + 0x2c]
cmp edx, 0xffffffff
mov dword [esp + 0x20], ecx
mov dword [esp + 0x40], eax
jne 0x46d4f4
cmp eax, ecx
jge 0x46d4ec
mov dword [ebx + 0x2c], eax
jmp 0x46d514
mov dword [ebx + 0x2c], ecx
mov dword [ebx + 0x30], eax
jmp 0x46d517
cmp eax, edx
jge 0x46d4fd
mov dword [ebx + 0x2c], eax
jmp 0x46d505
cmp eax, dword [ebx + 0x30]
jle 0x46d505
mov dword [ebx + 0x30], eax
cmp ecx, dword [ebx + 0x2c]
jge 0x46d50f
mov dword [ebx + 0x2c], ecx
jmp 0x46d517
cmp ecx, dword [ebx + 0x30]
jle 0x46d517
mov dword [ebx + 0x30], ecx
cmp ebp, dword [ebx + 0x2c]
jge 0x46d521
mov dword [ebx + 0x2c], ebp
jmp 0x46d529
cmp ebp, dword [ebx + 0x30]
jle 0x46d529
mov dword [ebx + 0x30], ebp
mov esi, dword [edi + 8]
mov edx, dword [edi + 0xc]
lea eax, [esi + 1]
mov dword [edi + 8], eax
shr eax, 0xc
inc eax
cmp eax, edx
je 0x46d549
push eax
mov ecx, edi
call fcn.00435130
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 0x14]
mov eax, esi
and esi, 0xfff
imul esi, dword [edi + 4]
shr eax, 0xc
mov edi, dword [edx + eax*4]
mov al, byte [ebx + 0x3c]
add esi, edi
test al, al
je 0x46d57c
mov ax, word [esp + 0x40]
mov word [esi], ax
mov word [esi + 2], cx
mov word [esi + 4], bp
jmp 0x46d708
mov edx, dword [esp + 0x40]
mov dword [esi], edx
mov dword [esi + 4], ecx
jmp 0x46d705
cmp eax, 0xffffffff
mov dword [esp + 0x24], ecx
jne 0x46d5a4
cmp ecx, ebp
jge 0x46d59c
mov dword [ebx + 0x2c], ecx
jmp 0x46d5c4
mov dword [ebx + 0x2c], ebp
mov dword [ebx + 0x30], ecx
jmp 0x46d5c7
cmp ecx, eax
jge 0x46d5ad
mov dword [ebx + 0x2c], ecx
jmp 0x46d5b5
cmp ecx, dword [ebx + 0x30]
jle 0x46d5b5
mov dword [ebx + 0x30], ecx
cmp ebp, dword [ebx + 0x2c]
jge 0x46d5bf
mov dword [ebx + 0x2c], ebp
jmp 0x46d5c7
cmp ebp, dword [ebx + 0x30]
jle 0x46d5c7
mov dword [ebx + 0x30], ebp
mov eax, dword [esp + 0x40]
cmp eax, dword [ebx + 0x2c]
jge 0x46d5d5
mov dword [ebx + 0x2c], eax
jmp 0x46d5dd
cmp eax, dword [ebx + 0x30]
jle 0x46d5dd
mov dword [ebx + 0x30], eax
mov esi, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x20]
lea edi, [ebx + 0x14]
lea eax, [esi + 1]
mov dword [edi + 8], eax
shr eax, 0xc
inc eax
cmp eax, edx
je 0x46d600
push eax
mov ecx, edi
call fcn.00435130
mov ecx, dword [esp + 0x24]
mov edx, dword [edi + 0x14]
mov eax, esi
and esi, 0xfff
imul esi, dword [edi + 4]
shr eax, 0xc
mov edi, dword [edx + eax*4]
mov al, byte [ebx + 0x3c]
add esi, edi
test al, al
je 0x46d633
mov ax, word [esp + 0x40]
mov word [esi], cx
mov word [esi + 2], bp
mov word [esi + 4], ax
jmp 0x46d708
mov dword [esi], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 4], ebp
mov dword [esi + 8], ecx
jmp 0x46d708
test al, al
je 0x46d708
mov eax, dword [ebx + 0x2c]
cmp eax, 0xffffffff
mov ecx, dword [ecx + 0x78]
mov dword [esp + 0x24], ecx
jne 0x46d670
mov eax, dword [esp + 0x40]
cmp ecx, eax
jge 0x46d668
mov dword [ebx + 0x2c], ecx
jmp 0x46d694
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], ecx
jmp 0x46d697
cmp ecx, eax
jge 0x46d679
mov dword [ebx + 0x2c], ecx
jmp 0x46d681
cmp ecx, dword [ebx + 0x30]
jle 0x46d681
mov dword [ebx + 0x30], ecx
mov eax, dword [esp + 0x40]
cmp eax, dword [ebx + 0x2c]
jge 0x46d68f
mov dword [ebx + 0x2c], eax
jmp 0x46d697
cmp eax, dword [ebx + 0x30]
jle 0x46d697
mov dword [ebx + 0x30], eax
cmp ebp, dword [ebx + 0x2c]
jge 0x46d6a1
mov dword [ebx + 0x2c], ebp
jmp 0x46d6a9
cmp ebp, dword [ebx + 0x30]
jle 0x46d6a9
mov dword [ebx + 0x30], ebp
mov esi, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x20]
lea edi, [ebx + 0x14]
lea eax, [esi + 1]
mov dword [edi + 8], eax
shr eax, 0xc
inc eax
cmp eax, edx
je 0x46d6cc
push eax
mov ecx, edi
call fcn.00435130
mov ecx, dword [esp + 0x24]
mov eax, dword [edi + 0x14]
mov edx, esi
and esi, 0xfff
imul esi, dword [edi + 4]
shr edx, 0xc
mov edi, dword [eax + edx*4]
mov al, byte [ebx + 0x3c]
add esi, edi
test al, al
je 0x46d6fc
mov word [esi], cx
mov cx, word [esp + 0x40]
mov word [esi + 2], cx
mov word [esi + 4], bp
jmp 0x46d708
mov edx, dword [esp + 0x40]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov dword [esi + 8], ebp
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 2
mov dword [esp + 0x10], eax
jl 0x46cd27
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8