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

Disassembly:
sub esp, 0xe8
push ebx
mov ebx, ecx
push ebp
xor ebp, ebp
mov eax, dword [ebx + 4]
push esi
cmp eax, ebp
push edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
jge 0x436918
mov dword [ebx + 4], 1
mov al, byte [ebx + 0x24]
test al, al
je 0x43693c
mov eax, dword [ebx + 0x228]
mov ecx, dword [esp + 0xfc]
cdq
sub eax, edx
sar eax, 1
neg eax
add ecx, eax
mov dword [esp + 0xfc], ecx
fild dword [esp + 0xfc]
fdiv dword [ebx + 0x10]
call fcn.0043bcf6
movsx edi, word [ebx + 0x52]
mov dword [esp + 0x60], edi
mov esi, eax
fild dword [esp + 0x60]
fild dword [esp + 0x100]
mov dword [ebx + 0x210], esi
fdiv dword [ebx + 0x10]
fsubp st(1)
call fcn.0043bcf6
mov ecx, eax
test esi, esi
mov dword [ebx + 0x214], ecx
jl 0x4375be
test ecx, ecx
jl 0x4375be
mov al, byte [ebx + 0x24]
test al, al
movsx eax, word [ebx + 0x50]
je 0x4369aa
cdq
sub eax, edx
sar eax, 1
cmp esi, eax
jge 0x4375be
cmp ecx, edi
jge 0x4375be
jmp 0x4369ba
cmp esi, eax
jge 0x4375be
cmp ecx, edi
jge 0x4375be
cmp esi, dword [ebx + 0x218]
jne 0x4369e6
cmp ecx, dword [ebx + 0x21c]
jne 0x4369e6
movsx ecx, word [ebx + 0x210]
movsx esi, word [ebx + 0x214]
mov dword [ebx + 0x218], ecx
mov dword [ebx + 0x21c], esi
jmp 0x436a05
movsx ecx, word [ebx + 0x210]
movsx esi, word [ebx + 0x214]
mov dword [ebx + 0x218], ecx
mov dword [ebx + 0x21c], esi
mov ebp, 1
mov eax, dword [ebx + 4]
mov edi, 2
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x436a22
cmp bp, di
jge 0x436a8d
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x60]
imul edx, esi
imul eax, ecx
mov ecx, dword [ebx + 0x38]
add edx, eax
add edx, dword [ecx]
mov dword [ebx + 0x74], edx
mov cx, word [ebx + 0x5c]
cmp cx, di
mov eax, edx
jle 0x436a4d
movzx dx, byte [eax]
mov word [esp + 0x3c], dx
inc eax
cmp cx, 1
jle 0x436a5d
movzx dx, byte [eax]
mov word [esp + 0x40], dx
inc eax
test cx, cx
jle 0x436a6b
movzx dx, byte [eax]
mov word [esp + 0x44], dx
cmp cx, 3
jle 0x436a7b
movzx ax, byte [eax + 1]
mov word [esp + 0x30], ax
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
jmp 0x436a9d
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x48]
mov ebp, dword [esp + 0x24]
cmp dword [ebx + 0xc], edi
je 0x436abe
mov eax, dword [ebx + 0x20c]
mov dword [esp + 0x74], eax
mov word [eax + 4], si
mov word [eax + 6], dx
mov word [eax + 8], cx
mov word [eax + 0xa], bp
jmp 0x436ac2
mov eax, dword [esp + 0x74]
cmp dword [ebx + 0xc], edi
jne 0x436ad4
mov ecx, dword [ebx + 0x20c]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x74], eax
movsx edx, word [ebx + 0x52]
test eax, eax
mov dword [esp + 0x98], edx
je 0x4375be
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x48]
mov ebp, dword [esp + 0x48]
mov eax, dword [esp + 0x74]
mov cx, word [eax + 4]
mov dx, word [eax + 6]
mov word [esp + 0x80], cx
mov cx, word [eax + 8]
mov word [esp + 0x84], dx
mov dx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
mov word [esp + 0x88], dx
mov dword [esp + 0x74], eax
mov ax, word [ebx + 4]
neg ax
movsx edx, ax
mov word [esp + 0x7c], cx
mov ecx, dword [ebx + 4]
cmp edx, ecx
mov dword [esp + 0x90], eax
mov dword [esp + 0x60], edx
jge 0x4375ac
mov dx, word [ebx + 0x214]
add dx, ax
test dx, dx
mov dword [esp + 0x5c], edx
jl 0x437592
cmp dx, word [ebx + 0x52]
jge 0x437592
mov eax, dword [esp + 0x60]
imul eax, dword [esp + 0x98]
cdq
idiv ecx
mov edx, dword [esp + 0x98]
add eax, edx
mov edx, dword [ebx + 0x234]
shl eax, 1
mov dword [esp + 0x24], eax
movsx eax, word [edx + eax]
imul eax, ecx
mov ecx, dword [esp + 0x98]
cdq
idiv ecx
mov dx, word [ebx + 0x210]
add eax, edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x60], eax
mov eax, dword [ebx + 0x230]
movsx eax, word [eax + edx]
imul eax, dword [ebx + 4]
cdq
idiv ecx
mov cx, word [ebx + 0x210]
add eax, ecx
cmp ax, word [esp + 0x60]
mov dword [esp + 0x8c], eax
jg 0x43758b
test ax, ax
jl 0x437578
cmp ax, word [ebx + 0x50]
jge 0x437578
mov dx, ax
sub dx, word [ebx + 0x210]
test dx, dx
jge 0x436c02
neg edx
mov cx, word [esp + 0x5c]
sub cx, word [ebx + 0x214]
test cx, cx
jge 0x436c15
neg ecx
movsx ecx, cx
movsx edx, dx
mov dword [esp + 0x24], ecx
mov ecx, dword [ebx + 0x64]
fild dword [esp + 0x24]
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
movsx edx, ax
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
movsx eax, word [esp + 0x5c]
faddp st(1)
imul ecx, eax
fsqrt
mov eax, dword [ebx + 0x60]
mov dword [esp + 0x18], edx
imul eax, edx
fstp st(2)
fstp st(0)
add ecx, eax
mov eax, dword [ebx + 0x38]
add ecx, dword [eax]
mov dword [ebx + 0x74], ecx
mov ax, word [ebx + 0x5c]
cmp ax, 2
mov dword [esp + 0x14], ecx
jle 0x436c7d
movzx cx, byte [ecx]
mov word [esp + 0x3c], cx
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
cmp ax, 1
jle 0x436c95
movzx cx, byte [ecx]
mov word [esp + 0x40], cx
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
test ax, ax
jle 0x436ca7
movzx cx, byte [ecx]
mov word [esp + 0x44], cx
mov ecx, dword [esp + 0x14]
cmp ax, 3
jle 0x436cb7
movzx ax, byte [ecx + 1]
mov word [esp + 0x30], ax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov dword [esp + 0x50], ecx
movsx eax, word [esp + 0x5c]
mov ecx, dword [ebx + 0x154]
imul ecx, eax
mov eax, dword [ebx + 0x150]
imul eax, edx
add ecx, eax
mov eax, dword [ebx + 0x128]
add ecx, dword [eax]
mov dword [ebx + 0x164], ecx
mov ax, word [ebx + 0x14c]
cmp ax, 2
mov dword [esp + 0x10], ecx
jle 0x436d21
movzx cx, byte [ecx]
mov word [esp + 0x3c], cx
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
cmp ax, 1
jle 0x436d39
movzx cx, byte [ecx]
mov word [esp + 0x40], cx
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
test ax, ax
jle 0x436d4b
movzx cx, byte [ecx]
mov word [esp + 0x44], cx
mov ecx, dword [esp + 0x10]
cmp ax, 3
jle 0x436d5b
movzx ax, byte [ecx + 1]
mov word [esp + 0x30], ax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x64], eax
mov dword [esp + 0x70], ecx
movsx eax, word [esp + 0x5c]
mov ecx, dword [ebx + 0xb4]
imul ecx, eax
mov eax, dword [ebx + 0xb0]
imul eax, edx
add ecx, eax
mov eax, dword [ebx + 0x88]
add ecx, dword [eax]
mov dword [ebx + 0xc4], ecx
mov ax, word [ebx + 0xac]
cmp ax, 2
jle 0x436dbd
movzx dx, byte [ecx]
mov word [esp + 0x3c], dx
mov edx, dword [esp + 0x18]
inc ecx
cmp ax, 1
jle 0x436dd1
movzx dx, byte [ecx]
mov word [esp + 0x40], dx
mov edx, dword [esp + 0x18]
inc ecx
test ax, ax
jle 0x436de3
movzx dx, byte [ecx]
mov word [esp + 0x44], dx
mov edx, dword [esp + 0x18]
cmp ax, 3
jle 0x436df3
movzx ax, byte [ecx + 1]
mov word [esp + 0x30], ax
movsx eax, word [esp + 0x5c]
mov ecx, dword [ebx + 0x1a4]
imul ecx, eax
mov eax, dword [ebx + 0x1a0]
imul eax, edx
add ecx, eax
mov eax, dword [ebx + 0x178]
add ecx, dword [eax]
xor eax, eax
mov dword [ebx + 0x1b4], ecx
cmp word [ebx + 0x1e0], 0
mov al, byte [ecx]
mov dword [esp + 0x48], eax
jle 0x436e72
cmp word [ebx + 0x1e2], 0
jle 0x436e72
mov cx, word [ebx + 0x1e2]
sub cx, word [esp + 0x5c]
dec ecx
movsx eax, cx
mov ecx, dword [ebx + 0x1f0]
imul eax, dword [ebx + 0x1f4]
imul ecx, edx
mov edx, dword [ebx + 0x1c8]
add eax, ecx
add eax, dword [edx]
mov dword [ebx + 0x204], eax
mov ecx, eax
xor eax, eax
mov al, byte [ecx]
mov dword [esp + 0x24], eax
jmp 0x436e7a
mov dword [esp + 0x24], 0
mov ecx, dword [ebx + 4]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fld st(0)
fmul qword [0x441a18]
fstp qword [esp + 0xa0]
fld st(1)
fcomp qword [esp + 0xa0]
fnstsw ax
test ah, 1
je 0x436eac
fstp st(0)
fstp st(0)
xor eax, eax
jmp 0x436ef8
fld st(0)
fmul qword [0x4437e0]
fld st(2)
fcompp
fnstsw ax
test ah, 1
je 0x436ece
fstp st(0)
fsub qword [esp + 0xa0]
fld st(0)
fmul st(1)
jmp 0x436eed
mov eax, dword [esp + 0x10]
mov edx, eax
imul edx, eax
fsubrp st(1)
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fmul qword [0x4437d8]
fld st(1)
fmul st(2)
fsubp st(1)
call fcn.0043bcf6
mov ecx, dword [esp + 0x10]
fstp st(0)
shl eax, 3
cdq
idiv ecx
mov edx, eax
mov eax, ecx
sub eax, edx
mov dword [esp + 0xa0], edx
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0xc]
cmp eax, 3
jne 0x436faf
cmp dword [ebx + 0xac], 4
jne 0x436f2e
mov dword [esp + 0x10], 0
jmp 0x436f46
mov eax, edx
shl eax, 8
sub eax, edx
movsx edx, word [esp + 0x28]
add eax, edx
cdq
idiv ecx
movsx eax, ax
mov dword [esp + 0x10], eax
movsx eax, word [esp + 0x58]
imul eax, dword [esp + 0x18]
movsx edx, word [esp + 0x28]
add eax, edx
cdq
idiv ecx
movsx edx, word [esp + 0x28]
mov dword [esp + 0x34], eax
movsx eax, word [esp + 0x54]
imul eax, dword [esp + 0x18]
add eax, edx
cdq
idiv ecx
movsx edx, word [esp + 0x28]
mov dword [esp + 0x38], eax
movsx eax, word [esp + 0x50]
imul eax, dword [esp + 0x18]
add eax, edx
cdq
idiv ecx
movsx edx, word [esp + 0x28]
mov dword [esp + 0x2c], eax
movsx eax, word [esp + 0x14]
imul eax, dword [esp + 0x18]
add eax, edx
cdq
idiv ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
jmp 0x43726d
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0xd0]
lea edx, [esp + 0xa8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x68], edx
xor eax, eax
inc eax
mov dword [esp + 0x94], eax
movsx eax, ax
dec eax
cmp eax, 9
ja case.default.0x436fe0
jmp dword [eax*4 + 0x4375cc]
movsx edi, word [esp + 0x14]
movsx esi, word [esp + 0x88]
movsx ebp, word [esp + 0x64]
jmp case.default.0x436fe0
movsx edi, word [esp + 0x50]
movsx esi, word [esp + 0x7c]
movsx ebp, word [esp + 0x70]
jmp case.default.0x436fe0
movsx edi, word [esp + 0x54]
movsx esi, word [esp + 0x84]
movsx ebp, word [esp + 0x6c]
jmp case.default.0x436fe0
movsx edi, word [esp + 0x58]
movsx esi, word [esp + 0x80]
movsx ebp, cx
jmp case.default.0x436fe0
movsx edi, word [esp + 0x14]
movsx edx, word [esp + 0x50]
movsx esi, word [esp + 0x88]
movsx ebp, word [esp + 0x64]
sub edi, edx
movsx edx, word [esp + 0x7c]
sub esi, edx
movsx edx, word [esp + 0x70]
jmp 0x437129
movsx edi, word [esp + 0x14]
movsx edx, word [esp + 0x54]
movsx esi, word [esp + 0x88]
movsx ebp, word [esp + 0x64]
sub edi, edx
movsx edx, word [esp + 0x84]
sub esi, edx
movsx edx, word [esp + 0x6c]
jmp 0x437129
movsx edi, word [esp + 0x14]
movsx edx, word [esp + 0x58]
movsx esi, word [esp + 0x88]
movsx ebp, word [esp + 0x64]
sub edi, edx
movsx edx, word [esp + 0x80]
sub esi, edx
jmp 0x437126
movsx edi, word [esp + 0x50]
movsx edx, word [esp + 0x54]
movsx esi, word [esp + 0x7c]
movsx ebp, word [esp + 0x70]
sub edi, edx
movsx edx, word [esp + 0x84]
sub esi, edx
movsx edx, word [esp + 0x6c]
jmp 0x437129
movsx edi, word [esp + 0x50]
movsx edx, word [esp + 0x58]
movsx esi, word [esp + 0x7c]
movsx ebp, word [esp + 0x70]
sub edi, edx
movsx edx, word [esp + 0x80]
sub esi, edx
jmp 0x437126
movsx edi, word [esp + 0x54]
movsx edx, word [esp + 0x58]
movsx esi, word [esp + 0x84]
movsx ebp, word [esp + 0x6c]
sub edi, edx
movsx edx, word [esp + 0x80]
sub esi, edx
movsx edx, cx
sub ebp, edx
mov eax, edi
mov edx, ebp
sub eax, esi
sub edx, esi
mov dword [esp + 0x9c], edx
mov ecx, edx
jns 0x437147
neg edx
mov dword [esp + 0x9c], edx
test eax, eax
jne 0x437151
mov dword [esp + 0x4c], eax
jmp 0x437170
test edx, edx
jne 0x43715f
mov dword [esp + 0x4c], 0xff
jmp 0x437170
shl eax, 8
cdq
idiv ecx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x78]
mov dword [eax], edx
mov edx, dword [esp + 0x4c]
add eax, 4
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x1c]
mov dword [eax], edx
add eax, 4
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x94]
cmp ax, 0xa
jl 0x436fcb
lea edx, [esp + 0xa8]
or ecx, 0xffffffff
mov dword [esp + 0x1c], 6
mov eax, dword [edx]
cmp eax, ecx
jl 0x4371bd
mov ecx, eax
mov eax, dword [esp + 0x1c]
add edx, 4
dec eax
mov dword [esp + 0x1c], eax
jne 0x4371b5
sar ecx, 1
mov dword [esp + 0x94], ecx
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x68], 0xa
mov edx, dword [esp + ecx + 0xa8]
sub edx, dword [esp + 0x94]
test edx, edx
jle 0x437214
mov ecx, dword [esp + ecx + 0xd0]
imul ecx, edx
add eax, ecx
mov ecx, dword [esp + 0x4c]
add ecx, edx
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x68]
add ecx, 4
dec edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x68], edx
jne 0x4371e8
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x437240
cdq
idiv ecx
test eax, eax
jge 0x437239
xor eax, eax
jmp 0x437245
cmp eax, 0xff
jle 0x437245
mov eax, 0xff
mov ecx, dword [esp + 0xa0]
movsx edx, ax
imul edx, dword [esp + 0x18]
mov eax, ecx
shl eax, 8
sub eax, ecx
movsx ecx, word [esp + 0x28]
add ecx, edx
add eax, ecx
cdq
idiv dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x48]
cmp ecx, eax
jge 0x43727d
mov eax, ecx
mov dword [esp + 0x10], eax
jmp 0x437297
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jge 0x43728f
mov edx, dword [ebx + 0x1b4]
mov byte [edx], cl
jmp 0x437297
mov ecx, dword [ebx + 0x1b4]
mov byte [ecx], al
cmp dword [ebx + 0xc], 3
je 0x43742a
movsx edx, word [esp + 0x78]
movsx ecx, word [esp + 0x58]
imul edx, eax
mov eax, ecx
shl eax, 8
sub eax, ecx
sub eax, edx
add eax, 0x80
cdq
and edx, 0xff
add eax, edx
sar eax, 8
test ax, ax
mov dword [esp + 0x34], eax
jge 0x4372db
mov dword [esp + 0x34], 0
jmp 0x4372e9
cmp ax, 0xff
jle 0x4372e9
mov dword [esp + 0x34], 0xff
movsx edx, word [esp + 0x6c]
imul edx, dword [esp + 0x10]
movsx ecx, word [esp + 0x54]
mov eax, ecx
shl eax, 8
sub eax, ecx
sub eax, edx
add eax, 0x80
cdq
and edx, 0xff
add eax, edx
sar eax, 8
test ax, ax
mov dword [esp + 0x38], eax
jge 0x437325
mov dword [esp + 0x38], 0
jmp 0x437333
cmp ax, 0xff
jle 0x437333
mov dword [esp + 0x38], 0xff
movsx edx, word [esp + 0x70]
imul edx, dword [esp + 0x10]
movsx ecx, word [esp + 0x50]
mov eax, ecx
shl eax, 8
sub eax, ecx
sub eax, edx
add eax, 0x80
cdq
and edx, 0xff
add eax, edx
sar eax, 8
test ax, ax
mov dword [esp + 0x2c], eax
jge 0x43736f
mov dword [esp + 0x2c], 0
jmp 0x43737d
cmp ax, 0xff
jle 0x43737d
mov dword [esp + 0x2c], 0xff
movsx edx, word [esp + 0x64]
imul edx, dword [esp + 0x10]
movsx ecx, word [esp + 0x14]
mov eax, ecx
shl eax, 8
sub eax, ecx
sub eax, edx
add eax, 0x80
cdq
and edx, 0xff
add eax, edx
sar eax, 8
test ax, ax
mov dword [esp + 0x20], eax
jge 0x4373b9
mov dword [esp + 0x20], 0
jmp 0x4373c7
cmp ax, 0xff
jle 0x4373c7
mov dword [esp + 0x20], 0xff
movsx eax, word [esp + 0x34]
imul eax, dword [esp + 0x18]
movsx edx, word [esp + 0x28]
mov ecx, dword [ebx + 4]
add eax, edx
cdq
idiv ecx
movsx edx, word [esp + 0x28]
mov dword [esp + 0x34], eax
movsx eax, word [esp + 0x38]
imul eax, dword [esp + 0x18]
add eax, edx
cdq
idiv ecx
movsx edx, word [esp + 0x28]
mov dword [esp + 0x38], eax
movsx eax, word [esp + 0x2c]
imul eax, dword [esp + 0x18]
add eax, edx
cdq
idiv ecx
movsx edx, word [esp + 0x28]
mov dword [esp + 0x2c], eax
movsx eax, word [esp + 0x20]
imul eax, dword [esp + 0x18]
add eax, edx
cdq
idiv ecx
mov dword [esp + 0x20], eax
cmp dword [ebx + 0xac], 4
jne 0x437451
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], edx
jmp 0x4374b1
mov eax, dword [esp + 0x3c]
movsx ecx, word [esp + 0x34]
mov edx, eax
and edx, 0xffff
cmp edx, ecx
jle 0x43746a
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
movsx ecx, word [esp + 0x38]
mov edx, eax
and edx, 0xffff
cmp edx, ecx
jle 0x437483
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
movsx ecx, word [esp + 0x2c]
mov edx, eax
and edx, 0xffff
cmp edx, ecx
jle 0x43749c
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
movsx ecx, word [esp + 0x20]
mov edx, eax
and edx, 0xffff
cmp edx, ecx
jle 0x4374b5
mov dword [esp + 0x20], eax
mov cx, word [ebx + 0xac]
mov eax, dword [ebx + 0xc4]
cmp cx, 2
jle 0x4374cf
mov dl, byte [esp + 0x34]
mov byte [eax], dl
inc eax
cmp cx, 1
jle 0x4374dc
mov dl, byte [esp + 0x38]
mov byte [eax], dl
inc eax
test cx, cx
jle 0x4374e7
mov dl, byte [esp + 0x2c]
mov byte [eax], dl
cmp cx, 3
jle 0x4374f4
mov cl, byte [esp + 0x20]
mov byte [eax + 1], cl
mov eax, dword [ebx + 0x14]
test eax, eax
jge 0x437571
movsx eax, word [esp + 0x5c]
mov edx, dword [ebx + 0x104]
mov ecx, dword [ebx + 0x100]
imul edx, eax
movsx eax, word [esp + 0x8c]
imul ecx, eax
mov eax, dword [ebx + 0xd8]
add edx, ecx
add edx, dword [eax]
mov dword [ebx + 0x114], edx
mov cx, word [ebx + 0xfc]
cmp cx, 2
mov eax, edx
jle 0x437543
movzx dx, byte [eax]
mov word [esp + 0x3c], dx
inc eax
cmp cx, 1
jle 0x437553
movzx dx, byte [eax]
mov word [esp + 0x40], dx
inc eax
test cx, cx
jle 0x437561
movzx dx, byte [eax]
mov word [esp + 0x44], dx
cmp cx, 3
jle 0x437571
movzx ax, byte [eax + 1]
mov word [esp + 0x30], ax
mov eax, dword [esp + 0x8c]
inc eax
cmp ax, word [esp + 0x60]
mov dword [esp + 0x8c], eax
jle 0x436bde
mov eax, dword [esp + 0x90]
mov ecx, dword [ebx + 4]
inc eax
movsx edx, ax
cmp edx, ecx
mov dword [esp + 0x90], eax
mov dword [esp + 0x60], edx
jl 0x436b4b
cmp dword [ebx + 0xc], 2
jne 0x4375be
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x436af7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe8
ret 8